Bills
Get Bill
Returns a bill with its vendor, lines, allocations, and related purchase order / warehouse transfer data.
Update Bill
Updates an existing bill's header data and allocations.
Delete Bill
Deletes a bill.
Create Bill
Creates a standalone bill. Note: This endpoint is currently not used in practice — bills are typically created via purchase order or warehouse transfer nested routes.
Update Bill Lines
Batch updates the lines of a bill. Replaces existing lines with the provided collection.
Get Available Lines for Manual Allocation
Returns purchase order and warehouse transfer lines that are available for manual cost allocation to this bill. Includes pre-calculated allocation amounts.
Generate Accounting Transaction
Generates (or regenerates) the accounting transaction for this bill. Uses the bill's nominal codes and totals to create journal entries.