PUT /sale-invoices/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
accountingIntegrationExternalId boolean | null
Accounting integration external
accountingProblem object | null | array | boolean | integer | number | string
Any of: Accounting problem
Accounting problem
Accounting problem
Accounting problem
Accounting problem
Accounting problem
-
createdAt string(date-time) | null
Created at
-
externalId string | null
External
-
Finalized
Default value is
false
. -
id integer(int32)
Id
-
Paid
Default value is
0
. -
Payment status
Values are
notPaid
,partiallyPaid
, orpaid
. Default value isnotPaid
. -
quickbooksId string | null
Quickbooks
-
Reference
-
Sale
-
updatedAt string(date-time) | null
Updated at
-
xeroId string | null
Xero
PUT
/sale-invoices/{id}.json
curl \
-X PUT http://api.example.com/v1/sale-invoices/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"accountingIntegrationExternalId":true,"accountingProblem":{},"createdAt":"2024-05-04T09:42:00+00:00","externalId":"string","finalized":false,"id":42,"paid":0,"paymentStatus":"notPaid","quickbooksId":"string","reference":"string","saleId":42,"updatedAt":"2024-05-04T09:42:00+00:00","xeroId":"string"}'
Request example
{
"accountingIntegrationExternalId": true,
"accountingProblem": {},
"createdAt": "2024-05-04T09:42:00+00:00",
"externalId": "string",
"finalized": false,
"id": 42,
"paid": 0,
"paymentStatus": "notPaid",
"quickbooksId": "string",
"reference": "string",
"saleId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"xeroId": "string"
}