API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · fleet_invoices

Fleet Invoice Schema

Schema ID
fleet_invoice
Collection
fleet_invoices
Permissions
  • Readfleet_invoice_view
  • Createfleet_invoice_create
  • Editfleet_invoice_edit
  • Deletefleet_invoice_delete

Fields

Fleet Invoice Schema

fleet_invoices4 permissions

Schema for validating fleet invoice / Fuhrpark-Rechnung entities

vehicleIduuidrequired

Reference to the vehicle

invoiceNumberstringrequired

External invoice number / Rechnungsnummer

1–100 characters
vendorstringrequired

Vendor / Lieferant or service provider name

1–200 characters
datedaterequired

Invoice date / Rechnungsdatum

dueDatedateoptional

Payment due date / Fälligkeitsdatum

nullable
amountstringrequired

Net amount in EUR as decimal string / Nettobetrag

Pattern
taxAmountstringoptional

Tax amount in EUR / MwSt.-Betrag

Patternnullable
totalAmountstringoptional

Gross total in EUR / Bruttobetrag

Patternnullable
categorystringrequired

Invoice category / Kostenkategorie

REPAIRMAINTENANCEFUELINSURANCELEASETAXTIRETOLLPARKINGWASHTUVOTHER
statusstringoptional

Invoice processing status

DRAFTOPENAPPROVEDPAIDCANCELLED
Default: "OPEN"
paymentDatedateoptional

Actual payment date / Zahlungsdatum

nullable
paymentMethodstringoptional

Payment method / Zahlungsart

BANK_TRANSFERCREDIT_CARDDIRECT_DEBITCASHFUEL_CARDOTHER
nullable
descriptionstringoptional

Description of invoiced services / Leistungsbeschreibung

max 2000 charactersnullable
costCenterstringoptional

Cost center / Kostenstelle

max 100 charactersnullable
attachmentIdsstring[]optional

Document attachment IDs (invoice PDF, receipts)

Default: []
notesstringoptional

Additional notes / Bemerkungen

max 2000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/fleet_invoices — List, paginated + filterable
  • GET /api/v1/fleet_invoices/<id> — Single entity
  • POST /api/v1/fleet_invoices — Create
  • PATCH /api/v1/fleet_invoices/<id> — Partial update
  • DELETE /api/v1/fleet_invoices/<id> — Soft delete
  • GET /api/v1/fleet_invoices/<id>/timeline — Audit + activities

Search