Skip to main content
GET
/
invoices
/
{id}
Get invoice by 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

Invoice details with HTML content

id
integer
number
string
date
string<date>
total
number
total_incl_tax
number
tax_rate
number
pdf_url
string
status
enum<string>
Available options:
draft,
open,
paid,
voided
promoter
object
payouts
object[]
html
string
I