cURL
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>" }
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Invoice ID
Invoice details with HTML content
The response is of type object.
object