The Independent Suppliers (FINA404) routine submits registration data and independent suppliers payment from Protheus line to RM line.
The submission is executed through the single message EXTERNALAUTONOMOUSPAYMENT.
Considering that the Protheus line environment already has requirement for the use of the integration via single message, the FINA404 routine must be registered in the Adapter EAI (CFGA020) routine.
Example:
Protheus submits the single message EXTERNALAUTONOMOUSPAYMENT in the versions 1.000 and 1.006, and version 1.006 is available int he updating package of the FINA404 routine from may/2021.
Below are data considered in each version:
Tags | Version 1000 | Version 1006 | Protheus Origin |
CompanyId | Send | Send | M0_CODIGO |
BranchId | Send | Send | M0_CODFIL |
InternalId | Send | Send | M0_CODIGO+E2_FILIAL+E2_PREFIXO+E2_NUM+E2_PARCELA+E2_TIPO+E2_FORNECE+E2_LOJA |
CompanyInternalId | Send | Send | M0_CODIGO+M0_CODFIL |
TakerId | Send | Send | M0_CGC |
TakerSpecificId | Send | Send | M0_CEI |
TakerType | Send | Send | It will always be '0' |
AutonomousName | Send | Send | A2_NOME |
DateOfBirth | Send | Send | A2_DTNASC |
AutonomousId | Send | Send | A2_CGC |
RegistrationNumber | Send | Send | A2_CODNIT |
AutonomousOcupationNationalCode | Send | Send | A2_CBO |
AutonomousCategory | Send | Send | A2_CATEG |
SefipEventCode | Send | Send | A2_OCORREN |
IssueDate | Send | Send | E2_EMISSAO |
DueDate | Send | Send | E2_VENCTO |
InitiationDate | Send | Send | E2_EMISSAO |
ServiceNature | Send | Send | A2_INDRUR |
DependentsNumber | Send | Send | A2_NUMDEP |
IRRFDependentsNumber | Send | Send | A2_NUMDEP |
PaymentValue | Send | Send | E2_BASEINS |
INSSValue | Send | Send | E2_INSS |
eSocialAutonomousCategory | - | Send | A2_CATEFD* |
ISSValue | - | Send | E2_ISS |
SESTValue | - | Send | MV_ALSEST x E2_SEST / ED_PERCSES |
SENATValue | - | Send | MV_ALSENAT x E2_SEST / ED_PERCSES |
IRRFValue | - | Send | E2_IRRF |
RemunerationValueWithIRRFIncidence | - | Send | Se ED_IRRFCAR=Sim, envia E2_BASEIRF |
FreightRemunerationValue | - | Send | E2_VALOR |
RemunerationValueWithINSSIncidence | - | Send | E2_BASEINS |
PaymentDate | - | Send | E2_BAIXA |
MultipleEmploymentIndicator | - | Send | FLX_TPREC |
OtherEmploymentId | - | Send | FLX_CNPJ |
OtherEmploymentCategory | - | Send | FLX_CATEFD* |
OtherEmploymentINSSBasis | - | Send | FLX_BASE |
*Available in the continiuous issue dictionary packages of the Financials from October/2021).
The routine has this requirement to submit information:
Supplier linked to the bill must be INDIVIDUAL and has these fields completed:
Field | Description |
A2_NOME | Name |
A2_CGC | CPF/CNPJ |
A2_CBO | Brazilian Classification of Occupations (CBO) |
A2_DTNASC | Birthday |
A2_CODNIT | Worker's Registration Number (NIT) |
A2_CATEG | SEFIP Category |
A2_OCORREN | SEFIP Occurrence |
A2_CATEFD (only from version 1.006) | eSocial category |
For the 1600 version, which enables the submission of data from the bill when it is posted after being integrated, the contents are: