Invoice

Generate

post/api/cp/invoice/generate

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

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

unknown required

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API