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
| Field | Type | Description | Validations |
|---|---|---|---|
erp_voucher_id | String | Voucher ID in ERP | Must exist in Vouchers |
erp_invoice_id | String | Invoice ID in ERP | Must exist in Invoices |
amount | Float | Payment amount | Positive decimal |
currency | String | Payment currency | Must match invoice currency |
payment_method | String | Payment method | e.g., cash, transfer, check, card |
Optional Fields
| Field | Type | Description | Default |
|---|---|---|---|
erp_cost_center_id | String | Cost center for payment | null |
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