Payments

Apply payments to invoices.


Individual payments applied to invoices.

Dependencies: Requires both Vouchers AND Invoices to be uploaded first.

⚠️ Important: When uploading payments for a voucher, you must include ALL payments associated with that voucher in the same file. Partial updates are not supported.

Endpoint

POST /full-csv-integration/upload-payments

  • Form Field: paymentsFile

Required Fields

FieldTypeDescriptionValidations
erp_voucher_idStringVoucher ID in ERPMust exist in Vouchers
erp_invoice_idStringInvoice ID in ERPMust exist in Invoices
amountFloatPayment amountPositive decimal
currencyStringPayment currencyMust match invoice currency
payment_methodStringPayment methode.g., cash, transfer, check, card

Optional Fields

FieldTypeDescriptionDefault
erp_cost_center_idStringCost center for paymentnull

Example CSV

erp_voucher_id,erp_invoice_id,amount,currency,payment_method,erp_cost_center_id
VCH001,INV001,500000.00,COP,transfer,CC001
VCH002,INV002,500000.00,COP,cash,CC002
VCH003,INV001,300000.00,COP,check,CC001