curl --request GET \
--url https://dev-billing-api.iqraa.ai/api/v1/api/v1/invoices \
--header 'Authorization: Bearer <token>' \
--header 'X-Preferred-Language: <x-preferred-language>'{
"invoices": [
{
"id": "<string>",
"invoiceNumber": "<string>",
"date": "<string>",
"status": "DRAFT",
"amount": 123,
"currency": "<string>",
"description": "<string>",
"customerName": "<string>",
"customerEmail": "<string>",
"downloadLink": "<string>",
"planType": "<string>"
}
]
}Retrieve all invoices for the authenticated customer.
curl --request GET \
--url https://dev-billing-api.iqraa.ai/api/v1/api/v1/invoices \
--header 'Authorization: Bearer <token>' \
--header 'X-Preferred-Language: <x-preferred-language>'{
"invoices": [
{
"id": "<string>",
"invoiceNumber": "<string>",
"date": "<string>",
"status": "DRAFT",
"amount": 123,
"currency": "<string>",
"description": "<string>",
"customerName": "<string>",
"customerEmail": "<string>",
"downloadLink": "<string>",
"planType": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Language for invoice fields
ar, en List of invoices retrieved successfully
Show child attributes
DRAFT, FINALIZED, PAYMENT_FAILED, PAID, VOID