POST /invoices/payments
Changed onCreates an individual invoice payment for a business.
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Request body
Example request
{
"connection": {
"businessName": "Railz",
"serviceName": "quickbooks"
},
"data": {
"accountRef": "132",
"customerRef": "250",
"invoiceRef": "250",
"totalAmount": 200.5,
"currency": "CAD",
"currencyRate": 1.13,
"lines": [
{
"invoiceRef": "3n2",
"memo": "Sample memo for transaction"
}
],
"date": "2021-03-29",
"memo": "Invoice payment memo."
}
}Response
Example response
{
"pushCommunicationId": "60473b57f0cdd1683ca71f60",
"requestedOn": "2021-03-09T08:15:22.035Z",
"status": "pending",
"businessName": "Railz",
"serviceName": "quickbooks",
"data": {
"accountRef": "132",
"customerRef": "250",
"invoiceRef": "250",
"totalAmount": 200.5,
"currency": "CAD",
"currencyRate": 1.13,
"lines": [
{
"invoiceRef": "3n2",
"memo": "Sample memo for transaction"
}
],
"date": "2021-03-29",
"memo": "Invoice payment memo."
}
}Changes
- info
api tag
Invoiceadded
- info
- breaking
the
/request property format changed fromdate-timetodate - breaking
the response property
/////became optional for the status - breaking
the response property
/////became optional for the status - breaking
the response property
///////became optional for the status - breaking
the
response's property format changed fromuuidto no format for status - warning
added the new
byodenum value to theresponse property for the response status - warning
added the new
dynamics365Financeenum value to theresponse property for the response status - warning
added the new
dynamicsBusinessCentralenum value to theresponse property for the response status - warning
added the new
freshbooksenum value to theresponse property for the response status - warning
added the new
myobenum value to theresponse property for the response status - warning
added the new
oracleNetsuiteenum value to theresponse property for the response status - warning
added the new
quickbooksenum value to theresponse property for the response status - warning
added the new
quickbooksDesktopenum value to theresponse property for the response status - warning
added the new
sageBusinessCloudenum value to theresponse property for the response status - warning
added the new
sageIntacctenum value to theresponse property for the response status - warning
added the new
waveenum value to theresponse property for the response status - warning
added the new
xeroenum value to theresponse property for the response status - warning
added the new
zohoBooksenum value to theresponse property for the response status - info
the request property
/became optional - info
the request property
/became optional - info
the request property
///became optional - info
request property
///deprecated - info
added the new
byodenum value to the request property/ - info
added the new
dynamics365Financeenum value to the request property/ - info
added the new
zohoBooksenum value to the request property/ - info
the
/request property format was generalized fromuuidto no format - info
response property
data/allOf[PushInvoicePayment]/lines/items/invoiceRefdeprecated
- breaking