Invoice

Create

Create a new Invoice record.

post/api/cp/invoice

Request body

idinteger

Id

account_idinteger

Account Id (references account.id)

invoice_idinteger

Invoice Id

company_idinteger

Company Id

to_addressstring

To Address

invoice_datestring date

Invoice Date

sentinteger required

Sent

external_idstring

External Id

Example request

{
  "id": 12345,
  "account_id": 1,
  "invoice_id": 1,
  "company_id": 1,
  "to_address": "example_to_address",
  "invoice_date": "2025-01-17T10:30:00Z",
  "sent": 1,
  "external_id": 1
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.