Get one of an organization's issued invoices
GET/organizations/:organization_id/invoices/:invoice_id
Gets a single invoice belonging to the given organization, its line items preloaded. A draft invoice is treated as not found so its existence never leaks to the client ahead of issuance; the same applies to an invoice that exists but belongs to a different organization.
Requires the caller's access token to carry the invoice:read ability and the caller to hold at least the org-admin role in the target organization (BillingPolicy.readOwnInvoices).
Request
Responses
- 200
- 400
- 401
- 404
The invoice
The organization ID or the invoice ID is not a valid integer
Caller lacks the invoice:read ability or is not at least an org admin in this organization
The invoice does not exist, belongs to a different organization, or is still a draft