← Back to schema index

BeneficiaryImportRow

Row extracted from a beneficiary import file, with its classification bucket and parsed fields. Card numbers (PANs) are masked; CLABEs are shown in full to the job owner. Wrapped under `{ type, id, attributes }` following JSON:API format.

Properties

Field Type Description
type string JSON:API resource type (always `beneficiary_import_row`).
id string Numeric row ID expressed as a string (JSON:API format).
attributes object Parsed row fields.
row_index integer 0-based position of the row in the original file. Allows the user to locate the row in the source document.
status string Classification bucket: `valid` — ready for commit; `correctable` — auto-corrected, confirmable; `fatal` — uncorrectable error, skipped; `duplicate_account` — account already registered (reactivated if archived); `duplicate_alias` — duplicate alias, persisted with suffix.
parsed_account string | null Normalized account number extracted from the file. The job owner can view and edit this value in the preview; `null` if no account could be extracted.
parsed_account_type string | null Detected account type. `null` if `parsed_account` is null.
parsed_bank_code string | null 5-digit Banxico code of the receiving bank derived from the parsed account. `null` if it could not be resolved.
parsed_bank_name string | null Resolved name of the receiving bank. `null` if it could not be resolved.
parsed_label string | null Label/alias extracted from the file or auto-assigned. `null` if no label could be extracted and none was auto-assigned.
error_codes array Stable error codes for the row (e.g. `clabe_checksum_failed`, `alias_missing`). Empty for `valid` rows.
corrections_applied object Auto-corrections applied by the system to this row (e.g. `{ "alias_auto_assigned": "Proveedor 001" }`). Empty if no corrections were made.
user_overrides object Manual user overrides submitted via `PATCH /v1/beneficiaries/imports/{id}/rows/{rowId}`. Take precedence over parsed values during commit.
raw_preview object Snippet of the original file for diagnostic purposes. Sequences of 6 or more consecutive digits are masked (`••••`) to prevent PAN exposure in debug payloads.
created_beneficiary_id integer | null ID of the beneficiary record created after commit. `null` until the job completed and this row was persisted.

Used in operations

  • GET /v1/beneficiaries/imports/{id}/preview
  • PATCH /v1/beneficiaries/imports/{id}/rows/{row_id}

Referenced by schemas