Template structure
A template includes:| Field | Description |
|---|---|
| Name | Descriptive template name |
| Object type | Entity being imported (Payee, Payout, Payout method) |
| Header row index | Row containing column headers (0-based) |
| Data start row index | Row where data begins (0-based) |
| Columns | JSON array of column mappings |
Columns configuration
Each column mapping defines how a file column maps to a field.Properties
| Property | Required | Description |
|---|---|---|
propertyPath | Yes | Field to map to |
headerName | No | Column name (case-insensitive) |
columnIndex | No | Column position (0-based) |
required | No | Skip row if empty |
defaultValue | No | Fallback value |
headerName and columnIndex are provided, columnIndex takes precedence.
Basic example
Using column index
Default values
Row configuration
Header row
Defines where headers are located. Example:Data start row
Defines where data begins. Example:Object types
Each template targets one object type: Payee, Payout, or Payout method. That choice controls whichpropertyPath values are valid for column mappings.
Available parameters
The lists below are generated fromdata/importTemplateObjectFields.json in this repository. Run npx tsx scripts/generate-import-template-field-docs.ts after you edit the JSON.
Payee
Use when the template creates or updates payee records. Payout upload rows often use dot paths such aspayee.first_name instead; see File format for that layout.
Given or first name for the payee when you map a single column to this field.
Family or last name for the payee when you map a single column to this field.
Email address for the payee, if your import uses it.
Phone number for the payee, if your import uses it.
Company or organization name when the payee is a business, or a default label such as Individual when you use
defaultValue in the column mapping.Payout
Use when each row represents a payout. Required fields depend on payee type, payout method, and destination; see File format and Validation rules.Identifier or external reference that ties the row to a payee, per your template and environment.
Identifier for the treasury account Acclaim should debit when funding this payout.
Your reference or memo for reconciliation and support.
Payout amount as a numeric value without currency symbols in the cell.
ISO 4217 currency code for the payout (for example USD, EUR, MXN).
Alternative column name some templates use for the payout currency; align with
currency if both appear in your file.Payout method identifier or selector for the row, when your template separates method choice from bank details.
Payout method
Use when the template maps bank or rail identifiers and related attributes. Exact required fields depend on the method and country; use Supported payout countries for method-specific requirements.Method or rail code for the payout (for example values listed on destination country pages).
Name on the account for the payout method.
Local account number where the rail requires it.
SWIFT or BIC code for international transfers where supported.
IBAN where the destination rail uses it.
18-digit CLABE for Mexico where that rail applies.
Country for the beneficiary when your template or rail requires address context.
Validation behavior
When you process a file against a template, typical outcomes include:| Situation | Result |
|---|---|
| Missing required fields | Row skipped (or handled per your template rules) |
| Invalid format | Row rejected |
| Mapping errors | Incorrect or incomplete data—fix the template before large runs |
Best practices
- Use header names instead of indexes when you can.
- Mark required fields explicitly.
- Test with small files first.
- Use defaults to reduce required columns.