latestOpenAPI 3.0.32026-07-24770565.1 KB
884e0cb47e4a
Compras y gastos electrónicos
Emitir Gastos Menores Electrónico (43)
Emitir Gastos Menores Electrónico (43)
post/minor-expenses
Request body
Example request
{
"company": {
"id": "01FVJ1528AQRBC7D6K2TGVE5S5"
},
"idDoc": {
"encf": "E430000000005",
"sequenceDueDate": "1990-12-31",
"totalPages": 3
},
"sender": {
"rnc": "133109124",
"companyName": "Mi compañía",
"tradename": "Mi compañía S.A.",
"branchOffice": "Mi sucursal",
"address": "30 De Marzo 9 Sd",
"municipality": "020101",
"province": "020000",
"economicActivity": "Componenetes electrónicos",
"internalInvoiceNumber": "2023",
"internalOrderNumber": "202",
"additionalInformationIssuer": "Información adicional de emisor...",
"stampDate": "1990-12-31"
},
"totals": {
"exemptAmount": 1000,
"totalAmount": 88757.68,
"amountPeriod": 88757.68,
"previousBalance": 88757.68,
"amountAdvancePayment": 88757.68,
"payValue": 2000
},
"otherCurrency": {
"currencyType": "USD",
"exchangeRate": 100.8,
"exemptAmountOtherCurrency": 2000,
"totalAmountOtherCurrency": 24300
},
"itemDetails": [
{
"lineNumber": 1,
"itemCodeTable": [
{
"codeType": "Interna",
"itemCode": "A001212"
}
],
"itemName": "Caja de madera",
"itemDescription": "Fabricado con madera de arce canadience",
"quantityItem": 24300,
"unitPriceItem": 24300,
"otherCurrencyDetail": {
"priceOtherCurrency": 24300,
"discountOtherCurrency": 24300,
"surchargeAnotherCurrency": 24300,
"amountItemOtherCurrency": 24300
},
"itemAmount": 24300
}
],
"subtotals": [
{
"subTotalNumber": 1,
"subtotalDescription": "Subtotal 1",
"order": 1,
"subTotalExempt": 24300,
"subTotalAmount": 24300,
"lines": 1
}
],
"pagination": [
{
"pageNo": 1,
"noLineFrom": 1,
"noLineUntil": 1,
"exemptSubtotalPage": 24300,
"subtotalAmountPage": 24300
}
],
"informationReference": {
"rncOtherTaxpayer": "101212154",
"ncfModifiedDate": "1990-12-31",
"modificationCode": 4
},
"config": {
"pdf": {
"type": "generic",
"note": "Nota de prueba"
}
}
}Response
Éxito en la creación de Gastos Menores Electrónico
Schema required— unresolved $ref