# Brazil (BRL) Data Requirements

This page lists every data requirement for BRL payments to Brazil: the beneficiary and
originator identities, the beneficiary financial instrument, and the transaction itself.

Fields shown are those required for this corridor
The identity and financial instrument tables on this page list only the fields `BR_PIX`
requires, taken from the PII v3 schema. Identities and financial instruments accept further
optional fields. For the complete set, see
[Payment identities](/products/payments-direct-2/introduction/concepts/payment-identities) and
[Financial instruments](/products/payments-direct-2/introduction/concepts/financial-instruments), or use the
[Payload Schema Utility](/products/payments-direct-2/api-docs/integration-resources/payload-schema-utility).

## Beneficiary identity

Create the beneficiary identity before the financial instrument, then reference it when you
create the payment. See [Create and manage identities](/products/payments-direct-2/api-docs/developer-guides/create-and-manage-identities)
for the API workflow.

The required fields depend on whether the beneficiary is a **business** or an **individual**.

### Business beneficiary

Applies to the **B2B**, **B2B2B**, **C2B2B** use cases. Submit a `business` identity.

| Field  | Required | Type | Constraints  |
|  --- | --- | --- | --- |
| `businessName` | Required | STRING | Legal name of the business. 1–140 characters. Must match `^(?![ .,'&\/()-])(?!.*([ .,'&\/()-])\1)[\p{L}\p{N} .,'&\/()-]+(?<![ .,'&\/-])?$`. |
| `address.streetAddress` | Required | ARRAY of STRING | Street address of the business. 1–70 characters. Must match `^[^\p{C}\r\n<>]+$`. |
| `address.country` | Required | STRING | Country of the business address. Exactly 2 characters. Must match `^[A-Z]+$`. |
| `address.city` | Required | STRING | City or locality of the business address. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L} .'-]+(?<![ .'-])$`. |
| `address.stateOrProvince` | Required | STRING | State, province, or county of the business address, as defined by postal services. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L}\p{N} .'-]+(?<![ .'-])$`. |
| `address.postalCode` | Required | STRING | Postal code of the business address. 3–15 characters. Must match `^[\p{L}\p{N}][\p{L}\p{N} -]{1,15}[\p{L}\p{N}]$`. |
| `email` | Required | STRING | Email address. 6–255 characters. Format `email`. Must match `^(?=.{1,254}$)(?:[\p{L}\p{N}%+_-]+(?:\.[\p{L}\p{N}%+_-]+)*)@(?:(?:[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,61}[\p{L}\p{N}])?)\.)+[\p{L}]{2,63}$`. |
| `phone` | Required | STRING | Phone number. 8–16 characters. Must match `^\+[1-9]\d+$`. |
| `registration[].number` | Required | STRING | The unique identifier of the organization. 3–35 characters. Must match `^(?![ .'-\/])(?!.*[ .'-\/]{2})([A-Za-z0-9 .'-\/]+)(?<![ .'-\/])\/?$`. |
| `registration[].type` | Required | STRING | The type of business registration document. Must be `TAX_ID`. |


### Individual beneficiary

Applies to the **B2B2C**, **B2C**, **C2B2C** use cases. Submit an `individual` identity.

| Field  | Required | Type | Constraints  |
|  --- | --- | --- | --- |
| `firstName` | Required | STRING | First name of the individual. 1–140 characters. Must match `^(?![ .'-])(?!.*([ .'-])\1)[\p{L} .'-]+(?<![ .'-])$`. |
| `lastName` | Required | STRING | Last name of the individual. 1–140 characters. Must match `^(?![ .'-])(?!.*([ .'-])\1)[\p{L} .'-]+(?<![ .'-])$`. |
| `address.streetAddress` | Required | ARRAY of STRING | Street address of the individual. 1–70 characters. Must match `^[^\p{C}\r\n<>]+$`. |
| `address.country` | Required | STRING | Country of the individual's address. Exactly 2 characters. Must match `^[A-Z]+$`. |
| `address.city` | Required | STRING | City or locality of the individual's address. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L} .'-]+(?<![ .'-])$`. |
| `address.stateOrProvince` | Required | STRING | State, province, or county of the individual's address, as defined by postal services. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L}\p{N} .'-]+(?<![ .'-])$`. |
| `address.postalCode` | Required | STRING | Postal code of the individual's address. 3–15 characters. Must match `^[\p{L}\p{N}][\p{L}\p{N} -]{1,15}[\p{L}\p{N}]$`. |
| `email` | Required | STRING | Email address. 6–255 characters. Format `email`. Must match `^(?=.{1,254}$)(?:[\p{L}\p{N}%+_-]+(?:\.[\p{L}\p{N}%+_-]+)*)@(?:(?:[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,61}[\p{L}\p{N}])?)\.)+[\p{L}]{2,63}$`. |
| `phone` | Required | STRING | Phone number. 8–16 characters. Must match `^\+[1-9]\d+$`. |
| `identityDocuments[].idNumber` | Required | STRING | The number shown on the identification document that `idType` names. 3–35 characters. Must match `^(?![ .'-\/])(?!.*[ .'-\/]{2})([A-Za-z0-9 .'-\/]+)(?<![ .'-\/])\/?$`. |
| `identityDocuments[].idType` | Required | STRING | The type of identification document. Must be `TAX_ID`. |
| `dateOfBirth` | Required | STRING | Date of birth. Format `YYYY-MM-DD`. |
| `citizenship` | Required | STRING | Alpha-2 country code for the nationality of the individual in ISO 3166-1 format. Exactly 2 characters. Must match `^[A-Z]+$`. |


## Beneficiary financial instrument

Set `financialInstrumentType: BR_PIX` and `currency: BRL`. Provide the following fields in the `brPix` payment rail object. See [Create and manage financial instruments](/products/payments-direct-2/api-docs/developer-guides/create-and-manage-financial-instruments) for the API workflow.

PIX addresses a payment by the beneficiary's PIX key and branch number, so this rail takes no account number. The BIC in `bankCode` is optional here, and worth sending when you have it because some payout routes use it.

| Field  | Required | Type | Constraints  |
|  --- | --- | --- | --- |
| `bankName` | Required | STRING | The name of the identity's bank. 2–140 characters. Must match `^(?![ .,'&\/()-])(?!.*([ .,'&\/()-])\1)[\p{L}\p{N} .,'&\/()-]+(?<![ .,'&\/-])?$`. |
| `branchNumber` | Required | STRING | The identity's bank branch number. 4–6 characters. Must match `^\d{4}(-?[0-9X])?$`. |
| `pixKey` | Required | STRING | The identity's PIX key, which can be an email, phone number, or a hash. 6–77 characters. Must match `(?x) ^( \+[1-9]\d{7,15}$ | [\p{L}\p{N}._%+\-]+@[\p{L}\p{N}.\-]+\.[\p{L}]{2,} | [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}- [0-9A-Fa-f]{4}-[0-9A-Fa-f]{12} | \d{11} | \d{14} | \d{3}\.\d{3}\.\d{3}-\d{2} | \d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2} )$`. |
| `pixKeyType` | Required | STRING | The type of PIX key used by the identity. One of `CPF`, `CNPJ`, `EMAIL`, `PHONE`, `EVP`. |


## Originator identity

Create the originator identity once and reuse it across payments.

If your organization's jurisdiction is Australia or Brazil, an originator identity needs
further fields on every corridor, including this one. See
[Jurisdiction-based requirements](/products/payments-direct-2/introduction/concepts/payment-identities#jurisdiction-based-requirements).

The required fields depend on whether the originator is a **business** or an **individual**.

### Business originator

Applies to the **B2B**, **B2B2B**, **B2B2C**, **B2C** use cases. Submit a `business` identity.

| Field  | Required | Type | Constraints  |
|  --- | --- | --- | --- |
| `businessName` | Required | STRING | Legal name of the business. 1–140 characters. Must match `^(?![ .,'&\/()-])(?!.*([ .,'&\/()-])\1)[\p{L}\p{N} .,'&\/()-]+(?<![ .,'&\/-])?$`. |
| `address.streetAddress` | Required | ARRAY of STRING | Street address of the business. 1–70 characters. Must match `^[^\p{C}\r\n<>]+$`. |
| `address.country` | Required | STRING | Country of the business address. Exactly 2 characters. Must match `^[A-Z]+$`. |
| `address.city` | Required | STRING | City or locality of the business address. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L} .'-]+(?<![ .'-])$`. |
| `address.stateOrProvince` | Required | STRING | State, province, or county of the business address, as defined by postal services. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L}\p{N} .'-]+(?<![ .'-])$`. |
| `address.postalCode` | Required | STRING | Postal code of the business address. 3–15 characters. Must match `^[\p{L}\p{N}][\p{L}\p{N} -]{1,15}[\p{L}\p{N}]$`. |
| `email` | Required | STRING | Email address. 6–255 characters. Format `email`. Must match `^(?=.{1,254}$)(?:[\p{L}\p{N}%+_-]+(?:\.[\p{L}\p{N}%+_-]+)*)@(?:(?:[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,61}[\p{L}\p{N}])?)\.)+[\p{L}]{2,63}$`. |
| `phone` | Required | STRING | Phone number. 8–16 characters. Must match `^\+[1-9]\d+$`. |
| `registration[].number` | Required | STRING | The unique identifier of the organization. 3–35 characters. Must match `^(?![ .'-\/])(?!.*[ .'-\/]{2})([A-Za-z0-9 .'-\/]+)(?<![ .'-\/])\/?$`. |
| `registration[].type` | Required | STRING | The type of business registration document. Must be `TAX_ID`. |
| `incorporationCountry` | Required | STRING | The country where the business was incorporated, as an ISO 3166-1 alpha-2 code. Exactly 2 characters. Must match `^[A-Z]+$`. |
| `legalEntityType` | Required | STRING | Type of legal entity to distinguish between Financial Institutions and Non-Financial Institutions. One of `BANK_CENTRAL`, `BANK_COMMERCIAL`, `PAYMENT_INSTITUTION`, `CORPORATE_PRIVATE`, `CORPORATE_PUBLIC`, `GOVERNMENT_ENTITY`, `NON_PROFIT`, `SOLE_TRADER`. |


### Individual originator

Applies to the **C2B2B**, **C2B2C** use cases. Submit an `individual` identity.

| Field  | Required | Type | Constraints  |
|  --- | --- | --- | --- |
| `firstName` | Required | STRING | First name of the individual. 1–140 characters. Must match `^(?![ .'-])(?!.*([ .'-])\1)[\p{L} .'-]+(?<![ .'-])$`. |
| `lastName` | Required | STRING | Last name of the individual. 1–140 characters. Must match `^(?![ .'-])(?!.*([ .'-])\1)[\p{L} .'-]+(?<![ .'-])$`. |
| `address.streetAddress` | Required | ARRAY of STRING | Street address of the individual. 1–70 characters. Must match `^[^\p{C}\r\n<>]+$`. |
| `address.country` | Required | STRING | Country of the individual's address. Exactly 2 characters. Must match `^[A-Z]+$`. |
| `address.city` | Required | STRING | City or locality of the individual's address. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L} .'-]+(?<![ .'-])$`. |
| `address.stateOrProvince` | Required | STRING | State, province, or county of the individual's address, as defined by postal services. 1–140 characters. Must match `^(?![ .'-])(?!.*[ .'-]{2})[\p{L}\p{N} .'-]+(?<![ .'-])$`. |
| `address.postalCode` | Required | STRING | Postal code of the individual's address. 3–15 characters. Must match `^[\p{L}\p{N}][\p{L}\p{N} -]{1,15}[\p{L}\p{N}]$`. |
| `email` | Required | STRING | Email address. 6–255 characters. Format `email`. Must match `^(?=.{1,254}$)(?:[\p{L}\p{N}%+_-]+(?:\.[\p{L}\p{N}%+_-]+)*)@(?:(?:[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,61}[\p{L}\p{N}])?)\.)+[\p{L}]{2,63}$`. |
| `phone` | Required | STRING | Phone number. 8–16 characters. Must match `^\+[1-9]\d+$`. |
| `identityDocuments[].idNumber` | Required | STRING | The number shown on the identification document that `idType` names. 3–35 characters. Must match `^(?![ .'-\/])(?!.*[ .'-\/]{2})([A-Za-z0-9 .'-\/]+)(?<![ .'-\/])\/?$`. |
| `identityDocuments[].idType` | Required | STRING | The type of identification document. One of `PASSPORT`, `TAX_ID`. |
| `dateOfBirth` | Required | STRING | Date of birth. Format `YYYY-MM-DD`. |
| `countryOfBirth` | Required | STRING | Country of birth. Exactly 2 characters. Must match `^[A-Z]+$`. |
| `citizenship` | Required | STRING | Alpha-2 country code for the nationality of the individual in ISO 3166-1 format. Exactly 2 characters. Must match `^[A-Z]+$`. |


## Transaction data requirements

The beneficiary and originator details come from the identities you create beforehand, and the bank details from the financial instrument. The fields you set on the payment itself for this corridor are below.

| Field  | Description | Required | Type | Constraints  |
|  --- | --- | --- | --- | --- |
| `purposeCode` | Purpose of payment | Required | ENUM | Up to 4 characters. See [valid values](#purpose-of-payment-codes) below. |
| `paymentMemo` | Payment memo | Optional | STRING | Up to 120 characters. |


## Purpose of payment codes

Send one of the following in `purposeCode`.

| Code | Description |
|  --- | --- |
| `COMP` | Compensation payment |
| `FAMI` | Family maintenance |
| `INVS` | Investment and securities |
| `OTHR` | Other |
| `SUPP` | Supplier payment |