Skip to content

Download Invoice

GET
/billing/invoices/{invoice_id}/download
curl --request GET \
--url https://api.mengi.cloud/billing/invoices/example/download

Download the MoneyBird invoice PDF.

The PDF is fetched through the MoneyBird API and streamed to the user. The invoice’s public MoneyBird URL is deliberately not used: it requires a per-invoice access code that MoneyBird only emails to the billing contact, which other org members don’t have.

invoice_id
required
Invoice Id
string
organization_id
Any of:
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}