Expense
Replaces the Expense resource.
Replaces the Expense resource.
put/expenses/{id}
Path parameters
idstring required
Resource identifier
Request body
Example request
{
"id": "xero-70",
"integration": "quickbooks",
"srcId": "982000000030049",
"txnId": "9856",
"type": "expense",
"accountId": "1057",
"currency": "EUR",
"subtotal": 9000,
"totalAmount": 12000,
"referenceNumber": "782364",
"status": "Unbilled",
"invoiceId": "460000000028192",
"invoiceNumber": "INV-00003",
"modified": "2019-05-25T02:17:40.080Z",
"accountName": "Rent",
"created": "2019-05-22T02:17:40.080Z",
"accountCode": "4560",
"contactId": "23",
"contactName": "Cool Cars",
"contactType": "Vendor",
"paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
"date": "2019-05-22T02:17:40.080Z",
"taxAmount": 3000,
"description": "GPS rent",
"deleted": true
}Response
Expense resource updated
Example response
{
"id": "xero-70",
"integration": "quickbooks",
"srcId": "982000000030049",
"txnId": "9856",
"type": "expense",
"accountId": "1057",
"currency": "EUR",
"subtotal": 9000,
"totalAmount": 12000,
"referenceNumber": "782364",
"status": "Unbilled",
"invoiceId": "460000000028192",
"invoiceNumber": "INV-00003",
"modified": "2019-05-25T02:17:40.080Z",
"accountName": "Rent",
"created": "2019-05-22T02:17:40.080Z",
"accountCode": "4560",
"contactId": "23",
"contactName": "Cool Cars",
"contactType": "Vendor",
"paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d",
"date": "2019-05-22T02:17:40.080Z",
"taxAmount": 3000,
"description": "GPS rent",
"deleted": true
}