https://devapiacp3.axosnet.io/api/v1/InvoicePayment/SetPayment | Method POST |
JSON (Body) |
{
"documentId": 1750,
"transactionCode": "TEST003",
"amount": 3640,
"invoicePaymentType": "TOT",
//Options of INVOICEPAYMENTTYPE: TOT(Total), ANT(Anticipo), PAR(Parcialidad)
"currency": "MXN",
"exchangeRate": 0,
"paymentDate": "2024-06-07",
"reference": "IA-3939C",
"note": "TEST",
"paymentMethod": "CASH",
"user": "Admin"
}
Results:
Status Code | Message |
200 | The data was saved successfully. |
200 | Data could not be saved. |
400 | Data Error |
400 | The Application is not subscribed |
401 | unauthorized |
500 | Exception Message |