API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · fleet_invoices

Fleet Invoice Schema

Schema-ID
fleet_invoice
Collection
fleet_invoices
Permissions
  • Lesenfleet_invoice_view
  • Anlegenfleet_invoice_create
  • Ändernfleet_invoice_edit
  • Löschenfleet_invoice_delete

Felder

Fleet Invoice Schema

fleet_invoices4 Permissions

Schema for validating fleet invoice / Fuhrpark-Rechnung entities

vehicleIduuiderforderlich

Reference to the vehicle

invoiceNumberstringerforderlich

External invoice number / Rechnungsnummer

1–100 Zeichen
vendorstringerforderlich

Vendor / Lieferant or service provider name

1–200 Zeichen
datedateerforderlich

Invoice date / Rechnungsdatum

dueDatedateoptional

Payment due date / Fälligkeitsdatum

nullable
amountstringerforderlich

Net amount in EUR as decimal string / Nettobetrag

Pattern
taxAmountstringoptional

Tax amount in EUR / MwSt.-Betrag

Patternnullable
totalAmountstringoptional

Gross total in EUR / Bruttobetrag

Patternnullable
categorystringerforderlich

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 Zeichennullable
costCenterstringoptional

Cost center / Kostenstelle

max 100 Zeichennullable
attachmentIdsstring[]optional

Document attachment IDs (invoice PDF, receipts)

Default: []
notesstringoptional

Additional notes / Bemerkungen

max 2000 Zeichennullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/fleet_invoices — Liste, paginiert + filterbar
  • GET /api/v1/fleet_invoices/<id> — Einzelne Entity
  • POST /api/v1/fleet_invoices — Anlegen
  • PATCH /api/v1/fleet_invoices/<id> — Teil-Update
  • DELETE /api/v1/fleet_invoices/<id> — Soft-Delete
  • GET /api/v1/fleet_invoices/<id>/timeline — Audit + Aktivitäten

Suche