---
title: "Changes to Create DirectExpense record"
method: POST
path: "/public/v1/direct-expenses/"
---

# Changes to Create DirectExpense record

`POST /public/v1/direct-expenses/`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 14 revisions.

- **2026-08-22** `db5c5da9869c` — 1 breaking, 9 info
- **2026-08-12** `af0ec77e5277` — 1 info
- **2026-08-12** `1f38ce6f7ff2` — 2 info
- **2026-08-05** `77cd3c6ec719` — 2 info

## Changes

- **2026-08-22** `db5c5da9869c` — 1 breaking, 9 info
  - the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - added `#/components/schemas/GstComponentType, #/components/schemas/TaxFamily` to the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property `anyOf` list for the response status `200`
  - removed the `CESS` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `CGST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `GST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `HST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `IGST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `PST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `QST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
  - removed the `SGST` enum value from the `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_components/items/component_type` response property for the response status `200`
- **2026-08-12** `af0ec77e5277` — 1 info
  - added the new optional `header` request parameter `Idempotency-Key`
- **2026-08-12** `1f38ce6f7ff2` — 2 info
  - added the new optional request property `items/items/company_id`
  - added the optional property `items/items/company_id` to the response with the `200` status
- **2026-08-05** `77cd3c6ec719` — 2 info
  - added the new optional request property `items/items/tax/anyOf[subschema #1: ItemTaxData]/tax_metadata`
  - added the optional property `items/items/tax/anyOf[subschema #1: ItemTaxDataOut]/tax_metadata` to the response with the `200` status

---

[Operation](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/docs/public/v1/direct-expenses/post.md) · [API](https://skmtc.dev/dualentry/apis/dualentry-public-api-2.md) · [Page](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/changes/public/v1/direct-expenses/post)
