v1
latestOpenAPI 3.0.32026-07-26362271803.3 KBUpdate Accounting Bill
Update an existing accounting bill with complete replacement of all data including line items and metadata.
This endpoint performs a full update (PUT) of an accounting bill with:
- Complete replacement of all bill data including vendor, entity, dates, and terms
- Full replacement of all line items with new account assignments, amounts, and descriptions
- Automatic recalculation of journal entries and accounting transactions
- Preservation of payment history while updating balances and amounts due
- Validation of all referenced accounts, vendors, entities, and departments
- Automatic exchange rate updates for multi-currency bills
- Custom field updates and attachment management
Path parameters
Request body
Return AP account name with number in 'number - name' format, similar to name_and_number.
Navan data region (US/EU) for a Navan-sourced bill, else None.
Mirrors ramp_use_sandbox: the frontend builds the "Open in Navan" deep link from source_id and uses this to pick the web-app host (US -> app.navan.com, EU -> app-fra.navan.com). Navan bills carry no FK to their connection, so the region is resolved per customer and memoized to avoid an N+1 lookup across a bill list.
Withholding context for the bill's entity (AP side).
estimated_withholding_amount covers only the remaining amount due (null once fully paid); withheld_to_date is the signed sum of posted withholding (AP legs are credits, reversals debits), so actuals replace the estimate as payments post. Certificate-based schemes estimate from the vendor certificate's rate valid today (falling back to the scheme default).
- BILL - Bill
- PAYROLL - Payroll
- REIMBURSEMENT - Reimbursement
Payment term for this bill
Accounts Payable account for this bill
Response
Return AP account name with number in 'number - name' format, similar to name_and_number.
Navan data region (US/EU) for a Navan-sourced bill, else None.
Mirrors ramp_use_sandbox: the frontend builds the "Open in Navan" deep link from source_id and uses this to pick the web-app host (US -> app.navan.com, EU -> app-fra.navan.com). Navan bills carry no FK to their connection, so the region is resolved per customer and memoized to avoid an N+1 lookup across a bill list.
Withholding context for the bill's entity (AP side).
estimated_withholding_amount covers only the remaining amount due (null once fully paid); withheld_to_date is the signed sum of posted withholding (AP legs are credits, reversals debits), so actuals replace the estimate as payments post. Certificate-based schemes estimate from the vendor certificate's rate valid today (falling back to the scheme default).
- BILL - Bill
- PAYROLL - Payroll
- REIMBURSEMENT - Reimbursement
Payment term for this bill
Accounts Payable account for this bill