GET
/
invoices
/
{id}
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/company/invoices/{id} \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "number": "<string>",
  "date": "2023-12-25",
  "total": 123,
  "total_incl_tax": 123,
  "tax_rate": 123,
  "pdf_url": "<string>",
  "status": "draft",
  "promoter": {
    "id": 123,
    "email": "<string>",
    "name": "<string>"
  },
  "payouts": [
    {}
  ],
  "html": "<string>"
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Path Parameters

id
integer
required

Invoice ID

Response

200
application/json

Invoice details with HTML content

The response is of type object.