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

Fleet Invoice Schema

Schema-ID
fleet_invoice
Collection
fleet_invoices
Permissions
  • Lezenfleet_invoice_view
  • Aanmakenfleet_invoice_create
  • Wijzigenfleet_invoice_edit
  • Verwijderenfleet_invoice_delete

Velden

Fleet Invoice Schema

fleet_invoices4 permissions

Schema for validating fleet invoice / Fuhrpark-Rechnung entities

vehicleIduuidvereist

Reference to the vehicle

invoiceNumberstringvereist

External invoice number / Rechnungsnummer

1–100 tekens
vendorstringvereist

Vendor / Lieferant or service provider name

1–200 tekens
datedatevereist

Invoice date / Rechnungsdatum

dueDatedateoptioneel

Payment due date / Fälligkeitsdatum

nullable
amountstringvereist

Net amount in EUR as decimal string / Nettobetrag

Pattern
taxAmountstringoptioneel

Tax amount in EUR / MwSt.-Betrag

Patternnullable
totalAmountstringoptioneel

Gross total in EUR / Bruttobetrag

Patternnullable
categorystringvereist

Invoice category / Kostenkategorie

REPAIRMAINTENANCEFUELINSURANCELEASETAXTIRETOLLPARKINGWASHTUVOTHER
statusstringoptioneel

Invoice processing status

DRAFTOPENAPPROVEDPAIDCANCELLED
Default: "OPEN"
paymentDatedateoptioneel

Actual payment date / Zahlungsdatum

nullable
paymentMethodstringoptioneel

Payment method / Zahlungsart

BANK_TRANSFERCREDIT_CARDDIRECT_DEBITCASHFUEL_CARDOTHER
nullable
descriptionstringoptioneel

Description of invoiced services / Leistungsbeschreibung

max. 2000 tekensnullable
costCenterstringoptioneel

Cost center / Kostenstelle

max. 100 tekensnullable
attachmentIdsstring[]optioneel

Document attachment IDs (invoice PDF, receipts)

Default: []
notesstringoptioneel

Additional notes / Bemerkungen

max. 2000 tekensnullable

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

Zoeken