---
title: "POST /petty_cashes/trip_claim/{trip_id}"
method: POST
path: "/petty_cashes/trip_claim/{trip_id}"
tags: ["petty_cashes"]
---

# POST /petty_cashes/trip_claim/{trip_id}

`POST /petty_cashes/trip_claim/{trip_id}`

## Request

- Base URL: `http://api.gostarmartbus.com/api`
- URL: `http://api.gostarmartbus.com/api/petty_cashes/trip_claim/{trip_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gostarmartbus/apis/api-title/docs/petty_cashes/trip_claim/:trip_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Add trip claim

## Path parameters

- `trip_id` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `counter_id` string, required
  - `currency` 'MYR' | 'SGD', required
  - `amount` number, float, required
  - `bus_id` integer, required
  - `remarks` string
  - `trip_claim_remarks` string
  - `cost_type` 'other' | 'adjust' | 'driver_advance' | 'driver_claim', required
  - `claim_account` 'petty_cash' | 'own', required
  - `driver1_id` string
  - `driver2_id` string
  - `current_odo` number, float: Current Odometer Reading (KM)
  - `final_odo` number, float: Final Odometer Reading (KM)
  - `next_service` number, float: Next Service (KM)
  - `salary_driver1` number, float
  - `salary_driver2` number, float
  - `diesel1_volume` number, float
  - `diesel1_price` number, float
  - `diesel2_volume` number, float
  - `diesel2_price` number, float
  - `diesel3_volume` number, float
  - `diesel3_price` number, float
  - `diesel4_volume` number, float
  - `diesel4_price` number, float
  - `toll_fare1_price` number, float
  - `toll_fare2_price` number, float
  - `toll_fare3_price` number, float
  - `toll_fare4_price` number, float
  - `overnight_price` number, float
  - `uniform_price` number, float
  - `customer_service_price` number, float
  - `other_remark` string
  - `other_price` number, float
  - `epf_driver1` number, float
  - `epf_driver2` number, float
  - `deposit` number, float
  - `driver_advance_from_remark1` string
  - `driver_advance_from_price1` number, float
  - `driver_advance_from_remark2` string
  - `driver_advance_from_price2` number, float
  - `driver_advance_from_remark3` string
  - `driver_advance_from_price3` number, float

## Response `201`

Add trip claim

---

[API](https://skmtc.dev/gostarmartbus/apis/api-title.md) - [All operations](https://skmtc.dev/gostarmartbus/apis/api-title/llms.txt) - [OpenAPI document](https://skmtc.dev/gostarmartbus/apis/api-title/revisions/809a5ebae979?raw)
