Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Invoices

An Invoice is one org's bill for one billing period: per-service meter lines, the plan fee, and late usage from earlier periods.

This method is not served on the public API. api.sylphx.com does not route this call: its backend is not deployed behind the public API, or does not implement the call. This page documents the contract. It is kept out of the sidebar and of search engines.

An Invoice is one org's bill for one billing period: per-service meter lines, the plan fee, and late usage from earlier periods. Finalization freezes it; a correction is a credit note, never an edit.

Service Sylphx Billing · Resource type billing.sylphx.com/Invoice · Name pattern orgs/{org}/invoices/{invoice} · Shape record

Not available yet. Sylphx Billing is declared in the registry but no backend serves it: every call answers 501 with the problem code UNIMPLEMENTED.

#Fields

FieldTypeWhat it is
namestringorgs/{org}/invoices/{invoice}.
uidstringinv_<cell><ulid>. Output only.
metaResourceMetaResource metadata. Output only.
numberstringThe human-readable invoice number, unique per org. Output only.
stateInvoiceStateThe invoice's lifecycle state. Output only. One of draft, open, paid, void, uncollectible.
currency_codestringISO 4217 currency of every amount. Output only.
period_start_timetimestampThe start of the billed period. Output only.
period_end_timetimestampThe end of the billed period. Output only.
linesInvoiceLine[]The lines, grouped by service. Output only.
subtotalMoneyThe sum of the rounded lines before tax. Output only.
taxMoneyTax. Output only.
totalMoneySubtotal plus tax. Output only.
amount_dueMoneyWhat is still owed. Output only.
amount_paidMoneyWhat has been paid, confirmed by provider readback. Output only.
finalize_timetimestampWhen the invoice was finalized. Output only.
due_timetimestampWhen payment is due. Output only.
paid_timetimestampWhen the invoice was paid in full. Output only.
completenessdoubleThe share of the period's usage that had reached Billing when the invoice was finalized, from 0 to 1; below 1 the invoice carries a note. Output only.
credit_notesCreditNote[]Credit notes issued against this invoice, oldest first. Output only.

#Methods

Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.

MethodCallWhat it does
GETgetGets an invoice.
GETlistLists an org's invoices.

#get

Gets an invoice.

GET https://api.sylphx.com/v1/orgs/acme/invoices/invoice · scope billing:read · effect read · not available yet · Request, response and examples

#list

Lists an org's invoices.

GET https://api.sylphx.com/v1/orgs/acme/invoices · scope billing:read · effect read · not available yet · paginated · Request, response and examples