API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

List platform_invoices

GET/v1/platform_invoices

List platform_invoices for the active tenant.

Data model

This operation works on the entity Platform Invoice (platform_invoice). All 29 fields — type, validation, required status, relationships — are listed in the schema reference.

  • Required fields: kind, periodFrom, periodTo, status, currency
  • Server-managed: _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy, stripeInvoiceId, weclappId, invoiceNumber, pdfFileId, kind, periodFrom, periodTo, netCents, vatCents, grossCents, items, status, issuedAt, paidAt, sendAttempts — the platform assigns these fields; they are discarded in the request.

Query parameters

NameTypeDescription
cursorstring
limitnumber
includeDeletedboolean

Example

curl -X GET https://api.codemeta-os.de/v1/platform_invoices \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.platform_invoices.list();

Response codes

HTTP Meaning
200 Default Response

Search