API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

Get platform_invoice by id

GET/v1/platform_invoices/{id}

Fetch a single platform_invoice.

Modèle de données

Cette opération porte sur l'entité Platform Invoice (platform_invoice). Les 29 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.

  • Champs obligatoires : kind, periodFrom, periodTo, status, currency
  • Gérés par le serveur : _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. La plateforme attribue ces champs ; ils sont ignorés dans la requête.

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

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

Codes de réponse

HTTP Signification
200 Default Response

Recherche