Invoice

Generate

Generate

post/api/cp/invoice/generate

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

{"stackTrail":"paths:/api/cp/invoice/generate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes