Collection

GenerateStaticPixQRCode

Overview

The GenerateStaticPixQRCode method generates static PIX QR codes:

  1. Input Validation
  2. Business-specific validation
  3. Sub-object validation (recurrence, if applicable)
  4. Processing
  5. Static QR code generation and data return

Complete Codes and Messages

CodeMessageScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more detailsJSON model validation failureVerify required fields and data formats sent
Business Validation
ESE0463Account not foundPerson with TaxNumber not found in the systemVerify if the CPF/CNPJ is correct and registered
ESE0474Business Unit not foundBusinessUnitId does not exist in the systemVerify if the BusinessUnitId is correct
ISI0483The Identifier field can contain a maximum of 255 charactersIdentifier exceeds character limitReduce the size of the Identifier to a maximum of 255 characters
EXC0039PIX QR code with the identifier "{0}" has already been generated previouslyIdentifier already exists for the BusinessUnitUse a unique Identifier or check for existing QR code
ISI0499The PrincipalValue field must have a value greater than or equal to 0.01PrincipalValue less than 0.01Enter a value greater than or equal to 0.01
EXC0003Invalid Zip CodeZipCode with invalid formatEnter a valid Zip Code in the correct format
EXC0054The original payment value exceeds the maximum allowed valuePrincipalValue exceeds configured limitVerify BusinessUnit limits or reduce the value
Recurrence Validation (if applicable)
EXC0001Unable to find the Person with the provided TaxNumberPerson not found for recurrenceVerify CPF/CNPJ of the holder
EXC0084The recipient must be a Legal Entity (PJ). Please review the provided dataRecurrence only permitted for Legal EntitiesEnter CNPJ of a legal entity
EXC0033The initial recurrence date must be between 2 and 10 days from today. Select a valid date within this rangeInitialDate outside the allowed intervalEnter a date between 2 and 10 days from today
EXC0031The final date must be after the initial dateEndDate less than or equal to InitialDateEnter an EndDate greater than InitialDate
EXC0032Only one of the fields needs to be filled: FinalValue or MaximumValueBoth FinalValue and MaximumValue enteredEnter only one of the value fields
EXC0021It is necessary to fill in {0}.{1} or {0}.{2}Neither FinalValue nor MaximumValue enteredEnter FinalValue or MaximumValue
EXC0022Values.{0} must be greater than 0FinalValue or MaximumValue less than or equal to zeroEnter positive values
EXC0105There is already a PIX Automatic for the Contract informedContract.Identifier already existsUse a unique Identifier for the contract
Processing
ESE1262The informed account does not existAccountHolder or Account not foundVerify account data (Bank, BankBranch, BankAccount, BankAccountDigit)
EXC0009The informed business unit does not have a SPI matchMatchingBusinessUnit SPI not configuredVerify SPI configuration of the BusinessUnit
ESE1263The informed PIX key was not foundPixKey not found or not activeVerify if the PIX key is registered and active
EXC0004Unable to issue a static QR code for changeTransactionPurpose is PurchaseWithChangeDo not use a change purpose for a static QR code
EXC0021The PIX Withdraw parameter is disabled for the informed BusinessUnitTransactionPurpose Withdraw without configurationEnable the PIXWithdraw parameter in the BusinessUnit
EXC0037PIX withdrawal transaction type is only allowed for company accountsPIX withdrawal with an individual (PF) personUse a corporate account (PJ) for PIX withdrawal
EXC0008Invalid transaction typeTransactionPurpose not supportedUse PurchaseOrTransfer or Withdraw
Success
INF0013Method executed successfullyQR code generated successfullyQR code created with DocumentNumber returned

GenerateDynamicPixQRCode

Overview

The GenerateDynamicPixQRCode method generates dynamic PIX QR codes:

  1. Input Validation
  2. Business-specific validation
  3. Sub-object validation (recurrence, if applicable)
  4. Transactional processing
  5. Dynamic QR code generation and data return

Complete Codes and Messages

CodeMessageScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more detailsJSON model validation failureVerify required fields and data formats sent
Business Validation
EXC0011The original payment value must be greater than 0.00PrincipalValue <= 0 (except for withdrawal)Enter a value greater than zero
EXC0053For the value informed, it is necessary to provide the payer's dataValue requires payer data but none were providedInclude PayerTaxNumber and PayerName for values that require identification
EXC0054The original payment value exceeds the maximum allowed valuePrincipalValue exceeds configured limitVerify BusinessUnit limits or reduce the value
ESE0463Account not foundPerson with TaxNumber not found in the systemVerify if the CPF/CNPJ is correct and registered
ESE0474Business Unit not foundBusinessUnitId does not exist in the systemVerify if the BusinessUnitId is correct
ISI0483The Identifier field can contain a maximum of 255 charactersIdentifier exceeds character limitReduce the size of the Identifier to a maximum of 255 characters
EXC0039PIX QR code with the identifier "{0}" has already been generated previouslyIdentifier already exists for the BusinessUnitUse a unique Identifier or check for existing QR code
RISK0005Unable to generate the paymentPayerTaxNumber is on the deny list (deny list)Verify if the payer is not blocked for QR codes
EXC0050Unable to complete the QR code generationPayer or account validations failedVerify payer data and account configurations
Recurrence Validation (if applicable)
EXC0001Unable to find the Person with the provided TaxNumberPerson not found for recurrenceVerify CPF/CNPJ of the holder
EXC0084The recipient must be a Legal Entity (PJ). Please review the provided dataRecurrence only permitted for Legal EntitiesEnter CNPJ of a legal entity
EXC0033The initial recurrence date must be between 2 and 10 days from today. Select a valid date within this rangeInitialDate outside the allowed intervalEnter a date between 2 and 10 days from today
EXC0031The final date must be after the initial dateEndDate less than or equal to InitialDateEnter an EndDate greater than InitialDate
EXC0038{0} is required when the Recurrence field is presentPayerTaxNumber or PayerName required for recurrenceEnter complete payer data for recurrence
EXC0032Only one of the fields needs to be filled: FinalValue or MaximumValueBoth FinalValue and MaximumValue enteredEnter only one of the value fields
EXC0021It is necessary to fill in {0}.{1} or {0}.{2}Neither FinalValue nor MaximumValue enteredEnter FinalValue or MaximumValue
EXC0022Values.{0} must be greater than 0FinalValue or MaximumValue less than or equal to zeroEnter positive values
EXC0105There is already a PIX Automatic for the Contract informedContract.Identifier already existsUse a unique Identifier for the contract
Processing
ESE1262The informed account does not existAccountHolder or Account not foundVerify account data (Bank, BankBranch, BankAccount, BankAccountDigit)
ESE1264The business unit was not foundBusinessUnit not found during processingVerify if the BusinessUnitId is valid
EXC0009The informed business unit does not have a SPI matchMatchingBusinessUnit SPI not configuredVerify SPI configuration of the BusinessUnit
ESE1263The informed PIX key was not foundPixKey not found or not activeVerify if the PIX key is registered and active
Success
INF0013Method executed successfullyDynamic QR code generated successfullyDynamic QR code created with DocumentNumber, HashCode, and specific data returned

GenerateDynamicPixQRCodeDueDate

Overview

The GenerateDynamicPixQRCodeDueDate method generates dynamic PIX QR codes with a due date:

  1. Input Validation
  2. Address Validations
  3. Business Validation
  4. Processing
  5. Due Date Specific Validations
  6. Dynamic QR code generation with due date and data return

Complete Codes and Messages

CodeMessageScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more detailsJSON model validation failureVerify required fields and data formats sent
ISI0360It is necessary to inform the Address fieldAddress not provided (required field)Provide complete address data
Address Validations
ESE1546The AddressLine field cannot be nulladdress.AddressLine1 empty or nullProvide complete address (street)
ESE1547The State field cannot be nulladdress.State empty or nullProvide state/UF of the address
ESE1548The CityName field cannot be nulladdress.City empty or nullProvide the city of the address
ESE1549The ZipCode field cannot be nulladdress.ZipCode empty or nullProvide the ZIP code of the address
Business Validation
EXC0011The original payment value must be greater than 0.00PrincipalValue <= 0Enter a value greater than zero
EXC0054The original payment value exceeds the maximum allowed valuePrincipalValue exceeds configured limitVerify BusinessUnit limits or reduce the value
ESE0463Account not foundPerson with TaxNumber not found in the systemVerify if the CPF/CNPJ is correct and registered
ESE0474Business Unit not foundBusinessUnitId does not exist in the systemVerify if the BusinessUnitId is correct
ESE1512Invalid expiration timeExpirationDate < DateTime.NowEnter a future expiration date
ESE1513The QR code expiration date must be at least one dayExpirationDate < DateTime.Now.Date.AddDays(1)Enter an expiration date with at least 1 day of notice
ISI0483The Identifier field can contain a maximum of 255 charactersIdentifier exceeds character limitReduce the size of the Identifier to a maximum of 255 characters
EXC0039PIX QR code with the identifier "{0}" has already been generated previouslyIdentifier already exists for the BusinessUnitUse a unique Identifier or check for existing QR code
EXC0003Invalid ZIP codeZipCode with invalid formatEnter a valid ZIP code in the correct format
RISK0005Unable to generate the paymentPayerTaxNumber is on the deny list (deny list)Verify if the payer is not blocked for QR codes
EXC0050Unable to complete the QR code generationPayer or account validations failedVerify payer data and account configurations
Processing
ESE1262The account provided does not existPerson, AccountHolder or Account not foundVerify account data (Bank, BankBranch, BankAccount, BankAccountDigit)
ESE1264The business unit was not foundBusinessUnit not found during processingVerify if the BusinessUnitId is valid
EXC0009The informed business unit does not have a SPI matchMatchingBusinessUnit SPI not configuredVerify SPI configuration of the BusinessUnit
ESE1263The informed PIX key was not foundPixKey not found or not activeVerify if the PIX key is registered and active
ESE0092Configuration error {0} for the BusinessUnitId {1}CnabConfigPixSPI configuration not foundVerify CNAB SPI configuration of the BusinessUnit
Due Date Specific Validations
EXC0014The expiration date cannot be less than the due dateExpirationDate < DueDateEnter an expiration date after the due date
EXC0040The due date cannot be less than the current dateDueDate < DateTime.NowEnter a future due date
Success
INF0013Method executed successfullyDynamic QR code with due date generated successfullyDynamic QR code created with DocumentNumber, ConciliationId, ExpirationDate, HashCode and specific data returned

GetPixQRCodeByIdentifier

Overview

The GetPixQRCodeByIdentifier method queries PIX QR codes by identifier or document number:

  1. Input Validation
  2. Parameter Validation
  3. Business Validation
  4. Processing
  5. Return of complete QR code data

Complete Codes and Messages

CodeMessageScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more detailsJSON model validation failureVerify required fields and data formats sent
Parameter Validation
INF0026Please enter the document number or its identifier to perform the queryNeither Identifier nor DocumentNumber providedEnter at least one of the fields: Identifier or DocumentNumber
INF0018There is no Person with the provided TaxNumber that belongs to the informed BusinessUnitPerson with TaxNumber not found in the systemVerify if the CPF/CNPJ is correct and registered
INF0019QR code not found. Check the provided informationQR code not found or Identifier/DocumentNumber mismatchVerify if the identifier or document number are correct
PIX Key Validation
EXC0032No PIX key foundPixKey not found or invalidVerify if the PIX key is registered and active
Account Validation
EXC0005No data found with the provided informationAccount not found for the PixKeyVerify if the account associated with the PIX key exists and is active
BusinessUnit Validation
EXC0005No data found with the provided informationBusinessUnit not foundVerify if the BusinessUnitId is valid
EXC0008The Business Unit does not allow this actionMatchingBusinessUnit SPI not configuredVerify SPI configuration of the BusinessUnit
INF0020There is no QR code that belongs to the informed Business UnitQR code does not belong to the requesting BusinessUnitVerify if the QR code belongs to the informed BusinessUnit
Success
Success = "true"Query executed successfullyQR code found and data returnedQR code data returned with complete information (Static or Dynamic)

ChangeDynamicPixQRCode

Overview

The ChangeDynamicPixQRCode method allows changing existing dynamic PIX QR codes with the following functionalities:

  1. Input Validation
  2. QR Code Validation
  3. Property Validation
  4. Business Validation
  5. Processing

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more detailsJSON model validation failureVerify required fields and data formats
ESE0463Account not foundPerson (Receiver) not foundVerify if the TaxNumber exists
ESE0474Business Unit not foundBusinessUnit not foundVerify if BusinessUnitId is valid
EXC0003Invalid ZIP CodeZIP Code with invalid formatVerify ZIP code format (00000-000)
QR Code Validation
EXC0002PJ PX QRCDOCEm not found by DocumentNumberQR code not found by DocumentNumberVerify if DocumentNumber is valid
ESE1264Business unit not found during processingBusinessUnit not foundVerify if BusinessUnitId is valid
ESE2046The PIX key linked to the QR code is invalidPIX key linked to QR code is invalidVerify PIX key status
ESE1262The informed account does not existReceiver Person not foundVerify if the ReceiverTaxNumber exists
EXC0006The CPF/CNPJ number informed is invalidReceiver's TaxNumber is invalidVerify receiver's CPF/CNPJ
EXC0007The receiver's name informed is invalidReceiver's name not foundVerify receiver's data
EXC0003No QR code identified for the TaxNumber {0}QR code does not belong to the informed receiverVerify if the QR code belongs to the TaxNumber
ESE1548The CityName field cannot be nullCity not informed in the addressFill in the city in the address
EXC0018The QR code to be updated is not corresponding to the method usedQR code is not of the Immediate typeUse the correct method for the type of QR code
Recurrence Validation
EXC0031Recurrence not foundRecurrence informed but no automatic document existsVerify if the recurrence exists
EXC0078It is not possible to change the PayerTaxNumber field of the recurrenceAttempt to change PayerTaxNumber in recurrencePayerTaxNumber must remain the same
EXC0081The InitialDate field must be equal to or greater than the current dateInitialDate of recurrence in the pastChange InitialDate to a future date
Expiration Date Validation
EXC0043The expiration date cannot be changedAttempt to change the expiration date with a restrictive parameterExpiration date is fixed
EXC0044Expiration date invalidExpiration date null or invalidEnter a valid expiration date
Payer Validation
EXC0020The payer's name must be informedPayerTaxNumber informed without PayerNameFill in PayerName when informing PayerTaxNumber
Transaction Validation (Withdrawal/Change)
EXC0008Invalid transaction typeTransactionPurpose invalidUse: PurchaseOrTransfer, PurchaseWithChange or Withdraw
EXC0009Invalid change typeChangeType invalidUse: None or Allowed
EXC0002The transaction value cannot be changedChangeType cannot be None for withdrawal or changeChangeType must be None for withdrawal and change
EXC0017The withdrawal or change value must be filledTransactionValue null for withdrawal or changeEnter TransactionValue
EXC0010The original payment value must be equal to 0.00PrincipalValue != 0 for withdrawalPrincipalValue must be 0 for withdrawal
EXC0011The original payment value must be greater than 0.00PrincipalValue <= 0 for changePrincipalValue must be > 0 for change
EXC0015The withdrawal value must be greater than 0.00TransactionValue <= 0 for withdrawalTransactionValue must be > 0
EXC0016The change value must be greater than 0.00TransactionValue <= 0 for changeTransactionValue must be > 0
EXC0012Change type must be filled when it is withdrawal or changeTransactionChangeType invalidUse None or Allowed
EXC0013Agent modality must be filled when it is withdrawal or changeAgentModality invalidEnter a valid modality
Parameter Validation
ESE0092Configuration error {0} for the BusinessUnitId {1}CnabConfigPixSPI parameter not configuredConfigure the parameter in the BusinessUnit
EXC0021The PIX withdrawal parameter is disabled for the informed BusinessUnitPIXWithdraw disabledEnable PIXWithdraw in the BusinessUnit
EXC0022The PIX change parameter is disabled for the informed BusinessUnitPIXChange disabledEnable PIXChange in the BusinessUnit
Processing
EXC0042Unable to update the QR codeFailure in communication with the QR code providerTry again or check connectivity
Success
Success = "true"QR code updated successfullyUpdate processed successfullyQR code updated (instant or scheduled)

CancelPixQRCode

Overview

The CancelPixQRCode method cancels PIX QR codes following the flow:

  1. Input Validation
  2. Business Validation
  3. QR Code Search
  4. Property Validation
  5. Parameter and Status Validation
  6. Event and Charge Processing

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more detailsJSON model validation failureCorrect the JSON payload according to the Validation property
Business Validation
ESE0003The business unit '{0}' is invalidBusinessUnit not found by IDVerify if BusinessUnitId is valid and exists
EXC0001Person not found with the provided dataPerson not found by TaxNumberVerify if the document is registered in the system
QR Code Validation - Search and Existence
EXC0002PixQRCodeDocumentNumber not locatedQR code not found by DocumentNumber (QR Code DueDate)Verify if DocumentNumber is valid
Property Validation
EXC0047No QR code identified for the BusinessUnit {0}QR code does not belong to the informed BusinessUnitVerify if QR code belongs to the correct BusinessUnit
EXC0005It is not possible to cancel a QRCode with status {0}QR code is not in a status that allows cancellationQR code must have status 'Processed'
EXC0003No QR code identified for the TaxNumber {0}QR code does not belong to the informed TaxNumberVerify if TaxNumber is the owner of the QR code
Status Validation - Duplicate Cancellation
EXC0019The informed QRCode is already cancelledQR code already has status 'Canceled'QR code cannot be canceled again
Configuration Validation - Parameters
ESE0092Configuration error {0} for the BusinessUnitId {1}CnabConfigPixSPI parameter not configured for the BusinessUnitConfigure CnabConfigPixSPI parameter in the BusinessUnit
Recurrence Validation - Composite QR Code
EXC0078It is not possible to change the PayerTaxNumber field of the recurrencePixAutomatic not found for the recurrence of the composite QR codeVerify if recurrence exists and is valid
EXC0082Invalid cancellation request. The QRCode has already been paid or confirmedComposite QR code is liquidated or PixAutomatic is approvedCannot cancel QR code already liquidated
EXC0084Invalid cancellation request. The QRCode is already cancelled or in errorComposite QR code is already cancelled or in errorQR code has been previously processed
EXC0083Invalid TaxNumber. Only the recipient is authorized to cancel this QRCodeTaxNumber of the requester is different from the TaxNumber of the recipient in the recurrenceOnly the recipient can cancel the QR code