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

Fuel Card Transaction Schema

Schema ID
fuel_card_transaction
Collection
fuel_card_transactions
Permissions
  • Readfuel_card_transaction_view
  • Createfuel_card_transaction_create
  • Editfuel_card_transaction_edit
  • Deletefuel_card_transaction_delete

Fields

Fuel Card Transaction Schema

fuel_card_transactions4 permissions

Schema for validating fuel card transaction / Tankkarten-Transaktion entities

fuelCardIduuidrequired

Reference to the fuel card

vehicleIduuidoptional

Reference to the vehicle

nullable
driverIduuidoptional

Reference to the fleet driver

nullable
datedaterequired

Transaction date

amountstringrequired

Transaction amount in EUR as decimal string

Pattern
litersnumberoptional

Liters fueled

≥ 0nullable
pricePerLiterstringoptional

Price per liter in EUR

Patternnullable
fuelTypestringoptional

Fuel type

BENZINDIESELERDGASADBLUESTROMOTHER
nullable
locationstringoptional

Fueling location / gas station

max 200 charactersnullable
mileageKmnumberoptional

Mileage at time of fueling

≥ 0nullable
receiptAttachmentIdstringoptional

Receipt attachment file ID

nullable
notesstringoptional

Additional notes

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/fuel_card_transactions — List, paginated + filterable
  • GET /api/v1/fuel_card_transactions/<id> — Single entity
  • POST /api/v1/fuel_card_transactions — Create
  • PATCH /api/v1/fuel_card_transactions/<id> — Partial update
  • DELETE /api/v1/fuel_card_transactions/<id> — Soft delete
  • GET /api/v1/fuel_card_transactions/<id>/timeline — Audit + activities

Search