latestOpenAPI 3.0.32026-07-24770565.1 KB

884e0cb47e4a

Compras y gastos electrónicos

Emitir Comprobante para Pagos al Exterior Electrónico (47)

Emitir Comprobante para Pagos al Exterior Electrónico (47)

post/payment-abroad-supports

Request body

Example request

{
  "company": {
    "id": "01FVJ1528AQRBC7D6K2TGVE5S5"
  },
  "idDoc": {
    "encf": "E470000000005",
    "sequenceDueDate": "1990-12-31",
    "paymentDeadline": "1990-12-31",
    "paymentTerm": "72 horas",
    "paymentFormsTable": [
      {
        "paymentAmount": 24300
      }
    ],
    "bankPayment": "Banco estatal",
    "dateFrom": "1990-12-31",
    "dateUntil": "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",
    "stampDate": "1990-12-31"
  },
  "buyer": {
    "foreignIdentifier": "A125451008",
    "companyName": "Su compañía"
  },
  "transport": {
    "destinationCountry": "China"
  },
  "totals": {
    "exemptAmount": 1000,
    "totalAmount": 88757.68,
    "amountPeriod": 88757.68,
    "previousBalance": 88757.68,
    "amountAdvancePayment": 88757.68,
    "payValue": 2000,
    "isrTotalRetention": 2000
  },
  "otherCurrency": {
    "currencyType": "USD",
    "exchangeRate": 100.8,
    "exemptAmountOtherCurrency": 2000,
    "totalAmountOtherCurrency": 24300
  },
  "itemDetails": [
    {
      "lineNumber": 1,
      "itemCodeTable": [
        {
          "codeType": "Interna",
          "itemCode": "A001212"
        }
      ],
      "retention": {
        "isrAmountWithheld": 24300
      },
      "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,
      "itbis1SubTotal": 24300,
      "itbis2SubTotal": 24300,
      "itbis3SubTotal": 24300,
      "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 del Comprobante para Pagos al Exterior Electrónico

Schema required— unresolved $ref