Ramp: Update a bill — request body — body line items array item
Update a bill: request body, field body / line_items / array / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Update a bill — request body — body line items array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
accounting_field_selections | array | Optional | |
accounting_field_selections[] | Model | Each item | Expand Create a bill — request body — body accounting field selections item |
amount | JSON | Required within parent | |
amount (oneOf 1) | string | Alternative | Format: decimal |
amount (oneOf 2) | number | Alternative | |
id | JSON | Optional | |
id (anyOf 1) | string | Alternative | Unique identifier of an existing line item on this bill. When provided, the updated line keeps this identifier; when omitted, a new identifier is assigned. Default: null Format: uuid |
id (anyOf 2) | null | Alternative | |
memo | JSON | Optional | |
memo (anyOf 1) | string | Alternative | Default: null |
memo (anyOf 2) | null | Alternative | |
purchase_order_line_item_id | JSON | Optional | |
purchase_order_line_item_id (anyOf 1) | string | Alternative | Unique identifier of the purchase order line item to match this bill line item to. Default: null Format: uuid |
purchase_order_line_item_id (anyOf 2) | null | Alternative |
Referenced models: Create a bill — request body — body accounting field selections item