API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · platform_invoices

Platform Invoice Schema

Schema-ID
platform_invoice
Collection
platform_invoices
Permissions
  • Lezenplatform_invoice_view
  • Aanmakenadmin_bypass
  • Wijzigenadmin_bypass
  • Verwijderenadmin_bypass

Velden

Platform Invoice Schema

platform_invoices4 permissions

Codemeta-issued invoice TO a tenant, with weclapp PDF and email dispatch trail.

tenantIdstringoptioneel
read-only
kindstringvereist
licensewholesale
read-only
billingProviderstringoptioneel
stripeweclappnull
nullable
sourcestringoptioneel
monthly-enginetrial-end-enginebooking-enginestripe-webhookmanualnull
nullable
sourceRefstringoptioneel
max. 200 tekensnullable
engineMetaobjectoptioneel
nullable
invoiceNumberstringoptioneel
max. 64 tekensread-onlynullable
stripeInvoiceIdstringoptioneel
read-onlynullable
weclappIdstringoptioneel
read-onlynullable
pdfFileIdstringoptioneel
read-onlynullable
weclappPdfFileIdstringoptioneel
nullable
stripePdfFileIdstringoptioneel
nullable
periodFromdatevereist
read-only
periodTodatevereist
read-only
statusstringvereist
draftopenpaidpast_duepayment_failedvoiduncollectible
read-only
paymentProviderStatusstringoptioneel
max. 64 tekensnullable
currencystringvereist
EUR
netCentsintegeroptioneel
≥ 0read-only
vatCentsintegeroptioneel
≥ 0read-only
grossCentsintegeroptioneel
≥ 0read-only
itemsobject[]optioneel
read-only
descriptionstringvereist
max. 500 tekens
quantitynumbervereist
≥ 0
unitPriceCentsintegeroptioneel
netCentsintegervereist
read-only
periodobjectoptioneel
nullable
metadataobjectoptioneel
dueDatedateoptioneel
nullable
issuedAtdatetimeoptioneel
read-onlynullable
paidAtdatetimeoptioneel
read-onlynullable
weclappPaidAtdatetimeoptioneel
nullable
dunningobjectoptioneel
nullable
recipientEmailsemail[]optioneel
lastSentAtdatetimeoptioneel
nullable
sendAttemptsobject[]optioneel
read-only
atdatetimevereist
recipientsemail[]vereist
messageIdstringoptioneel
nullable
statusstringvereist
sentbouncedcomplainedfailed
read-only
errorstringoptioneel
nullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/platform_invoices — Lijst, gepagineerd + filterbaar
  • GET /api/v1/platform_invoices/<id> — Enkele entity
  • POST /api/v1/platform_invoices — Aanmaken
  • PATCH /api/v1/platform_invoices/<id> — Gedeeltelijke update
  • DELETE /api/v1/platform_invoices/<id> — Soft-delete
  • GET /api/v1/platform_invoices/<id>/timeline — Audit + activiteiten

Zoeken