CoworkerInvoices
Update CoworkerInvoice
Update an existing CoworkerInvoice record.
PUT
Update CoworkerInvoice
Updates an existing CoworkerInvoice record. You must include theDocumentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerInvoice-Edit role.Enums
eStorecoveInvoiceStatus — StorecoveInvoiceStatus values
eStorecoveInvoiceStatus — StorecoveInvoiceStatus values
| Value | Name |
|---|---|
| 1 | None |
| 2 | TransferFailed |
| 3 | Processing |
| 4 | ProcessingFailed |
| 5 | Processed |
Request Body
Required Fields
The Id of the CoworkerInvoice record to update.
ID of the coworker linked to this record.
ID of the business linked to this record.
Unique invoice number assigned when the invoice is finalised.
Name of the person or company being billed.
Billing address on the invoice.
Billing city on the invoice.
Billing post code on the invoice.
ID of the bill to country linked to this record.
ID of the currency linked to this record.
Status of e-invoicing transfer via Storecove.
Optional Fields
Reference code used to match payments to this invoice.
Billing phone number on the invoice.
Billing fax number on the invoice.
Billing state or region on the invoice.
Bank account number on the invoice for payment.
Tax identification number of the billed party.
Customer purchase order number for this invoice.
Date by which payment is due.
Start date of the billing period covered by this invoice.
End date of the billing period covered by this invoice.
The transaction total amount value for this coworker invoice.
ID of the transaction currency linked to this record.
The transaction exchange rate value for this coworker invoice.
Whether the invoice is still a draft. Draft invoices can be modified before finalisation.
Date the invoice was marked as fully paid.
Whether billed is enabled.
Whether to skip automatic application of available credit to this invoice.
Date/time value for created on local.
Date/time value for due date local.
Date/time value for invoice from date local.
Date/time value for invoice to date local.
Date/time value for paid on local.
Date/time value for refunded on local.
Date/time value for last payment attempt local.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the update.
Contains the
Id of the updated record.true if the coworkerinvoice was updated successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Update CoworkerInvoice