API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

GET /v1/platform-invoices

GET/v1/platform-invoices

List Codemeta invoices issued to this 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.

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