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

# Changes to Create DirectExpense record

`POST /public/v2/direct-expenses/`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 14 revisions.

- **2026-08-28** `48edcb3acb74` — 2 warning, 3 info
- **2026-08-22** `dcb8297898a2` — 1 breaking, 9 info
- **2026-08-12** `34b7cf5b4b6c` — 1 info
- **2026-08-12** `1690a2e6f8e9` — 2 info
- **2026-08-05** `525a590a98f8` — 2 info
- **2026-07-31** `506e6073d191` — 1 breaking, 4 info

## Changes

- **2026-08-28** `48edcb3acb74` — 2 warning, 3 info
  - removed the optional property `has_more_lines` from the response with the `200` status
  - removed the optional property `lines_count` from the response with the `200` status
  - api operation id `create_DirectExpenseV2_record` removed and replaced with `create_DirectExpense_record`
  - the response property `items` became required for the status `200`
  - the `items` response's property default value `` was removed for the status `200`
- **2026-08-22** `dcb8297898a2` — 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** `34b7cf5b4b6c` — 1 info
  - added the new optional `header` request parameter `Idempotency-Key`
- **2026-08-12** `1690a2e6f8e9` — 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** `525a590a98f8` — 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
- **2026-07-31** `506e6073d191` — 1 breaking, 4 info
  - the response property `items` became optional for the status `200`
  - api operation id `create_DirectExpense_record` removed and replaced with `create_DirectExpenseV2_record`
  - added the optional property `has_more_lines` to the response with the `200` status
  - added the optional property `lines_count` to the response with the `200` status
  - the `items` response's property default value `` was added for the status `200`

---

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