Perform invoice action

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Customer Id

string
required

Invoice Id

Body Params

Invoice actions for sending an invoice. Validation rules:

  1. At least one of sendToErp or sendToCustomer must be true
  2. sendToErp can be true while sendToCustomer is false (push to ERP only)
  3. sendToCustomer can be true while sendToErp is false (email customer only; useful when no ERP is connected)
  4. If sendToErp is true but the merchant has no ERP integration connected, the request is rejected
  5. the field overrideInvoiceDate is optional
string
enum
required

Action to perform

Allowed:
boolean
required

Send the invoice to the ERP

boolean
required

Send the invoice to the customer

boolean

Override and update the invoice issue date to today. The due date will also be recalculated to preserve the original net payment terms. For example, if an invoice has Net 30 terms, the due date will be set to 30 days after today.

Responses

400

Invalid combination: at least one of sendToErp or sendToCustomer must be true, or sendToErp was requested but the merchant has no ERP integration connected

500

Internal server error

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json