Skip to content

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

FieldTypePresenceDescription and constraints
$objectRoot
field_external_idJSONOptional
field_external_id (anyOf 1)stringAlternativeRemote 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)nullAlternative
field_idJSONOptional
field_id (anyOf 1)stringAlternativeUUID of the accounting field. Provide exactly one of field_id or field_external_id.
Default: null
Format: uuid
field_id (anyOf 2)nullAlternative
field_option_external_idJSONOptional
field_option_external_id (anyOf 1)stringAlternativeRemote 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)nullAlternative
field_option_idJSONOptional
field_option_id (anyOf 1)stringAlternativeUUID 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)nullAlternative
free_form_textJSONOptional
free_form_text (anyOf 1)stringAlternativeFree 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)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.