Skip to content

List invoices

GET/v1/invoices

Returns your 50 most recent invoices, newest first, each with its line items. Invoices are created for completed billing cycles.

Requires a verified email address.

Authentication

Send your API key as Authorization: Bearer <token>.

Response

200

Your invoices.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
uidstringRequired

Unique identifier of the invoice.

numberstringRequired

Sequential invoice number, INV-<year>-<sequence>.

statusstringRequired

issued when it is waiting to be paid from your wallet, paid once settled.

One ofdraftissuedpaidvoid

period_startstring (date-time)Required

Start of the billing period.

period_endstring (date-time)Required

End of the billing period.

issued_atstring (date-time)

When the invoice was issued. Omitted for drafts.

paid_atstring (date-time)

When the invoice was paid. Omitted while unpaid.

base_currencystringRequired

Currency of the _cents amounts. USD.

subtotal_net_centsintegerRequired

Total before tax, in US cents.

tax_total_centsintegerRequired

Tax, in US cents.

total_gross_centsintegerRequired

Total including tax, in US cents.

currencystringRequired

Currency you are billed in, NGN for Nigeria and USD otherwise.

exchange_ratenumberRequired

Rate used to convert US cents to currency minor units when the invoice was issued.

subtotal_net_minorintegerRequired

Total before tax, in currency minor units.

tax_total_minorintegerRequired

Tax, in currency minor units.

total_gross_minorintegerRequired

Total including tax, in currency minor units.

tax_typestringRequired

Type of tax applied. VAT.

tax_rate_bpsintegerRequired

Tax rate in basis points. 750 is 7.5%.

tax_reasonstringRequired

standard for customers in RumptyCloud's home country, zero_rated_export (0%) for customers elsewhere.

One ofstandardzero_rated_export

customer_namestring

Your username when the invoice was issued.

customer_emailstring

Your email address when the invoice was issued.

customer_countrystring

Your billing country when the invoice was issued.

customer_tax_idstring

Your tax ID when the invoice was issued. Omitted when you had none.

companyobjectRequired

The company issuing the invoice.

Show attributes
namestringRequired

Legal name of the issuer.

tax_idstring

The issuer's tax ID. Omitted when not configured.

addressstring

The issuer's address. Omitted when not configured.

linesarray of objectsRequired

The billed items.

Show item attributes
descriptionstringRequired

What the line is for.

resource_typestring

Resource type the line covers. Omitted when not applicable.

metricstring

What was measured, e.g. runtime or storage.

unitstring

Unit of quantity, e.g. hour or gb_month.

quantitynumberRequired

Quantity billed, in unit.

net_centsintegerRequired

Line total before tax, in US cents.

tax_centsintegerRequired

Tax on the line, in US cents.

tax_rate_bpsintegerRequired

Tax rate for the line, in basis points.

tax_typestringRequired

Type of tax. VAT.

tax_reasonstringRequired

Why this rate applies.

One ofstandardzero_rated_export

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403Your email address is not verified (action: verify_email), or your account is suspended for abuse (action: account_suspended).

Errors use the standard error format.