GeneratePixOut

Overview

The GeneratePixOut method executes validations for PIX payments in multiple layers:

  1. Input Validation
  2. PIX Key Validation
  3. Business Validation
  4. Transactional Processing

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014ISE0014 - Input data is invalid. See the Validation property of the json for more details.JSON model validation failureCorrect JSON payload
ISE0052ISE0052 - Please enter a valid payment datePayment date in the pastEnter current or future date
ISE0043ISE0043 - Invalid IdentifierIdentifier not providedProvide valid Identifier
ISE0243ISE0243 - Recipient account must be the same as the sender.Transfer to different TaxNumber when blockedVerify transfer blocking rule
ISI0227ISI0227 - Transfer with the identifier "{0}" has already been generated previously.Duplicate IdentifierUse a unique Identifier
PIX Key Validation
ISI0479ISI0479 - The attribute {0} is invalid for the type {1}Invalid PIX key format for the typeCorrect PIX key format
ISI0440ISI0440 - The attribute {0} is invalidUnrecognized PIX key formatVerify PIX key type and format
ISI0495Invalid {0} sizePIX key empty or invalid sizeEnter a valid PIX key
Business Validation
ISE0048ISE0048 - Invalid transfer destinationToName or ToTaxNumber not providedProvide recipient's data
ISI0613ISI0613 - It is necessary to provide the ToName propertyToName field is requiredProvide recipient's name
ISI0559ISI0559 - It is necessary to provide the ToTaxNumber propertyToTaxNumber field is requiredProvide recipient's CPF/CNPJ
ISI0614ISI0614 - It is necessary to provide the ToBankAccount propertyToBankAccount field is requiredProvide recipient's bank account
ISI0615ISI0615 - It is necessary to provide the ToBankAccountDigit propertyToBankAccountDigit field is requiredProvide recipient's bank account digit
ISI0616ISI0616 - It is necessary to provide the AccountType propertyAccountType field is requiredProvide recipient's account type
EXC0055The PIX must have a valid monetary valueValue with more than 2 decimal placesEnter a value with up to 2 decimal places
PIX Type Validation
EXC0006Banking information not provided or incompleteBanking information not provided for Manual typeProvide complete banking information
EXC0008PIX key not provided for this type {0} of paymentPIX key not provided for type PixKeyProvide a valid PIX key
EXC0001EXC0001 - Invalid key of type {0}, verify.Invalid PIX key for QR Code typesVerify PIX key format
EXC0040SearchProtocol not provided for this type {0} of paymentSearchProtocol not providedProvide a valid SearchProtocol
EXC0046There is already a PixOut generated with the provided SearchProtocolSearchProtocol already usedUse a new, unique SearchProtocol
Banking Validation
EXC0001It is necessary to provide the ToBank or ToISPB fieldToBank and ToISPB not providedProvide bank code or ISPB
EXC0057The sum between the BankAccount and BankAccountDigit fields must be 1 to 20 digitsBank account with invalid sizeAdjust account to 1-20 digits
EXC0063ISPB not found for the bank with code: {0}Bank without configured ISPBVerify bank configuration
Success
INF0004PIX payment request received successfully.PIX processed successfullyTransaction initiated successfully

CancelPixOut

Overview

The CancelPixOut method executes validations for PIX cancellation in multiple layers:

  1. Input Validation
  2. Business Validation
  3. Transactional Processing
  4. Status and Permission Validation

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014ISE0014 - Input data is invalid. See the Validation property of the json for more details.JSON model validation failureCorrect JSON payload
Business Validation
ESE0003ESE0003 - The business unit '{0}' is invalid.BusinessUnit not foundVerify valid BusinessUnitId
EXC0001EXC0001 - Person not found with the provided data.Person not found by TaxNumberVerify CPF/CNPJ informado
Transactional Validation
DISP0070Transaction not found. Verify the provided information and try again.PixOut not found or banking information divergentVerify transaction data
DISP0071It is not possible to cancel a transaction with the status {0}.PIX status does not allow cancellationVerify current transaction status
Status Validation
EXC0019It is not possible to request the cancellation of a PIX that is already cancelled.PIX already cancelled previouslyVerify transaction status
EXC0056It is not possible to request the cancellation of a PIX that is already in processing in the SPI.PIX in processing in SPIWait for processing completion
Success
INF0014PIX payment cancellation request received successfully.Cancellation processed successfullyCancellation initiated successfully

Cancellation Conditions

PIX StatusCan CancelAction Executed
CreatedYesDirect Cancellation
CanBeRegisterYesDirect Cancellation
RegisteredNoEXC0056 - In processing
SettledNoEXC0019 - Already settled
CanceledNoEXC0019 - Already cancelled
ErrorNoDISP0071 - Invalid status
  • With Entry: Cancels postings and updates to PreCanceled
  • Without Entry: Cancels directly and updates to Canceled

GenerateRefundPixIn

Overview

The GenerateRefundPixIn method processes PIX refunds received with complete validations in multiple layers:
Main Flow:

  1. Input Validation
  2. Mapping and Transformation
  3. Business Validation
  4. Configuration and Infrastructure
  5. Account Structure
  6. Validation of the Original PIX
  7. Value and Deadline Rules

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014ISE0014 - Input data is invalid. See the Validation property of the json for more details.JSON model validation failureVerify required fields and data formats
Mapping and Transformation
ISE0062ISE0062 - DocumentNumber invalid.DocumentNumber does not correspond to valid PIXVerify if DocumentNumber exists
ISE0048ISE0048 - Invalid transfer destinationRecipient's data diverges from the original PIXValidate recipient's original data
ISE0032ISE0032 - It is not possible to perform a transfer to a user not registered in our system.Payer not foundVerify payer's registration
Business Validation
ISI0227ISI0227 - Transfer with the identifier "{0}" has already been generated previously.Duplicate IdentifierUse a unique Identifier
Configuration and Infrastructure
ESE0023ESE0023 - Transfer value must be greater than R$ 0Invalid value ≤ 0Enter a positive value
ESE0092ESE0092 - Configuration error {0} for the BusinessUnitId {1}PIX SPI configuration not foundConfigure CnabConfigPixSPI parameter
EXC0058EXC0058 - PIX service unavailable. Try again later.Continuous execution is inactiveWait for service availability
ESE0007ESE0007 - No tax found for the business unit '{0}' and the type of operation '{1}'.Tax not configuredConfigure tax for RefundPixIn
Account Structure
EXC0001EXC0001 - No account enabled for SPI type.Matching business unit not found for SPIConfigure matching for SPI
ASE0002ASE0002 - No account holder registered for the document '{0}' of the person informed.Account holder not foundVerify account holder registration
ASE0003ASE0003 - No account registered for the account holder '{0}' and the business unit '{1}' informed.SPI account not foundVerify SPI account or matching
SQL0013SQL0013 - Origin account is blocked.Account limited for transferring to third-partyUse a non-limited account or same holder
Original PIX Validation
EXC0006EXC0006 - Unable to find the PIX informedPIX not found by DocumentNumberVerify if PIX exists
EXC0008EXC0008 - The recipient informed does not correspond to the PIXRecipient's data does not matchValidate recipient's banking data
EXC0007EXC0007 - The payer informed does not correspond to the PIXPayer's data does not matchValidate payer's banking data
EXC0014EXC0014 - Business unit is not consistent with the original receipt.Incompatible business unitUse the same BU as the original PIX
EXC0027EXC0027 - The Identifier informed does not correspond to the DocumentNumberIdentifier and DocumentNumber inconsistentVerify data consistency
Value and Deadline Rules
EXC0001EXC0001 - Refund value is less than or equal to zeroInvalid refund valueEnter a positive value
EXC0002EXC0002 - Total refund value is greater than the original PIX valueRefund value exceeds originalVerify previous refunds
EXC0003EXC0003 - Payment date exceeds the 90-day deadlineDeadline exceededPIX beyond the return deadline
EXC0004EXC0004 - The refund value is greater than the original PIX valueIndividual refund value exceeds PIXUse a refund value ≤ original

GetPixOutByDate

Overview

The GetPixOutByDate method queries PIX payments by period and has rigorous validations:

  1. Input Validation
  2. Business Validations
  3. Transaction Query
  4. Data Processing and Formatting

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more details.JSON model validation failureVerify required fields and data formats
Business Validations
EXC0024There is no person with the TaxNumber informed that belongs to the BusinessUnit informed.TaxNumber not found in the BusinessUnitVerify if the TaxNumber is correct and belongs to the BusinessUnit
EXC0027Unable to find the AccountHolder.AccountHolder not found for the personVerify if the person has a registered account
EXC0028Unable to find a Business Unit.MatchingBusinessUnit not found for SPIVerify if the BusinessUnit is enabled for PIX
EXC0059No account registered for the holder in the business unit '{0}' informed, please enter the correct data.Account not found with banking dataVerify banking data (Bank, Bank Branch, Account, Digit)
EXC0034The date(s) informed cannot be null.StartDate or EndDate nullEnter start and end dates
EXC0023Invalid date range - The end date cannot be less than the start date.EndDate less than StartDateCorrect the query period
EXC0025The page size must be greater than zero.PageSize ≤ 0Enter a PageSize greater than zero
EXC0026The Index provided must be greater than or equal to zero.PageIndex < 0Enter a PageIndex ≥ 0
Processing
EXC0035No PIX payments found for this date rangeNo PIX payment found in the periodVerify the period or expand the query
EXC0048EXC0048 - Unable to find a Bank for the payer with the Code {0}.Bank not found by codeVerify the bank code in the database
Success
INF0013Method executed successfully.Query executed successfullyData returned correctly

GetPixInByDate

Overview

The GetPixInByDate method queries PIX payments received by period:

  1. Input Validation
  2. Business Unit and SPI Account Validation
  3. Holder and Account Validation
  4. PIX Payment Query
  5. Paginated Data Return

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more details.JSON model validation failureVerify required fields and data formats
ISE0085It is necessary to enter a valid initial and final dateInitial or final date not provided or invalidEnter valid dates in the StartDate and EndDate fields
ISE0303The page size must be greater than zero and the index must be greater than or equal to zeroPageSize ≤ 0 or PageIndex < 0Enter a PageSize > 0 and PageIndex ≥ 0
Business Validation
ESE0474Business Unit not foundBusinessUnitId does not exist in the systemVerify if the BusinessUnitId is correct
ESE1312Account not enabled to operate in the SPI systemBusiness Unit does not have SPI configurationVerify SPI account configuration
EXC0002Unable to find the Person with the TaxNumber informedCPF/CNPJ not found in the systemVerify if the TaxNumber is correct
ESE0270Unable to find an AccountHolder with the Id {0} and BusinessUnit {1}Person does not have an AccountHolder in the BusinessUnitVerify if the person has an account in the informed unit
EXC0059No account registered for the holder in the business unit '{0}' informed, please enter the correct data.Account with specific banking data not foundVerify banking data (Bank, Bank Branch, Account, Digit)
Processing
EXC0061No PIX payments received for this date rangeNo PIX payment found in the periodVerify the period or expand the date range
Success
INF0013Method executed successfully.Query executed successfullyData returned correctly

GetPixOutById

Overview

The GetPixOutById method queries a specific PIX sent by ID:

  1. Input Validation
  2. Business Validation
  3. PIX Payment Transaction Query
  4. Transaction Data Return

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more details.JSON model validation failureVerify required fields and data formats
Business Validation
EXC0024There is no person with the TaxNumber informed that belongs to the BusinessUnit informed.TaxNumber not found in the BusinessUnitVerify if the TaxNumber is correct and belongs to the BusinessUnit
EXC0027Unable to find the AccountHolder.AccountHolder not found for the personVerify if the person has a registered account
EXC0028Unable to find a Business Unit.MatchingBusinessUnit not found for SPIVerify if the BusinessUnit is enabled for PIX
EXC0029Unable to locate the account.Account not found for the AccountHolder in the BusinessUnit SPIVerify if there is a registered SPI account for the holder in the business unit
EXC0058Must provide a valid DocumentNumber or Identifier.Neither DocumentNumber nor Identifier was provided in the requestProvide at least one of the fields: DocumentNumber or Identifier
EXC0059No account registered for the holder in the business unit '{0}' informed, please enter the correct data.Account not found with banking dataVerify banking data (Bank, Bank Branch, Account, Digit)
Processing
EXC0033No PIX payment found with the provided IDPixOut not found by specific IDVerify if the transaction ID is correct
EXC0048EXC0048 - Unable to find a Bank for the payer with the Code {0}.Bank not found by codeVerify the bank code in the database
Success
INF0013Method executed successfully.Query executed successfullyTransaction data returned correctly

GetPixInById

Overview

The GetPixInById method queries a specific PIX received by different identifiers:

  1. Input Validation
  2. Business Validation
  3. PIX Payment Transaction Query
  4. Data Consistency Validation
  5. Response Assembly

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Input data is invalid. See the Validation property of the json for more details.JSON model validation failureVerify required fields and data formats
EXC0018Please inform the DocumentNumber or EndToEndId or ConciliationId.No identifier providedProvide at least one of the identifiers
Business Validation
EXC0002CPF/CNPJ not foundPerson not found by TaxNumberVerify if the CPF/CNPJ is correct
EXC0005Unable to find the account information of the payerAccountHolder not found for the personVerify if the person has an account in the system
EXC0004Error {0} for BusinessUnitId {1} configurationsMatchingBusinessUnit SPI not configuredVerify SPI configuration of the BusinessUnit
EXC0003Account not foundAccount not found with the provided banking dataVerify banking data (Bank, Bank Branch, Account, Digit)
Transaction Processing
EXC0019Transaction not found with the provided dataPixIn not found by identifierVerify if the identifier is correct
EXC0019Transaction not found with the provided dataIdentifier data inconsistencyVerify consistency between identifiers
EXC0019Transaction not found with the provided dataBusinessUnit of the transaction does not matchVerify if the transaction belongs to the informed BusinessUnit
EXC0019Transaction not found with the provided dataBanking data does not match the transactionVerify if banking data corresponds to the transaction
EXC0023EXC0023 - Receipt in process. Try again in a few moments.PixInNote not foundWait for processing or verify transaction status
EXC0023EXC0023 - Receipt in process. Try again in a few moments.Note not foundWait for processing or verify transaction status
EXC0023EXC0023 - Receipt in process. Try again in a few moments.Operation not foundWait for processing or verify transaction status
Success
INF0013Method executed successfullyQuery executed successfullyTransaction data returned correctly