Record a GBP expense. Keep the same UUID and payload on retries.

post/api/v1/costs

Request

  • Base URL: https://fleetkeep.co.uk
  • URL: https://fleetkeep.co.uk/api/v1/costs
  • Auth: OAuth 2 (authorization code, authorization URL https://fleetkeep.co.uk/auth/oauth2/authorize, token URL https://fleetkeep.co.uk/auth/oauth2/token, scopes: operations:write)

Request body

idstring uuid required
vehicleIdstring uuid required
incurredOnstring date required
category'fuel' | 'insurance' | 'repair' | 'parking' | 'other' required
descriptionstring required
amountstring required

GBP decimal amount, up to two decimal places; negative for refunds.

Response

Recorded expense

Changes

No recorded changes to this operation across all 1 revision of this API.