Ramp: Split a transaction into line items, or update an existing split — request body — body line items array item accounting field selections item
Split a transaction into line items, or update an existing split: request body, field body / line_items / array / item / accounting_field_selections / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Split a transaction into line items, or update an existing split — request body — body line items array item accounting field selections item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
field_external_id | JSON | Optional | |
field_external_id (anyOf 1) | string | Alternative | Remote ID of the accounting field in the ERP system. Provide exactly one of field_id or field_external_id. Default: null |
field_external_id (anyOf 2) | null | Alternative | |
field_id | JSON | Optional | |
field_id (anyOf 1) | string | Alternative | UUID of the accounting field. Provide exactly one of field_id or field_external_id. Default: null Format: uuid |
field_id (anyOf 2) | null | Alternative | |
field_option_external_id | JSON | Optional | |
field_option_external_id (anyOf 1) | string | Alternative | Remote ID of the accounting field option in the ERP system. Provide exactly one of field_option_id, field_option_external_id, or free_form_text. Default: null |
field_option_external_id (anyOf 2) | null | Alternative | |
field_option_id | JSON | Optional | |
field_option_id (anyOf 1) | string | Alternative | UUID of the accounting field option. Provide exactly one of field_option_id, field_option_external_id, or free_form_text. Default: null Format: uuid |
field_option_id (anyOf 2) | null | Alternative | |
free_form_text | JSON | Optional | |
free_form_text (anyOf 1) | string | Alternative | Free form text for the accounting field selection. For DATE-type fields, use ISO format (YYYY-MM-DD). Provide exactly one of field_option_id, field_option_external_id, or free_form_text. Default: null Minimum length: 1 |
free_form_text (anyOf 2) | null | Alternative |