© 2024 Clarivate
PUT /api/.../invoices/{id}
Update invoice.
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the Invoice. |
dtoInvoiceUpdateInfo | Invoice | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
InvoiceID | Int | No | The unique id assigned to the Invoice. |
SupplierID | Int | Yes | The unique id assigned to the Supplier. |
PaymentMethodID | int | Yes | The unique id assigned to the Invoice Payment Method. |
InvoiceTypeID | int | Yes | The unique id assigned to the Invoice Type. |
DiscRate | Decimal | Yes | Discount Rate |
InvClosingAlertDate | Datetime | Yes | Invoice Closing Alert Date |
InvDate | Datetime | Yes | Invoice Date |
InvNote | String | Yes | Invoice Note |
InvNumber | String | Yes | Invoice number |
InvNumberSuf | String | Yes | Invoice number suffix |
InvReceiptDate | Datetime | Yes | Invoice Receipt Date |
InvTxMeth | String | Yes | Transmission method |
ModificationDate | DateTime | Yes | Modification date |
OrganizationID | Int | Yes | The unique id assigned to the Organization. |
MofifierID | Int | Yes | The unique id assigned to the Modifier. |
PaymentDueDate | Datetime | Yes | Payment Due date |
PlanName | string | Yes | Invoice Plan name |
ShippedDate | DateTime | Yes | Shipped Date |
SalesTaxRate1 | Decimal | Yes | Sales Tax |
{
"InvoiceID": 12345,
"SupplierID": 556,
"PaymentMethodID": 8,
"InvoiceTypeID": 5,
"DiscRate": 0.11,
"InvClosingAlertDate": null,
"InvDate": "2021-07-19T18:03:58.967Z",
"InvNote": "update invoice note",
"InvNumber": "11111111",
"InvNumberSuf": "",
"InvReceiptDate": null,
"InvTxMeth": "Electronic",
"ModificationDate": "2021-07-19T18:03:58.967Z",
"OrganizationID": 103,
"ModifierID": 1,
"PaymentDueDate": null,
"PlanName": "string",
"ShippedDate": null,
"SalesTaxRate1": 0
}
True is returned upon success.
true
Code | Description |
---|---|
200 | OK. Success |
404 | Not Found. |