Billing
Invoices
Find invoice documents for paid credit top-ups and check their availability in QDivZero.
What is invoiced
Invoices in this section correspond to paid credit top-ups. Vouchers do not generate those invoices.
Open the document
Open Billing → Payments and locate the top-up. Review the subtotal, discounts, taxable base, taxes and total; open the document when available. If it is pending, try again later.
API example
List payments. Set QDIV0_PAYMENT_ID to an ID from the response to download its invoice when available.
Set QDIV0_USER_API_KEY to a personal uk_ key. The default account is used; for another account you belong to, add its identifier in the X-Account-ID header.
1curl --fail-with-body \
2 "https://api.qdiv0.com/v1/billing/payments" \
3 -H "Authorization: Bearer $QDIV0_USER_API_KEY"
4
5curl --fail-with-body \
6 "https://api.qdiv0.com/v1/billing/payments/$QDIV0_PAYMENT_ID/invoice.pdf" \
7 -H "Authorization: Bearer $QDIV0_USER_API_KEY" \
8 --output invoice.pdf