> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://api-docs.papertracc.com/core/purchases/expenses/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.papertracc.com/_mcp/server. # Overview Direct expense endpoints mounted at `/expenses`. ## Quantities and units Expense line items follow the same `quantity` and `unit` rules as bill line items: `quantity` accepts fractional values to 4 decimal places, and `unit` is an optional label of at most 50 characters. A line tied to an inventory item through `sku` takes the item's selling unit unless a different `unit` is sent, and needs a whole-number `quantity` when that unit is `EACH`. Line items in expense responses return `quantity` as a number, `unit` when the line has one, and the `sku` of the inventory item the line is tied to. Money values come back as decimal strings: `rate`, `amount` and `vat` on line items, and `value` and `amount` on adjustments. Requests send them as numbers. ## API Docs - Expenses [List Expenses](https://api-docs.papertracc.com/core/purchases/expenses/list-expenses.md) - Expenses [Create Expense](https://api-docs.papertracc.com/core/purchases/expenses/create-expense.md) - Expenses [Get Expense](https://api-docs.papertracc.com/core/purchases/expenses/get-expense.md) - Expenses [Void Expense](https://api-docs.papertracc.com/core/purchases/expenses/void-expense.md) - Expenses [Amend Expense](https://api-docs.papertracc.com/core/purchases/expenses/amend-expense.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://api-docs.papertracc.com/openapi.json) - [OpenAPI YAML](https://api-docs.papertracc.com/openapi.yaml)