Ramp: Create a Ramp-only accounting field — request body — body
Create a Ramp-only accounting field: request body, field body. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Create a Ramp-only accounting field — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
accounting_connection_id | JSON | Optional | |
accounting_connection_id (anyOf 1) | string | Alternative | Specify an accounting connection. This connection must be an accounting API based connection. If not provided we default to the current active connection. Format: uuid |
accounting_connection_id (anyOf 2) | null | Alternative | |
display_name | JSON | Optional | |
display_name (anyOf 1) | string | Alternative | The name of the custom accounting field as shown on Ramp. |
display_name (anyOf 2) | null | Alternative | |
id | string | Required within parent | Remote/external ID of custom accounting field from ERP system. |
input_type | string | Required within parent | The input type for the custom accounting field. One of: BOOLEAN, FREE_FORM_TEXT, SINGLE_CHOICE |
is_required_for | array | Optional | Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync. |
is_required_for[] | string | Each item | One of: BILL, BILL_PAYMENT, CUSTOMER, INVOICE, PURCHASE_ORDER, REIMBURSEMENT, SPEND_PROGRAM, TRANSACTION, TRANSFER_LEDGER_ENTRY_MAPPING, VENDOR_CREDIT |
is_splittable | boolean | Optional | If set to True, the accounting field can be used to annotate split line items. If not specified, the default value will be False. |
name | string | Required within parent | name of the custom accounting field. |