Update Invoice

PUT /api/.../invoices/{id}

Update invoice.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the Invoice.
dtoInvoiceUpdateInfo Invoice Yes Define this parameter in the request body.
DtoInvoiceUpdateInfo
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
Example
application/json, text/json
 {
  "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
}

Response Information

True is returned upon success.

Example
application/json, text/json
true

HTTP Response Codes

Code Description
200 OK. Success
404 Not Found.