You are on page 1of 67

LAD Consulting Localizations

Oracle EBS Mapping for Fiscal


SPED, Accounting SPED and
Electronic Invoice

Author: LAD Consulting Localizations


Creation Date: May-01-08
Last Updated: Dec-12-08
File URL: http://www.oracle.com.br/
Draft / Version: 1.1
Status: IN PROCESS
Document Control
Change Record

Date Author Version Change Reference

May-01-2008 Gustavo Meni Draft A First draft.


Jun-16-08 Gustavo Meni Draft B Revision of document by adding standard product information and
adjustments based on reviser comments.
Jul-18-2008 Gustavo Meni Draft C Disclaimer updates.
Dec-12-2008 Marcos Allonso 1 Changed table names
Dec-16-2008 Gesiane Toryi 1.1 Attribute names correction

Contributors

Name Organization Title

Roberto Silva EBS Financial Development Senior Manager


Carlos Romboli LAD Consulting Localizations Fiscal Specialist
Aurélio Neto EBS Product Strategy Product Manager

Reviewers

Name: Role Title Date Reviewed

Silvia Tonissi LAD Consulting Localizations Mngt Practice Manager


Odair Aguiar Customer Care Senior Director Senior Director
Hernan Tojo Product Strategy LAD Product Strategy Director

Approvers

Name: Role Title Date Approved

Eric Brenner LAD Oracle Consulting LAD Consulting VP


Elisabete Waller Oracle Brazil APPS Sales VP BR

Document References

Document Title Type of Reference Document Location

Requirement Definition Document - Business Requirement Document http://files.oraclecorp.com/app/HomePage$fw


Brazilian SPED (Public System of Digital durl=http%3A$|$|files.oraclecorp.com$|conte
Bookkeeping) Requirements nt$|AllPublic$|SharedFolders$|EBS%2520Rel
ease%2520Planning-Public$|Scope%2520-
%2520BRDs$|FIN$|Global$|GLOB-
2887_BRD_Brazil_SPED_Reports_V1.8.doc

Oracle do Brasil – LAD Consulting Localizations Page 2 of 67


Index
1. Introduction................................................................................................................. 4
2. Releases....................................................................................................................... 5
3. Definitions................................................................................................................... 6
4. Business Requirement................................................................................................. 7
4.1 Business Requirement Pertinent to Standard Product ........................................ 7
4.2 Business Requirement Pertinent to LAD Consulting Localizations................... 7
5. Solution Analysis ........................................................................................................ 8
5.1 General Overview ............................................................................................... 8
6. New Attributes for NFE and Fiscal SPED in LAD Consulting Localizations ......... 10
6.1 Description........................................................................................................ 10
6.2 Invoice Header in Integrated Receipt ............................................................... 10
6.3 Invoice Lines in Integrated Receipt .................................................................. 12
6.4 Taxpayer in the States in Release 11i ............................................................... 16
6.5 Storage of Outgoing Invoice Observation Field in R11.5.10 and R12............. 17
7. New Attributes for NFE and Fiscal SPED in the Standard Product ......................... 18
7.1 Description........................................................................................................ 18
7.2 Company Information Registration .................................................................. 18
7.3 Client Entry in Receivables .............................................................................. 19
7.4 Supplier Entry in Payables/Purchasing............................................................. 19
7.5 Transporter Registration ................................................................................... 19
7.6 Order Management Deliveries .......................................................................... 20
7.7 Item Registration............................................................................................... 21
7.8 Receivables “Batch Source” Registration......................................................... 21
7.9 Receivables “Transaction Type” Registration .................................................. 22
7.10 Entry of Receivables Invoices (invoice cover) ................................................. 22
7.11 Tax Code Registration in Receivables .............................................................. 24
8. Information Directed at the Fiscal Bookkeeping System ......................................... 25
8.1 Description........................................................................................................ 25
8.2 Record Mapping................................................................................................ 25
8.3 Attribute Mapping............................................................................................. 28
9. Information to be Mapped in the Project .................................................................. 45
9.1 Description........................................................................................................ 45
9.2 Flexible Information in Oracle EBS Requiring Adjustments during Integration
45
9.3 Records with Information Not Included in Oracle EBS ................................... 53
10. Integration Update .................................................................................................. 57
10.1 APIS and Open Interfaces................................................................................. 57
10.2 Modifications in the CAIBR Views for R11i ................................................... 57
10.3 Modifications for R12....................................................................................... 62
11. Appendix: A – Fiscal SPED Record List................................................................ 63

Oracle do Brasil – LAD Consulting Localizations Page 3 of 67


1. Introduction
This document is designed to clarify which Oracle EBS solution will be used to
fulfill three new Brazilian legal requirements:
Federal Electronic Invoice
Fiscal SPED (EFD – Digital Fiscal Bookkeeping)
Accounting SPED
To fulfill the legal requirements associated with Fiscal and Accounting SPED
and Electronic Invoice, Oracle adopted the strategy of working with its fiscal
Independent Software Vendor (ISV) partners who participate in the AIA
program for EBS, offered by the Alliances area to generate files for delivery to
the Brazilian Internal Revenue Service.
• Fiscal SPED and Electronic Invoice
The LAD Consulting Localizations area worked on two different
fronts: internal projects to adjust integration with these named partners. The
second front was the creation of attributions in the localization products to meet
SPED requirements.
At the same time, other teams worked to collect information on the
standard products.
This document provides the details on the new attributes and also the
new registrations that must be included in Oracle EBS to meet the requirements
of Fiscal SPED and the NFE (Electronic Invoice).
The mapping is based on the EFD layout published by the COTEPE
(permanent technical commission) ACT dated 9/2008; and the NFE is based on
the Taxpayer Integration Manual - version 2.0.2.
• Accounting SPED
In terms of Accounting SPED, the Localization area is working to open
yet another level in the accounting structure of the Integrated Receipt module so
that in the integration with the ISV, it can search for “the participant,” or in
other words, the individual that started the operation.

IMPORTANT: Despite the efforts of the Oracle Development and


Localizations area to provide exact specifications, the information provided
in this document is subject to change, granted that the final solution design
for the SPED project is still under construction. Clients and ISVs must be
aware and prepared to make more changes during the integration process
as the result of any potential changes that may come to be introduced after
releasing this document.

Oracle do Brasil – LAD Consulting Localizations Page 4 of 67


2. Releases
• R11i --> 11.5.10
The updates made by the Localizations area are applied in this new version
and supported.
• R12
The same attributes that were created for R11i will be created for Integrated
Receipt and are supported.

Oracle do Brasil – LAD Consulting Localizations Page 5 of 67


3. Definitions
NFE – Electronic Invoice
This initiative is being implemented by the government at different phases
and will replace the current invoice printing process (Model 1 and Model
1A) with the issue of an electronic file in XML format.

DANFE
Printed document that will circulate together with merchandise.

SEFAZ
Brazilian Internal Revenue Service

Fiscal SPED (Digital Fiscal Bookkeeping)


This initiative replaces several legal reports provided today by partner fiscal
bookkeeping solutions for electronic files.

Oracle do Brasil – LAD Consulting Localizations Page 6 of 67


4. Business Requirement

4.1 Business Requirement Pertinent to Standard Product

4.1.1.1 Absence of Attributes for NFE and Fiscal SPED - R11.5.10 and R12
There is a great amount of NFE- and Fiscal SPED-related information
identified as being of common interest to the entire market and which is
currently not found in the standard product, such as information on the
Outgoing Invoice (Receivables) and item registration (Inventory). Such
information is important for ensuring that, during integration with fiscal
partners, the NFE validity can be confirmed, and for guaranteeing that the
information is forwarded to the Fiscal SPED.
The same requirement is valid for R12.

4.2 Business Requirement Pertinent to LAD Consulting Localizations

4.2.1.1 Absence of Attributes for NFE and Fiscal SPED in Integrated


Receipt - R11.5.10 and R12
There is a great amount of NFE- and Fiscal SPED-related information
identified as being of common interest to the entire market and which is
currently not found in Integrated Receipt for R11.5.10. Such information is
important for ensuring that, during integration with fiscal partners, the NFE
validity can be confirmed, and for guaranteeing that the information is
forwarded to the Fiscal SPED.
The same requirement is valid for R12.

4.2.1.2 New State Taxpayer Registration in Release 11.5.10


It is necessary for the taxpayer to list his or her legal entities by State, also
registering the CNPJ (Federal Tax ID) and State Registration Number.

4.2.1.3 Outgoing Invoice Observation Field in 11.5.10 and R12


There is currently no fixed field in EBS for storing the “Observation”
information found in the Invoice. This is due to the fact that each client has
its own way of handling such information, with the projects responsible for
creating a personalized logic based on the needs of each client.

Oracle do Brasil – LAD Consulting Localizations Page 7 of 67


5. Solution Analysis
5.1 General Overview
The analysis performed by the Oracle Localizations area, fiscal partners
participating in the AIA Program and fiscal area specialists in terms of the
relationship between the information requested by Fiscal SPED and the
Electronic Invoice and Oracle EBS concluded the following:

5.1.1.1 Information Originating in Oracle EBS that is Mapped Based


on Pre-existing Account Ledgers.
This group of information includes the largest portion of the requested
attributes and the fiscal partners are already aware of it. The current
Technical Reference Manual (TRM) of CAI in 11i presents the source of
the information associated with the account ledgers and can be obtained
through Metalink.

5.1.1.2 New Attributes for NFE and Fiscal SPED at LAD


Consulting Localizations
New attributes include the information required in Fiscal SPED and
Electronic Invoice that is currently not included in Oracle EBS. They are
new fields for entering tax documents (Integrated Receipt module). This
new information will be added to the cover and lines of the document in
Integrated Receipt. In addition to the new Integrated Receipt attributes, the
new information associated with the company and Outgoing Invoice
observation field will be included in the EBI CEB.
Chapter 6 provides the mapping of these new attributes.

5.1.1.3 New Attributes for NFE and Fiscal SPED in the


Standard Product
New attributes include the information required in Fiscal SPED and
Electronic Invoice that is currently not included in Oracle EBS. They are
new fields associated with the outgoing document (AR Invoice) and also the
attributes associated with the supplier, client and transporter, in addition to
the new attributes associated with the inventory items.
Chapter 7 provides the mapping of these new attributes.

5.1.1.4 Information Directed at the Fiscal Bookkeeping System


A set of attributes requested in Fiscal SPED and Electronic Invoice were
directed at the fiscal systems. This work was developed in participation
with two partner companies: Mastersaf and Synchro.
Chapter 8 provides the mapping of these attributes.

IMPORTANT: The present mapping on this topic represents the


current state of the data and should be revised together with the
supplier companies of your fiscal bookkeeping system. The data to be
presented is exclusively informative in nature.

Oracle do Brasil – LAD Consulting Localizations Page 8 of 67


5.1.1.5 Information to be Mapped in the Project
A set of attributes requested in Fiscal SPED and Electronic Invoice must be
mapped in the project due to the fact that they did not originate in Oracle
EBS or have a probable origin in Oracle EBS. However, given the system
flexibility, it is not possible to determine a fixed site as the origin (example:
information on AR Invoice taxes).
Chapter 9 provides the mapping of these attributes.

Oracle do Brasil – LAD Consulting Localizations Page 9 of 67


6. New Attributes for NFE and Fiscal SPED in LAD Consulting Localizations

6.1 Description
New attributes include the information required in Fiscal SPED and Electronic Invoice that is currently not included in Oracle EBS.
They are new fields for entering tax documents (Integrated Receipt module) as well as in EBI BS.
The following are the technical details of the solution with the indication for the associated SPED record.
“Appendix A” at the end of the document specifies each record mentioned in this document.

6.2 Invoice Header in Integrated Receipt


The following is the necessary information for Fiscal SPED that will be included on the invoice cover.
TABLE: REC_INVOICES

Attribute Name Type New Attribute Description Special Logic / Observations Record
COMMENTS LONG Free text with the complementary For entries only when there is reference to 0450
information existing in the tax tax document. For example, when
document, including the type of legal returning the original invoice. (Item
norms, normative power, number, 2.4.2.4 of the AC)
capitulation, date and other pertinent
references associated with the tax.

Oracle do Brasil – LAD Consulting Localizations Page 10 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record
VEHICLE_OPER_ VARCHAR2 Indicator of operation type with the Value List based on lookup C175
TYPE vehicle: 0-Sale to dealer; 1-Direct
billing; 2-Direct sale; 3-Dealer sale;
9-Others;

VEHICLE_SELLER NUMBER CNPJ (Federal Tax ID) of the dealer in Use CNPJ validation C175
_DOC_NUMBER cases of direct sale.
VEHICLE_SELLER VARCHAR2 Dealer state acronym Validate through comparison with state C175
_STATE_ID list (REC_STATES table)
VEHICLE_CHASSI VARCHAR2 Vehicle chassis For the purchase of a new vehicle C175

THIRD_PARTY_ NUMBER Total amounts charged on behalf of The informed amount must be added in C500
AMOUNT third parties (gas / phone bills) the document total. D500

ABATEMENT_ NUMBER Non-taxed and non-commercial It is not the commercial discount that C100
AMOUNT deduction. For example, a ICMS currently exists.
discount in the remittances to ZFM. This amount will be included in the
document total.

IMPORT_ VARCHAR2 Import document: Create lookup with value list C120
DOCUMENT_TYPE 0 – Import Declaration
1 – Simplified Import Declaration

ELECTRONIC_ VARCHAR2 Electronic Invoice Key 44 positions (complete No.) C100


INVOICE_KEY
PROCESS_ VARCHAR2 Identification of the legal process. 20 positions - free C111
INDICATOR

Oracle do Brasil – LAD Consulting Localizations Page 11 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record
PROCESS_ORIGIN VARCHAR2 Process source indicator: 0-Sefaz, Create lookup with value list C111
1-Federal Justice, 2-State Justice,
3-Secex/SRF, 9-Others;

SUBSERIES VARCHAR2 Tax document sub-series Free C113

ICMS_FREE_ Number Total amount of services that are not Information exists for energy and C500
SERVICE_ taxed by ICMS gas invoices. D500
AMOUNT This amount will be included
in the invoice total.

6.3 Invoice Lines in Integrated Receipt


The following is the necessary information for Fiscal SPED that will be included in the invoice lines.
TABLE: REC_INVOICE_LINES

Attribute Name Type New Attribute Description Special Logic / Observations Record
IPI_TRIBUTARY_ Varchar2 Tax Situation Code associated with the IPI OBS: The code included on the NFE is C170
CODE (Industrial Product Tax), based on the not the same as that used for entry.
table included in Item 4.3.2 Create lookup with value list

00-Entry with credit recovery


01-Taxed entry with zero tax rate
02-Exempt entry

Oracle do Brasil – LAD Consulting Localizations Page 12 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record
03-Non-taxed entry
04-Immune entry
05-Entry with suspension
51-Taxed output with zero tax rate
52-Exempt output
53-Non-taxed output
54-Immune output
55-Output with suspension
49-Other entries
50-Taxed output
99-Other outputs
IPI_TRIBUTARY_ Varchar2 IPI legal applicability code as per the Free field to be filled out C170
TYPE table included in Item 4.5.3.
The Federal Internal Revenue Service did
not release the table. Accordingly, the
release of the table by the government
remains pending.
This is the same code that appears on
the NFE.
PIS_TRIBUTARY_ Varchar2 Tax Situation Code associated with PIS Creation of a lookup for use on the C170
CODE (Social Integration Program), as per the value list.
table included in Item 4.3.4. Will use the same table as that for the
NFE. This is the same code that appears
01 – Taxable Operation (calculation on the NFE.
base = operation amount
normal rate (cumulative/non-cumulative));
02 – Taxable Operation (calculation
base = operation amount
(differentiated rate));

Oracle do Brasil – LAD Consulting Localizations Page 13 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record
03 – Taxable Operation (calculation
base = quantity sold vs.
rate per product unit);
04 – Taxable Operation
(single-phase taxation (zero rate));
06 – Taxable Operation (zero rate);
07 – Operation Exempt from Contribution;
08 - Operation with no Incidence
of Contribution;
09 – Operation with Suspended
Contribution;
99 – Other Operations;
COFINS_TRIBUTAR Varchar2 Tax Situation Code associated with Creation of a lookup for use on the C170
Y_CODE COFINS (Social Security Financing Tax), value list.
as per the table included in Item 4.3.5. Will use the same table as that for the
NFE. This is the same code that appears
01 – Taxable Operation on the NFE.
(calculation base = operation amount
normal rate (cumulative/non-cumulative));
02 – Taxable Operation (calculation
base = operation amount
(differentiated rate));
03 – Taxable Operation
(calculation base = quantity sold vs.
rate per product unit);
04 – Taxable Operation
(single-phase taxation (zero rate));
06 – Taxable Operation (zero rate);
07 – Operation Exempt from

Oracle do Brasil – LAD Consulting Localizations Page 14 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record
Contribution;
08 - Operation with no Incidence
of Contribution;
09 – Operation with Suspended
Contribution;
99 – Other Operations;

PIS_AMOUNT Number Total PIS C100


(Social Integration Program) value C170
C500
D100
D500
COFINS_AMOUNT Number Total COFINS C100
(Social Security Financing Tax) value C170
C500
D100
D500
PIS_BASE_ Number PIS calculation base value PIS and COFINS are values that come C170
AMOUNT from the NFE

PIS_TAX_RATE Number PIS rate (percentage) C170

PIS_QTY Number Quantity – PIS calculation base C170

PIS_UNIT_AMOUNT Number PIS rate (in reais) C170

COFINS_BASE_ Number COFINS calculation base value C170


AMOUNT

Oracle do Brasil – LAD Consulting Localizations Page 15 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record
COFINS_TAX_RAT Number COFINS rate (percentage) C170
E
COFINS_QTY Number Quantity – COFINS calculation base C170

COFINS_UNIT_AM Number COFINS rate (reais) C170


OUNT

6.4 Taxpayer in the States in Release 11i


This registration must be filled out using a new screen to be developed by the Localizations area only in Release 11i.
TABLE: BS_EBI_TAXPAYER_UF

Attribute Name Type Description Observation Record


SET_OF_BOOKS_ID Number Legal Entity (taxpayer) Link com JL_BR_COMPANY_INFOS 0015
ACCOUNTING_ Varchar2 NFE
BALANCING_
SEGMENT
STATE_CODE Varchar2 State acronym Use state value list 0015
NFE
TAXPAYER_ Varchar2 CNPJ/CPF (Federal Tax ID/Individual Use CNPJ validation 0015
STATE_CNPJ Taxpayer No.) of taxpayer in state NFE

TAXPAYER_ Varchar2 State Registration No. of taxpayer Use CNPJ validation 0015
STATE_IE in state NFE
C115

Oracle do Brasil – LAD Consulting Localizations Page 16 of 67


6.5 Storage of Outgoing Invoice Observation Field in R11.5.10 and R12
Currently, the Observation field in Invoices is different for each project. Accordingly, this localization will
be created to that when implementing SPED, the client can use customization to include its solution via
“hook” and ensure a standardized result regardless of the solution it adopts. This standardization is
important for ensuring that the account ledgers can access this information in a single field during
all implementations.

TABLE: BS_EBI_CUSTOMER_TRX_NFE
Attribute Name Type Description Observation Record
CUSTOMER_TRX_ID Number Link with
RA_CUSTOMER_TRX_ALL
INVOICE_ LONG Observations When the invoice advances to the 0450
COMMENTS "Complete" stage, it must include the /NFE
Invoice observation for this attribute C110

Oracle do Brasil – LAD Consulting Localizations Page 17 of 67


7. New Attributes for NFE and Fiscal SPED in the Standard Product

7.1 Description
New attributes include the information required in Fiscal SPED and Electronic Invoice that is currently not included in Oracle EBS.
They are new fields associated with the outgoing document (AR Invoice) and also the attributes associated with the supplier, client
and transporter, in addition to the new attributes associated with the inventory items.
The following are the technical details of the solution with the indication for the associated SPED record.
“Appendix A” at the end of the document specifies each record mentioned in this document.

7.2 Company Information Registration


Table: JL_BR_COMPANY_INFOS

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
Suframa_Inscription_ Character(9) SUFRAMA Inscription Number Entity registration with the 0000
Number Superintendence of the Manaus
Free Trade Zone (SUFRAMA).
Commercial_Name Character Commercial Name Commercial name associated 0005
with the corporate name.
Phone Character Phone Number Phone Number. 0005
Fax Character Fax Number Fax Number. 0005
Email_Address Character "Email" E-mail Address. 0005
CNAE_Code Character CNAE Code Fiscal CNAE (National NFE
Classification of Economic
Activities)

Oracle do Brasil – LAD Consulting Localizations Page 18 of 67


7.3 Client Entry in Receivables
TABLE: HZ_CUST_ACCT_SITES_ALL

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character(9) SUFRAMA Inscription Number Participant registration number in 0150 NFE
10 SUFRAMA.

7.4 Supplier Entry in Payables/Purchasing


TABLE: PO_VENDOR_SITES_ALL

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character(9) SUFRAMA Inscription Number Participant registration number in 0150
17 SUFRAMA.

7.5 Transporter Registration


TABLE: ORG_FREIGHT

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character(9) SUFRAMA Inscription Number Participant registration number in 0150
9 SUFRAMA.

Oracle do Brasil – LAD Consulting Localizations Page 19 of 67


7.6 Order Management Deliveries

OBS: The information of this screen/table will be sent to AR for storage in the Outgoing Invoice.

TABLE: WSH_NEW_DELIVERIES

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character(2) Vehicle Plate State Code Vehicle Plate State Code NFE
4
GLOBAL_ATTRIBUTE Character (20) Vehicle ANTT Inscription National Cargo Transport NFE
5 Inscription (ANTT)

GLOBAL_ATTRIBUTE Character(8) Towing Vehicle Plate Towing vehicle plate NFE


6
GLOBAL_ATTRIBUTE Character(2) Towing Vehicle Plate State Code Towing Vehicle Plate State Code NFE
7
GLOBAL_ATTRIBUTE Character (20) Towing Vehicle ANTT Inscription National Towing Cargo Transport NFE
8 Inscription (ANTT)

GLOBAL_ATTRIBUTE Character (60) Seal Number Seal Number NFE


9

Oracle do Brasil – LAD Consulting Localizations Page 20 of 67


7.7 Item Registration
TABLE: MTL_SYSTEM_ITEMS_B

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character Alphanumeric Barcode Alphanumeric barcode, if 0200
10 applicable.

GLOBAL_ATTRIBUTE Numeric(4) Service Code Service code based on the list in 0200
11 Appendix I of Federal
Complementary Law 116/03.
GLOBAL_ATTRIBUTE Character ANP Fuel Code Fuel code based on the table 0206 NFE
12 published by ANP (National
Petroleum Agency)
GLOBAL_ATTRIBUTE Character (14) Global Trade Item Number Code EAN8 or EAN13 NFE
13
GLOBAL_ATTRIBUTE Character(3) EX Code EX code, based on TIPI 0206 NFE
14

7.8 Receivables “Batch Source” Registration


TABLE: RA_BATCH_SOURCES_ALL

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character Invoice Series Tax Document Series C113 NFE
3

Oracle do Brasil – LAD Consulting Localizations Page 21 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Numeric Invoice Sub-Series Tax Document Sub-Series C113
4
GLOBAL_ATTRIBUTE Character Electronic Invoice Issuing Source Electronic Invoice Issuing Source NFE
5
GLOBAL_ATTRIBUTE Character (2) Tax document Code Tax Document Code, based on C100 NFE
6 Table 4.1.1

GLOBAL_ATTRIBUTE Numeric(1) Printing Orientation Printing Orientation (Portrait / NFE


7 Landscape)

7.9 Receivables “Transaction Type” Registration


TABLE: RA_CUST_TRX_TYPES_ALL

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Numeric(1) Electronic Invoice Issuing Purpose Electronic Invoice Issuing Purpose NFE
5 (1= Normal NFE - 2=
Complementary NFE, 3=
Adjustment NFE

7.10 Entry of Receivables Invoices (invoice cover)


TABLE: JL_BR_CUSTOMER_TRX_EXTS (extension of RA_CUSTOMER_TRX_ALL)

Attribute Name Type New Attribute Description Special Logic / Observations Record Use
Legal_Process_Code Character (60) Legal Process Code Legal Process Code. C111

Oracle do Brasil – LAD Consulting Localizations Page 22 of 67


Attribute Name Type New Attribute Description Special Logic / Observations Record Use
Legal_Process_ Character(1) Legal Process Source Indicator Legal process source indicator: C111
Source_Ind 0-Sefaz, 1-Federal Justice, 2-State
Justice, 3-Secex/SRF, 9-Others;
Vehicle_Plate_State_ Character(2) Vehicle Plate State Code Vehicle Plate State Code NFE
code
Vehicle_ANTT_ Character (20) Vehicle ANTT Inscription National Cargo Transport NFE
Inscription Inscription (ANTT)

Towing_Veh_ Character(8) Towing Vehicle Plate Number Towing Vehicle Plate NFE
Plate_Number
Towing_Veh_ Character(2) Towing Vehicle Plate State Code Towing Vehicle Plate State Code NFE
Plate_State_Code
Towing_Veh_ Character (20) Towing Vehicle ANTT Inscription National Towing Cargo Transport NFE
ANTT_Inscription Inscription (ANTT)

Seal_Number Character (60) Seal Number Seal Number NFE

Electronic_Inv_Web_ Varchar Electronic Invoice Web Address *** Field also mapped in CAI for NFE
Address BSEBI

Electronic_Inv_Status Varchar Electronic Invoice Status *** Field also mapped in CAI for NFE
BSEBI

Electronic_Inv_ Varchar (44) Electronic Invoice Access Key *** Field also mapped in CAI for NFE
Access_Key BSEBI

Electronic_Inv_ Varchar (15) Electronic Invoice Protocol *** Field also mapped in CAI for NFE
Protocol BSEBI

Oracle do Brasil – LAD Consulting Localizations Page 23 of 67


7.11 Tax Code Registration in Receivables
TABLE: AR_VAT_TAX_ALL

Attribute Name Type: New Attribute Description Special Logic / Observations Record Use
GLOBAL_ATTRIBUTE Character(2) IPI Tax Situation Code Tax Situation Code associated with C170 NFE
4 the IPI (Industrial Product Tax), as
per the table included in Item 4.3.2
GLOBAL_ATTRIBUTE Character(3) IPI Legal Applicability Code IPI legal applicability code, as per C170 NFE
5 the table included in Item 4.5.3.

GLOBAL_ATTRIBUTE Numeric PIS Tax Situation Code Tax Situation Code associated with C170 NFE
6 PIS (Social Integration Program), as
per the table included in Item 4.3.4.
GLOBAL_ATTRIBUTE Table not COFINS Tax Situation Code Tax Situation Code associated with C170 NFE
7 defined COFINS (Social Security Financing
Tax), as per the table included in
Item 4.3.5.
GLOBAL_ATTRIBUTE Character(5) IPI Class Applicability Code IPI Class Applicability Code, as per C178
8 Table 4.5.1.

Oracle do Brasil – LAD Consulting Localizations Page 24 of 67


8. Information Directed at the Fiscal Bookkeeping System

8.1 Description
A set of attributes requested in Fiscal SPED and Electronic Invoice were directed at the fiscal bookkeeping systems. This work was
developed in participation with two partner companies: Mastersaf and Synchro.

IMPORTANT: The present mapping on this topic represents the


current state of the data and should be revised together with the
supplier companies of your fiscal bookkeeping system. The data to be
presented is exclusively informative in nature.

The following is the detailed information directed at the fiscal bookkeeping system.
“Appendix A” at the end of the document specifies each record mentioned in this document.

8.2 Record Mapping


The following is the list of records (blocks) in which all attributes were mapped originating in the fiscal bookkeeping systems.

Block Record Description


0 0001 OPENING OF BLOCK
0 0100 ACCOUNTANT DATA
0 0175 CHANGE IN PARTICIPANT REGISTRATION TABLE
0 0460 TAX ASSESSMENT OBSERVATION TABLE
0 0990 CLOSURE OF BLOCK 0
C C001 Opening of Block C – Tax documentation I - Merchandise (ICMS - Value-Added Tax / IPI – Industrialized Product Tax)
C C112 REFERENCE COLLECTION DOCUMENT

Oracle do Brasil – LAD Consulting Localizations Page 25 of 67


Block Record Description
C C176 ICMS REIMBURSEMENT IN OPERATIONS WITH TAX REPLACEMENT (CODE 01, 55) (7/19: record pending clarifications
by tax authorities)
C C179 COMPLEMENTARY TAX REPLACEMENT INFORMATION (CODE 01)
C C190 ANALYTICAL DOCUMENT RECORD (CODE 01, 1B, 04 AND 55)
C C195 TAX ASSESSMENT OBSERVATIONS (CODE 01, 1B AND 55)
C C197 OTHER TAX OBLIGATIONS, ADJUSTMENTS AND INFORMATION ON VALUES RESULTING FROM THE TAX DOCUMENT
C C490 ANALYTICAL RECORD OF DAILY TRANSACTIONS (CODE 02 and 2D)
C C590 ANALYTICAL DOCUMENT RECORD - ENERGY INVOICE/BILL DOCUMENT ITEMS (CODE 06) AND GAS INVOICE/BILL
(CODE 28)
C C690 ANALYTICAL DOCUMENT RECORD - ENERGY INVOICES/BILLS (CODE 06), WATER INVOICE/BILL (CODE 27) AND GAS
INVOICE/BILL (CODE 28)
C C790 ANALYTICAL DOCUMENT RECORD (CODE 06)
C C791 ICMS TAX REPLACEMENT RECORD INFORMATION PER STATE (CODE 06)
C C990 CLOSURE OF BLOCK C
D D001 Opening of Block D – TAX DOCUMENTATION II - SERVICES (ICMS)
D D190 ANALYTICAL DOCUMENT RECORD (CODE 07, 08, 08B, 09, 10, 11 AND 26)
D D590 ANALYTICAL DOCUMENT RECORD (CODE 21 AND 22)
D D690 ANALYTICAL DOCUMENT RECORD (CODE 21 AND 22)
D D696 ANALYTICAL DOCUMENT RECORD (CODE 21 AND 22)
D D697 ICMS TAX REPLACEMENT RECORD INFORMATION PER STATE (CODE 21 AND 22)
D D990 CLOSURE OF BLOCK D
E E001 OPENING OF BLOCK E – CALCULATION OF ICMS AND IPI
E E100 ICMS CALCULATION PERIOD
E E110 ICMS CALCULATION – COMPANY OPERATIONS
E E111 ICMS CALCULATION ADJUSTMENT/BENEFIT/INCENTIVE
E E112 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS
E E113 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS – IDENTIFICATION OF TAX DOCUMENTATION
E E115 ADDITIONAL CALCULATION INFORMATION – DECLARED VALUES
E E116 ICMS OBLIGATIONS TO COLLECT – COMPANY OPERATIONS
E E200 ICMS CALCULATION PERIOD – TAX REPLACEMENT
E E210 ICMS CALCULATION – TAX REPLACEMENT

Oracle do Brasil – LAD Consulting Localizations Page 26 of 67


Block Record Description
E E220 ICMS CALCULATION ADJUSTMENT/BENEFIT/INCENTIVE - TAX REPLACEMENT
E E230 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS – TAX REPLACEMENT
E E240 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS – TAX REPLACEMENT –
IDENTIFICATION OF TAX DOCUMENTATION
E E250 OBLIGATIONS OF THE ICMS TO COLLECT – TAX REPLACEMENT
E E500 IPI CALCULATION PERIOD
E E510 IPI VALUE CONSOLIDATION
E E520 IPI CALCULATION
E E530 IPI CALCULATION ADJUSTMENTS
E E990 CLOSURE OF BLOCK E
H H001 OPENING OF BLOCK H – PHYSICAL INVENTORY
H H990 CLOSURE OF BLOCK H
1 1001 OPENING OF BLOCK 1 – OTHER INFORMATION
1 1110 INDIRECT EXPORT OPERATIONS OF NON-INDUSTRIALIZED PRODUCTS BY THE ISSUING ESTABLISHMENT.
1 1200 TAX CREDIT CONTROL
1 1210 TAX CREDIT USE
1 1400 INFORMATION ON ADDED VALUES
1 1500 ENERGY BILL INVOICE (CODE 06) – INTERSTATE OPERATIONS
1 1510 ENERGY BILL INVOICE DOCUMENT ITEMS (CODE 06) – INTERSTATE OPERATIONS
1 1990 CLOSURE OF BLOCK 1
9 9001 OPENING OF BLOCK 9
9 9900 FILE RECORDS
9 9990 CLOSURE OF BLOCK 9
9 9999 CLOSURE OF DIGITAL FILE

Oracle do Brasil – LAD Consulting Localizations Page 27 of 67


8.3 Attribute Mapping
The following is a list of the attributes that were mapped originating in the fiscal bookkeeping systems.
Block Record No. Field Description
0 0000 1 REG Fixed text containing “0000”
0 0000 2 COD_VER Layout version code based on the table indicated in the COTEPE Act
0 0000 3 COD_FIN File purpose code: 0-Original File Delivery 1-Replacement File Delivery
0 0000 4 DT_INI Initial date of the information contained in the file
0 0000 5 DT_FIN Final data of information contained in the file
0 0000 14 IND_PERFIL Tax file presentation profile; A –A;B Profile – B;C Profile – C Profile
0 0000 15 IND_ATIV Activity Type Indicator: 0-Industrial or Matched to Industrial, 1-Others
0 0001 1 REG Fixed text containing “0001”
0 0001 2 IND_MOV Movement indicator: 0-Block with informed data 1-Block without informed data
0 0005 1 REG Fixed text containing "0005"
0 0015 1 REG Fixed text containing "0015"
0 0100 1 REG Fixed text containing “0000”
0 0100 2 NOME Accountant name
0 0100 3 Social Security Accountant CPF No.
0 0100 4 CRC Accountant Regional Accounting Board Registration No.
0 0100 5 "CNPJ" Accounting office CNPJ, if applicable.
0 0100 6 CEP Postal address code
0 0100 7 END Building street number and address
0 0100 8 NUM Building number
0 0100 9 COMPL Complementary address information
0 0100 10 BAIRRO Neighborhood in which the building is located
0 0100 11 FONE Phone number
0 0100 12 FAX Fax number
0 0100 13 EMAIL E-mail address
0 0100 14 COD_MUN City code, based on IBGE (Brazilian Institute of Geography and Statistics) table.
0 0150 1 REG Fixed text containing “0150”
0 0175 1 REG Fixed text containing “0175”

Oracle do Brasil – LAD Consulting Localizations Page 28 of 67


Block Record No. Field Description
0 0175 2 DT_ALT Registration change date
0 0175 3 NR_CAMPO Changed field number (field 03 to 13)
0 0175 4 CONT_ANT Previous field content
0 0190 1 REG Fixed text containing “0190”
0 0200 1 REG Fixed text containing "0200"
0 0200 7 TIPO_ITEM Item Type: 00-Merchandise for Retail, 01-Raw Material, 02-Packaging, 03-Product in Process, 04-Finished
Product, 05-By-product, 06-Intermediate Product, 07-Use and Consumer Material, 08-Fixed Asset, 09-
Services, 10-Other Raw Materials, 99-Others
0 0200 12 ALIQ_ICMS ICMS rate applicable to the item in internal operations
0 0205 1 REG Fixed text containing "0205"
0 0206 1 REG Fixed text containing "0206"
0 0220 1 REG Fixed text containing "0220"
0 0400 1 REG Fixed text containing "0400"
0 0450 1 REG Fixed text containing "0450"
0 0450 2 COD_INF Tax document complementary information code.
0 0460 1 REG Fixed text containing "0460"
0 0460 2 COD_OBS Tax assessment Observation Code
0 0460 3 TXT Description of observation linked to tax assessment
0 0990 1 REG Fixed text containing "0990"
0 0990 2 QTD_LIN_0 Total number of lines in Block 0
C C001 1 REG Fixed text containing "C001"
C C001 2 IND_MOV Transaction indicator: 0-Block with informed data 1-Block without informed data
C C100 1 REG Fixed text containing "C100"
C C100 3 IND_EMIT Tax document issuer indicator: 0- Company issue; 1- Third party issue
C C110 1 REG Fixed text containing "C110"
C C110 2 COD_INF Tax document complementary information code (field 02 of Record 0450)
C C111 1 REG Fixed text containing "C111"
C C112 1 REG Fixed text containing "C112"
C C112 3 UF State benefitting from the collection
C C112 4 NUM_DA Collection document number
C C112 5 COD_AUT Complete bank authentication code

Oracle do Brasil – LAD Consulting Localizations Page 29 of 67


Block Record No. Field Description
C C112 6 VL_DA Total collection document value (main monetary correction, interest and fine)
C C112 7 DT_VCTO Collection document due date
C C112 8 DT_PGTO Collection document payment date or due date, in the case of anticipated ICMS due.
C C113 1 REG Fixed text containing "C113"
C C113 3 IND_EMIT Bond issuer indicator: 0- Company issue; 1- Third party issue
C C115 1 REG Fixed text containing "C115"
C C120 1 REG Fixed text containing "C120"
C C130 1 REG Fixed text containing "C130"
C C140 1 REG Fixed text containing "C140"
C C140 2 IND_EMIT Bond issuer indicator: 0- Company issue; 1- Third party issue
C C141 1 REG Fixed text containing "C141"
C C160 1 REG Fixed text containing "C160"
C C165 1 REG Fixed text containing "C165”
C C170 1 REG Fixed text containing "C170"
C C170 19 IND_APUR IPI calculation period indicator: 0 -Monthly 1 – Every 10 days
C C171 1 REG Fixed text containing "C171"
C C172 1 REG Fixed text containing "C172"
C C173 1 REG Fixed text containing "C173"
C C174 1 REG Fixed text containing "C174"
C C175 1 REG Fixed text containing "C175"
C C176 1 REG Fixed text containing "C176”
C C176 2 COD_MOD_ULT_E Tax document model code associated with the last entry
C C176 3 NUM_DOC_ULT_E Tax document number associated with the last entry
C C176 4 SER_ULT_E Tax document series associated with the last entry
C C176 5 DT_ULT_E Date associated with the last merchandise entry
C C176 6 COD_PART_ULT_E Participant code (of the document issuer associated with the last entry)
C C176 7 QUANT_ULT_E Item quantity associated with last entry
C C176 8 VL_UNIT_ULT_E Merchandise unit value included in the invoice associated with the last entry, including accessory expenses.
C C176 9 VL_UNIT_BC_ST Calculation base unit value for the tax paid by replacement.
C C177 1 REG Fixed text containing "C177"
C C178 1 REG Fixed text containing "C178"

Oracle do Brasil – LAD Consulting Localizations Page 30 of 67


Block Record No. Field Description
C C179 1 REG Fixed text containing "C179”
C C179 2 BC_ST_ORIG_DEST ST calculation base value at the origin/destination of interstate operations.
C C179 3 ICMS_ST_REP ICMS-ST value to pass on/deduct in interstate operations
C C179 4 ICMS_ST_COMPL ICMS-ST value to complement the destination state
C C179 5 BC_RET Retention BC value in remittance promoted by intermediate substitute
C C179 6 ICMS_RET Tax payment value collected in the remittance promoted by intermediate substitute
C C190 1 REG Fixed text containing "C190"
C C190 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
C C190 3 CFOP Item grouping Operation and Service Fiscal Code
C C190 4 ALIQ_ICMS ICMS Rate
C C190 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate, including
accessory expenses (freight, insurance and other accessory expenses) and IPI
C C190 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate
C C190 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
C C190 8 VL_BC_ICMS_ST Payment corresponding to the "ICMS calculation base value" of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate.
C C190 9 VL_ICMS_ST Payment corresponding to the ICMS credited/debited value of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate
C C190 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
C C190 11 VL_IPI Payment corresponding to the "IPI Value" associated with the combination of CST_ICMS, CFOP and the
ICMS rate
C C195 1 REG Fixed text containing "C195"
C C195 2 COD_OBS Tax assessment observation code (field 02 of Record 0460)
C C195 3 TXT_COMPL Complementary description of the observation code
C C197 1 REG Fixed text containing "C197"
C C197 2 COD_AJ Adjustments/benefit/incentive code, as per the table included in Item 5.3
C C197 3 DESCR_COMPL_AJ Complementary description of the calculation adjustment in cases in which the table code is “9999”

Oracle do Brasil – LAD Consulting Localizations Page 31 of 67


Block Record No. Field Description
C C197 4 COD_ITEM Item code (field 02 of Record 0200)
C C197 5 VL_BC_ICMS Tax calculation base
C C197 6 ALIQ_ICMS ICMS Rate
C C197 7 VL_ICMS Tax value
C C197 8 VL_OUTROS Other values
C C300 1 REG Fixed text containing "C300"
C C310 1 REG Fixed text containing "C310"
C C320 1 REG Fixed text containing "C320"
C C320 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
C C320 3 CFOP Fiscal Operation and Service Code
C C320 4 ALIQ_ICMS ICMS Rate
C C320 5 VL_OPR Total accumulated value of operations corresponding to the combination of CST_ICMS, CFOP and the
ICMS rate, including accessory expenses and added costs
C C320 6 VL_BC_ICMS Accumulated ICMS calculation base value associated with the combination of CST_ICMS, CFOP and the
ICMS rate
C C320 7 VL_ICMS Accumulated ICMS value associated with the combination of CST_ICMS, CFOP and the ICMS rate
C C320 8 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
C C320 9 COD_OBS Tax assessment observation code (field 02 of Record 0460)
C C400 1 REG Fixed text containing "C400"
C C405 1 REG Fixed text containing "C405"
C C410 1 REG Fixed text containing "C410"
C C420 1 REG Fixed text containing "C420"
C C425 1 REG Fixed text containing "C425"
C C460 1 REG Fixed text containing "C460"
C C470 1 REG Fixed text containing "C470"
C C490 1 REG Fixed text containing "C490"
C C490 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
C C490 3 CFOP Fiscal Operation and Service Code
C C490 4 ALIQ_ICMS ICMS Rate

Oracle do Brasil – LAD Consulting Localizations Page 32 of 67


Block Record No. Field Description
C C490 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate, including
accessory expenses and added costs
C C490 6 VL_BC_ICMS Accumulated ICMS calculation base associated with informed rate
C C490 7 VL_ICMS Accumulated ICMS value associated with informed rate
C C490 8 COD_OBS Tax assessment observation code (field 02 of Record 0460)
C C495 1 REG Fixed text containing "C495"
C C500 1 REG Fixed text containing "C500"
C C500 3 IND_EMIT Tax document issuer indicator: 0- Company issue; 1- Third party issue
C C500 23 COD_INF Tax document complementary information code (field 02 of Record 0450)
C C510 1 REG Fixed text containing "C510"
C C590 1 REG Fixed text containing "C590"
C C590 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
C C590 3 CFOP Item grouping Operation and Service Fiscal Code
C C590 4 ALIQ_ICMS ICMS Rate
C C590 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate
C C590 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate
C C590 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
C C590 8 VL_BC_ICMS_ST Payment corresponding to the "ICMS calculation base value" of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate
C C590 9 VL_ICMS_ST Payment corresponding to the ICMS credited/debited value of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate
C C590 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
C C590 11 COD_OBS Tax assessment observation code (field 02 of Record 0460)
C C600 1 REG Fixed text containing "C600"
C C601 1 REG Fixed text containing "C601"
C C610 1 REG Fixed text containing "C610"
C C690 1 REG Fixed text containing "C690"
C C690 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1

Oracle do Brasil – LAD Consulting Localizations Page 33 of 67


Block Record No. Field Description
C C690 3 CFOP Fiscal Operation and Service Code, as per the table included in Item 4.2.2
C C690 4 ALIQ_ICMS ICMS Rate
C C690 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate
C C690 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate.
C C690 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
C C690 8 VL_BC_ICMS_ST Tax replacement ICMS calculation base value
C C690 9 VL_ICMS_ST ICMS value withheld by tax replacement
C C690 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
C C690 11 COD_OBS Tax assessment observation code (field 02 of Record 0460)
C C790 1 REG Fixed text containing "C790"
C C790 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
C C790 3 CFOP Fiscal Operation and Service Code, as per the table included in Item 4.2.2
C C790 4 ALIQ_ICMS ICMS Rate
C C790 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate
C C790 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate
C C790 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
C C790 8 VL_BC_ICMS_ST Tax replacement ICMS calculation base value
C C790 9 VL_ICMS_ST ICMS value withheld by tax replacement
C C790 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
C C790 11 COD_OBS Tax assessment observation code (field 02 of Record 0460)
C C791 1 REG Fixed text containing "C791"
C C791 2 UF State acronym referring to tax replacement withholding
C C791 3 VL_BC_ICMS_ST Tax replacement ICMS calculation base value
C C791 4 VL_ICMS_ST ICMS value withheld by tax replacement
C C990 1 REG Fixed text containing "C990"

Oracle do Brasil – LAD Consulting Localizations Page 34 of 67


Block Record No. Field Description
C C990 2 QTD_LIN_C Total number of lines in Block C
D D001 1 REG Fixed text containing "D001"
D D001 2 IND_MOV Transaction indicator: 0-Block with informed data 1-Block without informed data
D D100 1 REG Fixed text containing "D100"
D D100 3 IND_EMIT Tax document issuer indicator: 0- Company issue; 1- Third party issue
D D100 19 COD_INF Tax document complementary information code (field 02 of Record 0450)
D D110 1 REG Fixed text containing "D110"
D D120 1 REG Fixed text containing "D120"
D D130 1 REG Fixed text containing "D130"
D D130 5 COD_MUN_ORIG City code for service origin, as per the IBGE table
D D130 6 COD_MUN_DEST Destination city code, based on IBGE table
D D140 1 REG Fixed text containing "D140"
D D150 1 REG Fixed text containing "D150"
D D160 1 REG Fixed text containing "D160"
D D161 1 REG Fixed text containing "D161"
D D170 1 REG Fixed text containing "D170"
D D180 1 REG Fixed text containing "D180"
D D190 1 REG Fixed text containing "D190"
D D190 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
D D190 3 CFOP Fiscal Operation and Service Code, as per the table included in Item 4.2.2.
D D190 4 ALIQ_ICMS ICMS Rate
D D190 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate
D D190 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate.
D D190 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
D D190 8 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
D D190 9 COD_OBS Tax assessment observation code (field 02 of Record 0460)
D D300 1 REG Fixed text containing "D300"
D D301 1 REG Fixed text containing "D301"

Oracle do Brasil – LAD Consulting Localizations Page 35 of 67


Block Record No. Field Description
D D310 1 REG Fixed text containing "D310"
D D350 1 REG Fixed text containing "D350"
D D355 1 REG Fixed text containing "D355"
D D360 1 REG Fixed text containing "D360"
D D365 1 REG Fixed text containing "D365"
D D370 1 REG Fixed text containing "D370"
D D390 1 REG Fixed text containing "D390"
D D400 1 REG Fixed text containing "D400"
D D410 1 REG Fixed text containing "D410"
D D411 1 REG Fixed text containing "D411"
D D420 1 REG Fixed text containing "D420"
D D500 1 REG Fixed text containing "D500"
D D500 3 IND_EMIT Tax document issuer indicator: 0- Company issue; 1- Third party issue
D D500 20 COD_INF Complementary information code (field 02 of Record 0450)
D D510 1 REG Fixed text containing "D510"
D D530 1 REG Fixed text containing "D530"
D D590 1 REG Fixed text containing "D590"
D D590 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
D D590 3 CFOP Fiscal Operation and Service Code, as per the table included in Item 4.2.2
D D590 4 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate, including
accessory expenses and added costs
D D590 5 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate
D D590 6 ALIQ_ICMS ICMS Rate
D D590 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
D D590 8 VL_BC_ICMS_ST Payment corresponding to the "ICMS calculation base value" of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate
D D590 9 VL_ICMS_ST Payment corresponding to the ICMS credited/debited value of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate

Oracle do Brasil – LAD Consulting Localizations Page 36 of 67


Block Record No. Field Description
D D590 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
D D590 11 COD_OBS Observation code (field 02 of Record 0460)
D D600 1 REG Fixed text containing "D600"
D D610 1 REG Fixed text containing "D610"
D D690 1 REG Fixed text containing "D690"
D D690 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
D D690 3 CFOP Fiscal Operation and Service Code, as per the table included in Item 4.2.2
D D690 4 ALIQ_ICMS ICMS Rate
D D690 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate, including
accessory expenses and added costs
D D690 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate
D D690 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
D D690 8 VL_BC_ICMS_ST Payment corresponding to the "ICMS calculation base value" of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate
D D690 9 VL_ICMS_ST Payment corresponding to the ICMS credited/debited value of tax replacement associated with the
combination of CST_ICMS, CFOP and the ICMS rate
D D690 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
D D690 11 COD_OBS Tax assessment observation code (field 02 of Record 0460)
D D695 1 REG Fixed text containing "D695"
D D696 1 REG Fixed text containing "D696"
D D696 2 CST_ICMS Tax Status Code associated as per the table included in Item 4.3.1
D D696 3 CFOP Fiscal Operation and Service Code, as per the table included in Item 4.2.2.
D D696 4 ALIQ_ICMS ICMS Rate
D D696 5 VL_OPR Operation value corresponding to the combination of CST_ICMS, CFOP and the ICMS rate, including
accessory expenses and added costs.
D D696 6 VL_BC_ICMS Payment corresponding to the "ICMS calculation base value" associated with the combination of
CST_ICMS, CFOP and the ICMS rate

Oracle do Brasil – LAD Consulting Localizations Page 37 of 67


Block Record No. Field Description
D D696 7 VL_ICMS Payment corresponding to the "ICMS Value" associated with the combination of CST_ICMS, CFOP and
the ICMS rate
D D696 8 VL_BC_ICMS_ST Tax replacement ICMS calculation base value
D D696 9 VL_ICMS_ST ICMS value withheld by tax replacement
D D696 10 VL_RED_BC Non-taxed value due to reduced ICMS calculation base associated with the combination of CST_ICMS,
CFOP and the ICMS rate
D D696 11 COD_OBS Tax assessment observation code (field 02 of Record 0460)
D D697 1 REG Fixed text containing "D697"
D D697 2 UF State acronym referring to tax replacement withholding
D D697 3 VL_BC_ICMS_ST Tax replacement ICMS calculation base value
D D697 4 VL_ICMS_ST ICMS value withheld by tax replacement
D D990 1 REG Fixed text containing "D990"
D D990 2 QTD_LIN_D Total number of lines in Block D
E E001 1 REG Fixed text containing "E001"
E E001 2 IND_MOV Transaction indicator:
E E100 1 REG Fixed text containing "E100"
E E100 2 DT_INI Starting date to which the calculation refers
E E100 3 DT_FIN Ending date to which the calculation refers
E E110 1 REG Fixed text containing "E110"
E E110 2 VL_TOT_DEBITOS Total debit value for "Outputs and services with tax debit"
E E110 3 VL_AJ_DEBITOS Total value of adjustments to debits resulting from the tax document
E E110 4 VL_TOT_AJ_ Total value of "Debit adjustments"
DEBITOS
E E110 5 VL_ESTORNOS_CRED Total value of “Credit reversal” adjustments
E E110 6 VL_TOT_CREDITOS Total credit value for "Entries and acquisitions with tax credit"
E E110 7 VL_AJ_CREDITOS Total value of adjustments to credits resulting from the tax document
E E110 8 VL_TOT_AJ_ Total value of "Credit adjustments"
CREDITOS
E E110 9 VL_ESTORNOS_DEB Total value of “Debit reversal” adjustments
E E110 10 VL_SLD_CREDOR_ Total value of the "Credit balance from the previous period"
ANT

Oracle do Brasil – LAD Consulting Localizations Page 38 of 67


Block Record No. Field Description
E E110 11 VL_SLD_APURADO Total value of the "Debit balance (02+03+04-05-06-07-08) before deductions"
E E110 12 VL_TOT_DED Total value of "Deductions"
E E110 13 VL_ICMS_ Total value of “ICMS to collect (09-10)”
RECOLHER
E E110 14 VL_SLD_CREDOR_ Total value of “Credit balance to carry through into the next period”
TRANSPORTAR
E E110 15 DEB_ESP Values collected or to collect, extra-calculation
E E111 1 REG Fixed text containing "E111"
E E111 2 COD_AJ_APUR Calculation and deduction adjustment code as per the table included in Item 5.1.1.
E E111 3 DESCR_COMPL_AJ Complementary description of calculation adjustment.
E E111 4 VL_AJ_APUR Calculation adjustment value
E E112 1 REG Fixed text containing "E112"
E E112 2 NUM_DA State collection document number, if applicable
E E112 3 NUM_PROC Number of process to which the adjustment is linked, if applicable
E E112 4 IND_PROC Legal process source indicator: 0-Sefaz, 1-Federal Justice, 2-State Justice, 9-Others;
E E112 5 PROC Summarized description of process on which the assessment is based
E E112 6 COD_OBS Reference code for observation (field 02 of Record 0460)
E E113 1 REG Fixed text containing "E113"
E E113 2 COD_PART Participant code (field 02 of Record 0150) of the document issuer or merchandise sender in the case of
entries, and of the acquiring party in the case of outputs
E E113 3 COD_MOD Tax document code, based on Table 4.1.1
E E113 4 SER Tax document series
E E113 5 SUB Tax document subseries
E E113 6 NUM_DOC Tax document number
E E113 7 DT_DOC Tax document issue date (MMDDYYYY)
E E113 8 CHV_NFE Electronic Invoice Key
E E113 9 COD_ITEM Item code (field 02 of Record 0200)
E E113 10 VL_AJ_ITEM Adjustment value for operation/item
E E115 1 REG Fixed text containing "E115"
E E115 2 COD_INF_ADIC Additional information code as per the table to be defined by SEFAZ.
E E115 3 VL_INF_ADIC Value associated with additional information

Oracle do Brasil – LAD Consulting Localizations Page 39 of 67


Block Record No. Field Description
E E116 1 REG Fixed text containing "E116"
E E116 2 COD_OR Code of the tax obligation to collect, as per Table 5.4
E E116 3 VL_OR Value of the obligation to collect
E E116 4 DT_VCTO Obligation due date
E E116 5 COD_REC Internal Revenue Service code associated with the obligation for the specific state, as per state law
E E116 6 NUM_PROC Legal process or tax assessment number to which the obligation is linked, if applicable
E E116 7 IND_PROC Legal process source indicator: 0-Sefaz, 1-Federal Justice, 2-State Justice, 9-Others
E E116 8 PROC Summarized description of process on which the assessment is based
E E116 9 TXT_COMPL Complementary description of the obligations to collect
E E200 1 REG Fixed text containing "E200"
E E200 2 UF State acronym referring to Tax Replacement ICMS calculation
E E200 3 DT_INI Starting date to which the calculation refers
E E200 4 DT_FIN Ending date to which the calculation refers
E E210 1 REG Fixed text containing "E210"
E E210 2 UF EXCLUDED
E E210 2 IND_MOV_ST Transaction indicator: 0 – Without tax replacement operations 1 – With tax replacement operations
E E210 3 VL_SLD_CRED_ANT Value of “Credit balance from the previous period – Tax Replacement”
_ST
E E210 4 VL_DEVOL_ST Total value of tax replacement ICMS for merchandise returns
E E210 5 VL_RESSARC_ST Total value of tax replacement ICMS for reimbursements
E E210 6 VL_OUT_CRED_ST Total value of “Other tax replacement credit” adjustments
E E210 7 VL_AJ_CREDITOS_ Total value of tax replacement ICMS credit adjustments resulting from tax document adjustments
ST
E E210 8 VL_RETENÇAO_ST Total ICMS value withheld by tax replacement
E E210 9 VL_OUT_DEB_ST Total value of “Other tax replacement debit” adjustments
E E210 10 VL_AJ_DEBITOS_ST Total value of tax replacement ICMS debit adjustments resulting from tax document adjustments
E E210 11 VL_SLD_DEV_ANT_ Total value of "Debit balance before the deductions" = [(09+10+11) – (04+05+06+07+08)].
ST
E E210 12 VL_DEDUÇÕES_ST Total value of "Tax replacement deduction" adjustments
E E210 13 VL_ICMS_RECOL_ST Tax replacement tax to collect (12 – 13)

Oracle do Brasil – LAD Consulting Localizations Page 40 of 67


Block Record No. Field Description
E E210 14 VL_SLD_CRED_ST_ Tax replacement credit balance to carry through to the next period [(04+05+06+07+08) – (09+10+11)].
TRASNPORTAR
E E210 15 DEB_ESP_ST Values collected or to collect, extra-calculation
E E220 1 REG Fixed text containing "E220"
E E220 2 COD_AJ_APUR Calculation and deduction adjustment code as per the table included in Item 5.1.1
E E220 3 DESCR_COMPL_AJ Complementary description of calculation adjustment
E E220 4 VL_AJ_APUR Calculation adjustment value
E E230 1 REG Fixed text containing "E230"
E E230 2 NUM_DA State collection document number, if applicable
E E230 3 NUM_PROC Number of process to which the adjustment is linked, if applicable
E E230 4 IND_PROC Legal process source indicator: 0-Sefaz, 1-Federal Justice, 2-State Justice, 9-Others;
E E230 5 PROC Summarized description of process on which the assessment is based
E E230 6 COD_OBS Reference code for observation (field 02 of Record 0460)
E E240 1 REG Fixed text containing "E240"
E E240 2 COD_PART Participant code (field 02 of Record 0150) of the document issuer or merchandise sender in the case of
entries, and of the acquiring party in the case of outputs
E E240 3 COD_MOD Tax document code, based on Table 4.1.1
E E240 4 SER Tax document series
E E240 5 SUB Tax document subseries
E E240 6 NUM_DOC Tax document number
E E240 7 DT_DOC Tax document issue date (MMDDYYYY)
E E240 8 CHV_NFE Electronic Invoice Key
E E240 9 COD_ITEM Item code (field 02 of Record 0200)
E E240 10 VL_AJ_ITEM Adjustment value for operation/item
E E250 1 REG Fixed text containing "E250"
E E250 2 COD_OR Code of the tax obligation to collect, as per Table 5.4
E E250 3 VL_OR Value of the ICMS ST obligation to collect
E E250 4 DT_VCTO Obligation due date
E E250 5 COD_REC Internal Revenue Service code associated with the obligation for the specific state
E E250 6 NUM_PROC Legal process or tax assessment number to which the obligation is linked, if applicable
E E250 7 IND_PROC Legal process source indicator: 0-Sefaz, 1-Federal Justice, 2-State Justice, 9-Others;

Oracle do Brasil – LAD Consulting Localizations Page 41 of 67


Block Record No. Field Description
E E250 8 PROC Summarized description of process on which the assessment is based
E E250 9 COD_OBS Reference code for observation (field 02 of Record 0460)
E E500 1 REG Fixed text containing "E500"
E E500 2 IND_APUR IPI calculation period indicator: 0 -Monthly 1 – Every 10 days
E E500 3 DT_INI Starting date to which the calculation refers
E E500 4 DT_FIN Ending date to which the calculation refers
E E510 1 REG Fixed text containing "E510"
E E510 2 CFOP Item grouping Operation and Service Fiscal Code
E E510 3 CST_IPI Tax Status Code associated with IPI based on the table included in Item 4.3.2
E E510 4 VL_CONT_IPI Payment corresponding to the "Accounting Value" associated with the CFOP and IPI Tax Code
E E510 5 VL_BC_IPI Payment corresponding to the “IPI Calculation Base Value” associated with CFOP and the IPI Tax Code
for taxable operations.
E E510 6 VL_IPI Payment corresponding to the “IPI Value” associated with CFOP and the IPI Tax Code for
taxable operations.
E E520 1 REG Fixed text containing "E520"
E E520 2 VL_SD_ANT_IPI IPI balance transferred from the previous period
E E520 3 VL_DEB_IPI Total debit value for "Outputs with tax debit"
E E520 4 VL_CRED_IPI Total credit value for "Entries and acquisitions with tax credit"
E E520 5 VL_OD_IPI Value of "Other IPI debits" (including credit reversals)
E E520 6 VL_OC_IPI Value of "Other IPI credits" (including debit reversals)
E E520 7 VL_SC_IPI Value of IPI credit balance to carry through into the next period
E E520 8 VL_SD_IPI Value of IPI debit balance to collect
E E530 1 REG Fixed text containing "E530"
E E530 2 IND_AJ Adjustment type indicator: 0 – Adjustment to debit; 1 – Adjustment to credit;
E E530 3 VL_AJ Adjustment value
E E530 4 COD_AJ Calculation adjustment code as per the table included in Item 4.5.4.
E E530 5 IND_DOC Document origin indicator linked to the adjustment: 0 – Judicial Process; 1 – Administrative Process; 2 -
PER/DCOMP; 9 - Others
E E530 6 NUM_DOC Number of document / process / declaration to which the adjustment is linked, if applicable
E E530 7 DESCR_AJ Summarized adjustment description
E E990 1 REG Fixed text containing "E990"

Oracle do Brasil – LAD Consulting Localizations Page 42 of 67


Block Record No. Field Description
E E990 2 QTD_LIN_E Total number of lines in Block E
H H001 1 REG Fixed text containing "H001"
H H001 2 IND_MOV Transaction indicator: 0 – Block with informed data
1- Block without informed data
H H005 1 REG Fixed text containing "H005"
H H010 1 REG Fixed text containing "H010"
H H010 9 TXT_COMPL Complementary description
H H990 1 REG Fixed text containing "H990"
H H990 2 QTD_LIN_H Total number of lines in Block H
1 1001 1 REG Fixed text containing "1001"
1 1001 2 IND_MOV Transaction indicator: 0 – Block with informed data
1- Block without informed data
1 1100 1 REG Fixed text containing “1100”
1 1105 1 REG Fixed text containing "1105"
1 1110 1 REG Fixed text containing "1110"
1 1200 1 REG Fixed text containing "1200"
1 1200 2 COD_AJ_APUR Adjustment code, as per the table included in Item 5.1.1.
1 1200 3 SLD_CRED Tax credit balance from previous periods
1 1200 4 CRÉD_APR Total credit appropriated during the month
1 1200 5 CRED_RECEB Total credits received per transfer
1 1200 6 SLD_CRED_FIM Accumulated tax credit balance to carry through into the next period
1 1210 1 REG Fixed text containing "1210"
1 1210 2 TIPO_UTIL Credit use type: 0 – Deduction of normal ICMS
1 – Compensation of tax assessment
2 – Credit transfer
3 – Restitution of credit in currency
4 – Deduction of Tax Replacement ICMS calculated during the month (Replacement)
5 - Compensation with d
1 1210 3 NR_DOC Document number used in terminated credits
1 1210 4 VL_CRED_UTIL Total credit used
1 1300 1 REG Fixed text containing "1300"
1 1310 1 REG Fixed text containing "1310"

Oracle do Brasil – LAD Consulting Localizations Page 43 of 67


Block Record No. Field Description
1 1320 1 REG Fixed text containing "1320"
1 1400 1 REG Fixed text containing "1400"
1 1400 2 COD_ITEM Item code (field 02 of Record 0200)
1 1400 3 MUN Source City code
1 1400 4 VALOR Monthly value corresponding to the city
1 1990 1 REG Fixed text containing "1990"
1 1990 2 QTD_LIN_1 Total number of lines in Block 1
9 9001 1 REG Fixed text containing “9001”
9 9001 2 IND_MOV Transaction indicator:
9 9900 1 REG Fixed text containing “9900”
9 9900 2 REG_BLC Record that will be totaled in the next field.
9 9900 3 QTD_REG_BLC Total records of the type informed in the previous field.
9 9990 1 REG Fixed text containing “9990”
9 9990 2 QTD_LIN_9 Total number of lines in Block 9.
9 9999 1 REG Fixed text containing “9999”
9 9999 2 QTD_LIN Total number of lines in the digital file.

Oracle do Brasil – LAD Consulting Localizations Page 44 of 67


9. Information to be Mapped in the Project

9.1 Description
A set of attributes requested in Fiscal SPED and Electronic Invoice must be mapped in the project due to the fact that they did not
originate in Oracle EBS or have a probable origin in Oracle EBS. However, given the system flexibility, it is not possible to determine
a fixed site as the origin (example: information on AR Invoice taxes).
Below, we present the details of these fields, which must be adjusted during the project, since each client may have a different
configuration for generating/extracting this information.
These attributes are related to the address configurations, specific segment-related information and Outgoing Invoice information.
“Appendix A” at the end of the document specifies each record mentioned in this document.

9.2 Flexible Information in Oracle EBS Requiring Adjustments during Integration


Observation: The invoice attributes refer to the Outgoing Invoice (Receivables).

Block Record No. Field Description Source Details


0 0005 4 END Building street number and address A logic must be established to extract this information through View
CAIBR_JLBR_ENTIDADES_LEGAIS_V and the columns
ENDERECO, COMPLEMENTO, BAIRRO
0 0005 5 NUM Building number A logic must be established to extract this information through View
CAIBR_JLBR_ENTIDADES_LEGAIS_V and the columns
ENDERECO, COMPLEMENTO, BAIRRO
0 0005 6 COMPL Complementary address information A logic must be established to extract this information through View
CAIBR_JLBR_ENTIDADES_LEGAIS_V and the columns
ENDERECO, COMPLEMENTO, BAIRRO
0 0005 7 BAIRRO Neighborhood in which the building A logic must be established to extract this information through View
is located CAIBR_JLBR_ENTIDADES_LEGAIS_V and the columns
ENDERECO, COMPLEMENTO, BAIRRO
0 0150 10 END Building street number and address A logic must be established to extract this information through the Views:

Oracle do Brasil – LAD Consulting Localizations Page 45 of 67


Block Record No. Field Description Source Details
Suppliers: CAIBR_PO_FORNECEDORES_V and the columns
ADDRESS_LINE1, ADDRESS_LINE2, ADDRESS_LINE3 and
ADDRESS_LINE4
Clients: CAIBR_AR_CLIENTES_V and the columns ADDRESS1,
ADDRESS2, ADDRESS3 and ADDRESS4
Transport Companies: CAIBR_PO_TRANSPORTADORAS_V and the
columns GLOBAL_ATTRIBUTE1, GLOBAL_ATTRIBUTE2 and
GLOBAL_ATTRIBUTE3
0 0150 11 NUM Building number A logic must be established to extract this information through the Views:
Suppliers: CAIBR_PO_FORNECEDORES_V and the columns
ADDRESS_LINE1, ADDRESS_LINE2, ADDRESS_LINE3 and
ADDRESS_LINE4
Clients: CAIBR_AR_CLIENTES_V and the columns ADDRESS1,
ADDRESS2, ADDRESS3 and ADDRESS4
Transport Companies: CAIBR_PO_TRANSPORTADORAS_V and the
columns GLOBAL_ATTRIBUTE1, GLOBAL_ATTRIBUTE2 and
GLOBAL_ATTRIBUTE3
0 0150 12 COMPL Complementary address information A logic must be established to extract this information through the Views:
Suppliers: CAIBR_PO_FORNECEDORES_V and the columns
ADDRESS_LINE1, ADDRESS_LINE2, ADDRESS_LINE3 and
ADDRESS_LINE4
Clients: CAIBR_AR_CLIENTES_V and the columns ADDRESS1,
ADDRESS2, ADDRESS3 and ADDRESS4
Transport Companies: CAIBR_PO_TRANSPORTADORAS_V and the
columns GLOBAL_ATTRIBUTE1, GLOBAL_ATTRIBUTE2 and
GLOBAL_ATTRIBUTE3
0 0150 13 BAIRRO Neighborhood in which the building A logic must be established to extract this information through the Views:
is located Suppliers: CAIBR_PO_FORNECEDORES_V and the columns
ADDRESS_LINE1, ADDRESS_LINE2, ADDRESS_LINE3 and
ADDRESS_LINE4
Clients: CAIBR_AR_CLIENTES_V and the columns ADDRESS1,
ADDRESS2, ADDRESS3 and ADDRESS4
Transport Companies: CAIBR_PO_TRANSPORTADORAS_V and the
columns GLOBAL_ATTRIBUTE1, GLOBAL_ATTRIBUTE2 and
GLOBAL_ATTRIBUTE3

Oracle do Brasil – LAD Consulting Localizations Page 46 of 67


Block Record No. Field Description Source Details
C C100 15 VL_ABAT_NT Non-taxed and non-commercial This information is requested for Outgoing Invoices (AR). There is no
deduction, for example, a ICMS site in Oracle EBS or specific logic for this situation. If there is the need
discount in the remittances to ZFM. to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The Views CAIBR_AR_NFS_V,
CAIBR_AR_ITENS_NFS_V and
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this
purpose.
C C100 26 VL_PIS Total PIS This information is requested for Outgoing Invoices (AR). There is no
(Social Integration Program) value. site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
C C100 27 VL_COFINS Total COFINS This information is requested for Outgoing Invoices (AR). There is no
(Social Security Financing Tax) Value. site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
C C100 28 VL_PIS_ST Total PIS value withheld by tax This information is requested for Outgoing Invoices (AR). There is no
replacement site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C100 29 VL_COFINS_ST Total COFINS value withheld by This information is requested for Outgoing Invoices (AR). There is no
tax replacement site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C115 3 CNPJ_COL CNPJ (Federal Tax ID) of the collection Oracle EBS does not have a logic for the local treatment of
site taxpayer “intermediary” deliveries. If this attribute has been implemented through
some invoice “attribute” customization, use View CAIBR_AR_NFS_V
to obtain this value.
C C115 4 IE_COL State Registration of the collection site Oracle EBS does not have a logic for the local treatment of
taxpayer “intermediary” deliveries. If this attribute has been implemented through

Oracle do Brasil – LAD Consulting Localizations Page 47 of 67


Block Record No. Field Description Source Details
some invoice “attribute” customization, use View CAIBR_AR_NFS_V
to obtain this value.
C C115 5 CPF_COL CPF (Individual Taxpayer No.) of the Oracle EBS does not have a logic for the local treatment of
merchandise collection site taxpayer “intermediary” deliveries. If this attribute has been implemented through
some invoice “attribute” customization, use View CAIBR_AR_NFS_V
to obtain this value.
C C115 6 COD_MUN_COL City Code of the collection site Oracle EBS does not have a logic for the local treatment of
“intermediary” deliveries. If this attribute has been implemented through
some invoice “attribute” customization, use View CAIBR_AR_NFS_V
to obtain this value.
C C115 7 CNPJ_ENTG CNPJ (Federal Tax ID) of the delivery
site taxpayer
C C115 8 IE_ENTG State Registration of the delivery
site taxpayer
C C115 9 CPF_ENTG CPF (Individual Taxpayer No.)
of the delivery site taxpayer
C C115 10 COD_MUN_ENTG City Code of the delivery site

C C130 2 VL_SERV_NT Value of the services with the non- This information is requested for Outgoing Invoices (AR). There is no
incidence or non-taxation of ICMS site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The Views CAIBR_AR_NFS_V,
CAIBR_AR_ITENS_NFS_V and
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this
purpose.
C C165 4 COD_AUT Authorization code provided by This information is requested for Outgoing Invoices (AR). There is no
SEFAZ (fuels) site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the Invoice cover. The View CAIBR_AR_NFS_V can be used for
this purpose.
C C165 5 NR_PASSE Tax pass number This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the Invoice cover. The View CAIBR_AR_NFS_V can be used for
this purpose.

Oracle do Brasil – LAD Consulting Localizations Page 48 of 67


Block Record No. Field Description Source Details
C C165 6 HORA Merchandise exit time This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the Invoice cover. The View CAIBR_AR_NFS_V can be used for
this purpose.
C C165 7 TEMPER Temperature in Celsius (°C) used to This information is requested for Outgoing Invoices (AR). There is no
calculate the fuel volume site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the Invoice cover. The View CAIBR_AR_NFS_V can be used for
this purpose.
C C165 11 NOM_MOT Driver name This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the Invoice cover. The View CAIBR_AR_NFS_V can be used for
this purpose.
C C165 12 Social Security Driver CPF This information is requested for Outgoing Invoices (AR). There is no site in
Oracle EBS or specific logic for this situation. If there is the need to report
this value, a logic must be established in the project to extract it from the
Invoice cover. The View CAIBR_AR_NFS_V can be used for this purpose.
C C170 8 VL_DESC Commercial discount value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The Views CAIBR_AR_NFS_V,
CAIBR_AR_ITENS_NFS_V and
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C170 25 CST_PIS Tax Status Code associated with PIS
(Social Integration Program), as per the
table included in Item 4.3.4
C C170 26 VL_BC_PIS PIS calculation base value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C170 27 ALIQ_PIS PIS rate (percentage) This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need

Oracle do Brasil – LAD Consulting Localizations Page 49 of 67


Block Record No. Field Description Source Details
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this
purpose.
C C170 28 QUANT_BC_PIS Quantity – PIS calculation base This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this
purpose.
C C170 29 ALIQ_PIS PIS rate (in reais) This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C170 30 VL_PIS PIS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C170 31 CST_COFINS Tax Status Code associated with COFINS
(Social Security Financing Tax), as per
the table included in Item 4.3.5
C C170 32 VL_BC_COFINS COFINS calculation base value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C170 33 ALIQ_COFINS COFINS rate (percentage). This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this purpose.
C C170 34 QUANT_BC_COFIN Quantity – COFINS calculation base. This information is requested for Outgoing Invoices (AR). There is no
S site in Oracle EBS or specific logic for this situation. If there is the need

Oracle do Brasil – LAD Consulting Localizations Page 50 of 67


Block Record No. Field Description Source Details
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
C C170 35 ALIQ_COFINS COFINS rate (reais). This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
C C170 36 VL_COFINS COFINS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
C C175 2 IND_VEIC_OPER Indicator of operation type with the
vehicle: 0-Sale to dealer; 1-Direct billing;
2-Direct sales; 3-Dealer sale; 9-Others;
C C175 3 "CNPJ" Dealer CNPJ
C C175 4 UF Dealer state acronym
C C175 5 CHASSI_VEIC Vehicle chassis

C C178 3 VL_UNID Value per standard taxation standard.


C C178 4 QUANT_PAD Total quantity of products at the standard
taxation unit
C C500 24 VL_PIS PIS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for this
purpose.
C C500 25 VL_COFINS COFINS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need

Oracle do Brasil – LAD Consulting Localizations Page 51 of 67


Block Record No. Field Description Source Details
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
D D100 20 VL_PIS PIS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
D D100 21 VL_COFINS COFINS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
D D500 21 VL_PIS PIS value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
D D500 22 VL_COFINS COFINS Value This information is requested for Outgoing Invoices (AR). There is no
site in Oracle EBS or specific logic for this situation. If there is the need
to report this value, a logic must be established in the project to extract it
from the AR Invoice lines. The View
CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V can be used for
this purpose.
1 1100 2 IND_DOC Inform the document type: 0 – Export
Declaration; 1 – Simplified Export
Declaration.
1 1100 3 NRO_DE Declaration No.
1 1100 4 DT_DE Declaration Date (MMDDYYYY)
1 1100 5 NAT_EXP Fill out with the following information:

Oracle do Brasil – LAD Consulting Localizations Page 52 of 67


Block Record No. Field Description Source Details
0 – Direct Export; 1 – Indirect Export;
1 1100 6 NRO_RE Export Record. No.
1 1100 7 DT_RE Export Record Date (MMDDYYYY)
1 1100 8 CHC_EMB Waybill No.
1 1100 9 DT_CHC Waybill Date (MMDDYYYY)
1 1100 10 DT_AVB Export Declaration Entry Date
(mmddyyyy)
1 1100 11 TP_CHC Information on the type of transport
advisory (Fill out using the SISCOMEX
cargo document type - attached)
1 1100 12 PAIS Merchandise destination country code
(Fill out using the SISCOMEX table)
1 1110 2 COD_PART Participant code- Supplier of the
merchandise destined for export (field 02
of Record 0150)
1 1110 3 COD_MOD Tax document code, based on Table 4.1.1
1 1110 4 SER Series of the tax document received with
specific export purposes
1 1110 5 NUM_DOC Number of the tax document received
with specific export purposes
1 1110 6 DT_DOC Tax document issue date (MMDDYYYY)
received with specific purpose of N export
1 1110 7 CHV_NFE Electronic Invoice Key
1 1110 8 NR_ MEMO Export memorandum No.
1 1110 9 QTD Quantity of the item effectively exported
1 1110 10 UNID Item unit (Field 02 of Record 0190)

9.3 Records with Information Not Included in Oracle EBS


The following are the records (blocks) for which there is no information in Oracle EBS and which are not part of this work phase
under development by Oracle.

Oracle do Brasil – LAD Consulting Localizations Page 53 of 67


Block Record Description
C C114 REFERENCE RECEIPT
C C171 FUEL STORAGE (CODE 01, 55)
C C173 OPERATIONS WITH MEDICATIONS (CODE 01)
C C174 OPERATIONS WITH FIREARMS (CODE 01)
C C177 OPERATIONS WITH PRODUCTS SUBJECT TO IPI CONTROL SEAL
C C300 DAILY SUMMARY OF CONSUMER SALES INVOICES (CODE 02)
C C310 CANCELLED CONSUMER SALES INVOICE DOCUMENTS (CODE 02)
C C320 ANALYTICAL RECORD OF DAILY SUMMARY OF CONSUMER SALES INVOICE (CODE 02)
C C321 DAILY DOCUMENT SUMMARY ITEMS (CODE 02)
C C350 CONSUMER SALES INVOICE (CODE 02)
C C370 DOCUMENT ITEMS (CODE 02)
C C390 ANALYTICAL RECORD OF CONSUMER SALES INVOICES
C C400 ECF (Receipt Printing Equipment) EQUIPMENT (CODE 02 AND 2D)
C C405 Z REDUCTION (CODE 02 AND 2D)
C C410 DAILY PIS (Social Integration Program) AND COFINS (Social Security Financing Tax) TOTALS (CODE 02 and 2D)
C C420 RECORD OF PARTIAL Z REDUCTION SUMMATORS (CODE 02 AND 2D)
C C425 SUMMARY OF DAILY TRANSACTED ITEMS (CODE 02 AND 2D)
C C460 TAX DOCUMENT ISSUED BY ECF (CODE 02 AND 2D)
C C470 TAX DOCUMENT ITEMS ISSUED BY ECF (CODE 02 AND 2D)
C C495 MONTHLY SUMMARY OF ECF ITEMS PER ESTABLISHMENT (CODE 02, 2D AND 2E)
C C510 ENERGY INVOICE/BILL DOCUMENT ITEMS (CODE 06) AND GAS INVOICE/BILL (CODE 28)
C C600 DAILY CONSOLIDATION OF ENERGY INVOICES/BILLS (CODE 06), WATER INVOICE/BILL (CODE 27) AND GAS
INVOICE/BILL (CODE 28) (COMPANIES NOT BOUND TO ICMS AGREEMENT 115/03)
C C601 CANCELLED DOCUMENTS - DAILY CONSOLIDATION OF ENERGY INVOICES/BILLS (CODE 06), WATER INVOICE/BILL
(CODE 27) AND GAS INVOICE/BILL (CODE 28) (COMPANIES NOT BOUND TO ICMS AGREEMENT 115/03)
C C610 CONSOLIDATION DOCUMENT ITEMS (CODE 06), WATER INVOICE/BILL (CODE 27) AND GAS INVOICE/BILL (CODE 28)
(COMPANIES NOT BOUND TO ICMS AGREEMENT 115/03)
C C700 CONSOLIDATION OF THE INVOICE DOCUMENTS/ENERGY BILL (CODE 06), SINGLE COPY (COMPANIES BOUND TO ICMS
AGREEMENT 115/03)
D D110 DOCUMENT ITEMS – TRANSPORT SERVICE INVOICE (CODE 07)

Oracle do Brasil – LAD Consulting Localizations Page 54 of 67


Block Record Description
D D120 TRANSPORT SERVICE INVOICE COMPLEMENT (CODE 07)
D D130 ROAD CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 08) AND SEPARATE CTRC (CODE 8B)
D D140 WATERWAY CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 09)
D D150 AIRWAY CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 10)
D D160 CARGO TRANSPORTED (CODE 08, CODE 8B, 09, 10, 11 AND 26)
D D161 COLLECTION AND DELIVERY SITE (CODE 08, 08B, 09, 10, 11 AND 26)
D D170 MULTIMODAL CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 26)
D D180 MODALS (CODE 26)
D D300 ANALYTICAL RECORD OF THE DAILY ROAD TRANSPORT TICKET SUMMARY (CODE 13), WATERWAY TRANSPORT
TICKET SUMMARY (CODE 14), LUGGAGE TICKET AND INVOICE (CODE 15) AND RAILWAY TRANSPORT TICKET (CODE 16).
- PENDING
D D301 CANCELLED ROAD TRANSPORT TICKET DOCUMENTS (CODE 13), WATERWAY TICKET DOCUMENTS (CODE 14), BAGGAGE
TICKET AND INVOICE (CODE 15) AND RAILROAD TRANSPORT TICKET (CODE 16). - PENDING
D D310 TICKET COMPLEMENT (CODE 13, 14, 15 AND 16)
D D350 ECF EQUIPMENT (CODES 2E, 13, 14, 15 AND 16)
D D355 Z REDUCTION (CODES 2E, 13, 14, 15 AND 16)
D D360 DAILY PIS AND COFINS TOTALS (CODES 2E, 13, 14, 15 AND 16)
D D365 PARTIAL Z REDUCTION SUMMATORS (CODES 2E, 13, 14, 15 AND 16)
D D370 INFORMED DOCUMENT COMPLEMENT (CODE 13, 14, 15, 16 AND 2E)
D D390 ANALYTICAL DAILY TRANSACTION RECORD (CODES 13, 14, 15, 16 AND 2E)
D D400 DAILY TRANSACTION SUMMARY (CODE 18)
D D410 INFORMED DOCUMENTS (CODES 13, 14, 15 AND 16)
D D411 CANCELLED DOCUMENTS OF THOSE INFORMED (CODE 13, 14, 15 AND 16)
D D420 INFORMED DOCUMENT COMPLEMENT (CODE 18)
D D510 DOCUMENT ITEMS – COMMUNICATION SERVICE INVOICE (CODE 21) AND TELECOMMUNICATIONS SERVICE INVOICE
(CODE 22)
D D530 INVOICED TERMINAL
D D600 SERVICE CONSOLIDATION – COMMUNICATION SERVICES INVOICES (CODE 21) AND TELECOMMUNICATIONS SERVICE
INVOICES (CODE 22)
D D610 CONSOLIDATED DOCUMENT ITEMS (CODE 21 AND 22)

Oracle do Brasil – LAD Consulting Localizations Page 55 of 67


Block Record Description
D D695 SERVICE CONSOLIDATION – COMMUNICATION SERVICE INVOICES (CODE 21) AND TELECOMMUNICATIONS SERVICE
INVOICES (CODE 22)
1 1300 FUEL HANDLING
1 1310 SALES VOLUME
1 1320 STOCK RECONCILIATION

Oracle do Brasil – LAD Consulting Localizations Page 56 of 67


10. Integration Update
10.1 APIS and Open Interfaces
The Open Interface of the Integrated Receipt will be modified to permit the
entry of new attributes.

10.2 Modifications in the CAIBR Views for R11i


The new attributes inserted into the “core” tables must be
replicated in the CAI tables that present the information from
these tables.
The following CAI Views are impacted:
o CAIBR_JLBR_ENTIDADES_LEGAIS_V
o CAIBR_AR_CLIENTES_V
o CAIBR_PO_FORNECEDORES_V
o CAIBR_PO_TRANSPORTADORAS_V
o CAIBR_INV_ITENS_V
o CAIBR_AR_NFS_V
o CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V
o CAIBR_REC_NFE_V
o CAIBR_REC_ITENS_NFE_V
o CAIBR_FND_LOOKUPS_V
o CAIBR_EBI_TAXPAYER_UF_V
o CAIBR_EBI_CUSTOMER_TRX_NFE_V

10.2.1 List of New Fields for View CAIBR_JLBR_ENTIDADES_LEGAIS_V

Attribute Name Type Attribute Description


Suframa_Inscription_ Character(9) SUFRAMA Inscription Number
Number
Commercial_Name Character Commercial Name
Phone Character Phone Number
Fax Character Fax Number
Email_Address Character "E-mail"
CNAE_Code Character CNAE Code
Suframa_Inscription_ Character(9) SUFRAMA Inscription Number
Number
Commercial_Name Character Commercial Name

Oracle do Brasil – LAD Consulting Localizations Page 57 of 67


Phone Character Phone Number
Fax Character Fax Number

10.2.2 List of New Fields for View CAIBR_AR_CLIENTES_V

Attribute Name Type: Attribute Description


GLOBAL_ATTRIBUTE10 Character(9) SUFRAMA Inscription Number
THIS GLOBAL ALREADY EXISTS IN THE
CURRENT VIEW

10.2.3 List of New Fields for View CAIBR_PO_FORNECEDORES_V

Attribute Name Type Attribute Description


GLOBAL_ATTRIBUTE17 Character(9) SUFRAMA Inscription Number

10.2.4 List of New Fields for View CAIBR_PO_TRANSPORTADORAS_V

Attribute Name Type Attribute Description


GLOBAL_ATTRIBUTE9 Character(9) SUFRAMA Inscription Number
THIS GLOBAL ALREADY EXISTS IN THE
CURRENT VIEW

10.2.5 List of New Fields for View CAIBR_INV_ITENS_V

Attribute Name Type Attribute Description


GLOBAL_ATTRIBUTE10 Character Alphanumeric Barcode
THIS GLOBAL ALREADY EXISTS IN THE
CURRENT VIEW
GLOBAL_ATTRIBUTE11 Numeric(4) Service Code
GLOBAL_ATTRIBUTE12 Character ANP Fuel Code
GLOBAL_ATTRIBUTE13 Character (14) Global Trade Item Number
GLOBAL_ATTRIBUTE14 Character(3) EX Code

10.2.6 List of New Fields for View CAIBR_AR_NFS_V


Fields starting with “BAT_” come from the table RA_BATCH_SOURCES_ALL
Fields starting with “TYP_” come from the table RA_CUST_TRX_TYPES_ALL
The other fields come from the new table JL_BR_CUSTOMER_TRX_EXTS

Oracle do Brasil – LAD Consulting Localizations Page 58 of 67


Attribute Name Type Attribute Description
BAT_GLOBAL_ Character Invoice Series
ATTRIBUTE3
BAT_GLOBAL_ Numeric Invoice Sub-Series
ATTRIBUTE4
BAT_GLOBAL_ Character Electronic Invoice Issuing Source
ATTRIBUTE5
BAT_GLOBAL_ Character (2) Tax document Code
ATTRIBUTE6
BAT_GLOBAL_ Numeric(1) Printing Orientation
ATTRIBUTE7
TYP_GLOBAL_ Numeric(1) Electronic Invoice Issuing Purpose
ATTRIBUTE5
Legal_Process_Code Character (60) Legal Process Code
Legal_Process_Source_ Numeric(1) Legal Process Source Indicator
Indicator
Vehicle_Plate_State_code Character(2) Vehicle Plate State Code
Vehicle_ANTT_Inscription Character (20) Vehicle ANTT Inscription
Towing_Vehicle_Plate_ Character(8) Towing Vehicle Plate Number
Number
Towing_Vehicle_Plate_ Character(2) Towing Vehicle Plate State Code
State_Code
Towing_Vehicle_ANTT_ Character (20) Towing Vehicle ANTT Inscription
Inscription
Seal_Number Character (60) Seal Number
Electronic_Inv_Web_ Varchar Electronic Invoice Web Address
Address Field also mapped for BSEBI
Electronic_Inv_Status Varchar Electronic Invoice Status
Field also mapped for BSEBI
Electronic_Inv_Access_ Varchar (44) Electronic Invoice Access Key
Key Field also mapped for BSEBI
Electronic_Inv_Protocol Varchar (15) Electronic Invoice Protocol
Field also mapped for BSEBI

10.2.7 List of New Fields for View CAIBR_AR_TOTAIS_IMPOSTOS_NFS_V

Attribute Name Type Attribute Description


ARVT_GLOBAL_ Character(2) IPI Tax Situation Code
ATTRIBUTE4
ARVT_GLOBAL_ Character(3) IPI Legal Applicability Code
ATTRIBUTE5
ARVT_GLOBAL_ Numeric PIS Tax Situation Code
ATTRIBUTE6

Oracle do Brasil – LAD Consulting Localizations Page 59 of 67


ARVT_GLOBAL_ Table not COFINS Tax Situation Code
ATTRIBUTE7 defined
ARVT_GLOBAL_ Character(5) IPI Class Applicability Code
ATTRIBUTE8

10.2.8 List of New Fields for View CAIBR_REC_NFE_V

Attribute Name Type Attribute Description


COMMENTS LONG Free text with the complementary information
existing in the tax document, including the type of
legal norms, normative power, number,
capitulation, date and other pertinent references
associated with the tax
VEHICLE_OPER_TYPE VARCHAR2 Indicator of operation type with the vehicle:
0-Sale to dealer; 1-Direct billing; 2-Direct sales;
3-Dealer sale; 9-Others
VEHICLE_SELLER_ VARCHAR2 CNPJ (Federal Tax ID) of the dealer in cases of
DOC_NUMBER direct sale
VEHICLE_SELLER_ VARCHAR2 Dealer state acronym
STATE_ID
VEHICLE_CHASSI VARCHAR2 Vehicle chassis
THIRD_PARTY_ NUMBER Total amounts charged on behalf of third parties
AMOUNT
ABATEMENT_AMOUNT NUMBER Non-taxed and non-commercial deduction, for
example, a ICMS discount in the remittances
to ZFM
IMPORT_DOCUMENT_ VARCHAR2 Import document: 0 – Import Declaration, 1 –
TYPE Simplified Import Declaration
ELECTRONIC_ VARCHAR2 Electronic Invoice Key
INVOICE_KEY
PROCESS_INDICATOR VARCHAR2 Identification of the legal process
PROCESS_SOURCE VARCHAR2 Process source indicator: 0-Sefaz, 1-Federal
Justice, 2-State Justice, 3-Secex/SRF, 9-Others
SUBSERIE VARCHAR2 Tax document sub-series
ICMS_FREE_ Number Total amount of services that are not taxed
SERVICES_AMOUNT by ICMS

Oracle do Brasil – LAD Consulting Localizations Page 60 of 67


10.2.9 List of New Fields for View CAIBR_REC_ITENS_NFE_V

Attribute Name Type Attribute Description


IPI_TRIBUTARY_CODE Varchar2 Tax Situation Code associated with the IPI
(Industrial Product Tax), based on the table
included in Item 4.3.2
IPI_TRIBUTARY_TYPE Varchar2 IPI legal applicability code as per the table
included in Item 4.5.3.
PIS_TRIBUTARY_CODE Varchar2 Tax Situation Code associated with PIS
(Social Integration Program), as per the table
included in Item 4.3.4
COFINS_TRIBUTARY_ Varchar2 Tax Situation Code associated with COFINS
CODE (Social Security Financing Tax), as per the table
included in Item 4.3.5
PIS_AMOUNT Number Total PIS (Social Integration Program) value
COFINS_AMOUNT Number Total COFINS
(Social Security Financing Tax) value
PIS_BASE_AMOUNT Number PIS calculation base value
PIS_TAX_RATE Number PIS rate (percentage)
PIS_QTY Number Quantity – PIS calculation base
PIS_UNIT_AMOUNT Number PIS rate (in reais)
COFINS_BASE_ Number COFINS calculation base value
AMOUNT
COFINS_TAX_RATE Number COFINS rate (percentage)
COFINS_QTY Number Quantity – COFINS calculation base
COFINS_UNIT_AMOUNT Number COFINS rate (reais)

10.2.10 List of New Fields for View CAIBR_FND_LOOKUPS_V

Attribute Name Type Attribute Description


LOOKUP_TYPE Varchar2 Indicate the value list used to code the different
tax situation types
LOOKUP_CODE Varchar2 Tax Situation Code

MEANING Varchar2 Brief description of tax situation

DESCRIPTION Varchar2 Detailed description of tax situation

Oracle do Brasil – LAD Consulting Localizations Page 61 of 67


Attribute Name Type Attribute Description
ENABLED_FLAG Varchar2

START_DATE_ACTIVE Date

END_DATE_ACTIVE Date

10.2.11 List of New Fields for View CAIBR_EBI_TAXPAYER_UF_V

Attribute Name Type Attribute Description


SET_OF_BOOKS_ID NUMBER Legal Entity (taxpayer)

ACCOUNTING_BALANCI Varchar2 Legal Entity (taxpayer)


NG_SEGMENT
STATE_CODE Varchar2 State Acronym

TAXPAYER_STATE_ Varchar2 CNPJ/CPF (Federal Tax ID/Individual


CNPJ Taxpayer No.) of taxpayer in state
TAXPAYER_STATE_IE Varchar2 State Registration No. of Taxpayer in State

10.2.12 List of New Fields for View CAIBR_EBI_CUSTOMER_TRX_NFE_V

Attribute Name Type Attribute Description


CUSTOMER_TRX_ID Number Link with RA_CUSTOMER_TRX_ALL

INVOICE_COMMENTS LONG Observations

10.3 Modifications for R12


The modifications in the integration for Release 12 will be performed by the
partners through a direct reading in the tables using the new technologies
offered by the release, guaranteeing high performance and security when
accessing the database.

Oracle do Brasil – LAD Consulting Localizations Page 62 of 67


11. Appendix: A – Fiscal SPED Record List

Record Description

0000 OPENING OF DIGITAL FILE AND IDENTIFICATION OF TAXPAYER


0001 OPENING OF BLOCK
0005 COMPLEMENTARY ENTITY DATA
0015 REPLACEMENT TAXPAYER DATA
0100 ACCOUNTANT DATA
0150 PARTICIPANT REGISTRATION TABLE
0175 CHANGE IN PARTICIPANT REGISTRATION TABLE
0190 MEASUREMENT UNIT IDENTIFICATION
0200 ITEM IDENTIFICATION TABLE (PRODUCT AND SERVICES)
0205 CHANGE OF ITEM
0206 PRODUCT CODE BASED ON TABLE PUBLISHED IN COTEPE ACT (FUEL)
0220 UNIT CONVERSION FACTORS
0400 OPERATION/SERVICE NATURE TABLE
0450 COMPLEMENTARY TAX DOCUMENT INFORMATION TABLE
0460 TAX ASSESSMENT OBSERVATION TABLE
0990 CLOSURE OF BLOCK 0
C001 Opening of Block C – Tax document I - Merchandise (ICMS - Value-Added Tax / IPI –
Industrialized Product Tax)
C100 INVOICE (CODE 01), SEPARATE INVOICE (CODE 1B), PRODUCER INVOICE
(CODE 04) AND NFE (CODE 55)
C110 COMPLEMENTARY INVOICE INFORMATION (CODE 01; 1B and 55)
C111 REFERENCE PROCESS
C112 REFERENCE COLLECTION DOCUMENT
C113 REFERENCE TAX DOCUMENT
C114 REFERENCE RECEIPT
C115 COLLECTION AND DELIVERY SITE (CODE 01, 1B AND 04)
C120 IMPORT OPERATIONS (CODE 01)
C130 ISSQN (Municipal Service Tax), IRRF (Withholding Income Tax)
AND SOCIAL SECURITY
C140 INVOICE (CODE 01)
C141 INVOICE DUE DATE (CODE 01)
C150 DOCUMENT COMPLEMENT – ADDITIONAL DATA (CODE 01)
C160 TRANSPORTED VOLUMES (CODE 01 AND 04) – EXCEPT FOR FUELS
C165 OPERATIONS WITH FUELS (CODE 01; 55)
C170 DOCUMENT ITEMS (CODE 01, 1B, 04 AND 55)
C171 FUEL STORAGE (CODE 01, 55)
C172 OPERATION WITH ISSQN (CODE 01)
C173 OPERATIONS WITH MEDICATIONS (CODE 01)

Oracle do Brasil – LAD Consulting Localizations Page 63 of 67


C174 OPERATIONS WITH FIREARMS (CODE 01)
C175 OPERATIONS WITH NEW VEHICLES (CODE 01)
C176 ICMS REIMBURSEMENT IN OPERATIONS WITH TAX REPLACEMENT
(CODE 01, 55) (7/19: record pending clarifications by tax authorities)
C177 OPERATIONS WITH PRODUCTS SUBJECT TO IPI CONTROL SEAL
C178 OPERATIONS WITH PRODUCTS SUBJECT TO IPI TAX PER UNIT
OR PRODUCT QUANTITY
C179 COMPLEMENTARY TAX REPLACEMENT INFORMATION (CODE 01)
C190 ANALYTICAL DOCUMENT RECORD (CODE 01, 1B, 04 AND 55)
C195 TAX ASSESSMENT OBSERVATIONS (CODE 01, 1B AND 55)
C197 OTHER TAX OBLIGATIONS, ADJUSTMENTS AND INFORMATION ON VALUES
RESULTING FROM THE TAX DOCUMENT
C300 DAILY SUMMARY OF CONSUMER SALES INVOICES (CODE 02)
C310 CANCELLED CONSUMER SALES INVOICE DOCUMENTS (CODE 02)
C320 ANALYTICAL RECORD OF DAILY SUMMARY OF CONSUMER SALES INVOICE
(CODE 02)
C321 DAILY DOCUMENT SUMMARY ITEMS (CODE 02)
C400 ECF (Receipt Printing Equipment) EQUIPMENT (CODE 02 AND 2D)
C405 Z REDUCTION (CODE 02 AND 2D)
C410 DAILY PIS (Social Integration Program) AND COFINS (Social Security Financing Tax)
TOTALS (CODE 02 AND 2D)
C420 RECORD OF PARTIAL Z REDUCTION SUMMATORS (CODE 02 AND 2D)
C425 SUMMARY OF DAILY TRANSACTED ITEMS (CODE 02 AND 2D)
C460 TAX DOCUMENT ISSUED BY ECF (CODE 02 AND 2D)
C470 TAX DOCUMENT ITEMS ISSUED BY ECF (CODE 02 AND 2D)
C490 ANALYTICAL RECORD OF DAILY TRANSACTIONS (CODE 02 AND 2D)
C495 MONTHLY SUMMARY OF ECF ITEMS PER ESTABLISHMENT
(CODE 02, 2D AND 2E)
C500 ENERGY INVOICE/BILL (CODE 06) AND GAS INVOICE (CODE 28)
C510 ENERGY INVOICE/BILL DOCUMENT ITEMS
(CODE 06) AND GAS INVOICE/BILL (CODE 28)
C520 DOCUMENT COMPLEMENT – ADDITIONAL DATA (CODE 06)
C590 ANALYTICAL DOCUMENT RECORD - ENERGY INVOICE/BILL DOCUMENT
ITEMS (CODE 06) AND GAS INVOICE/BILL (CODE 28)
C600 DAILY CONSOLIDATION OF ENERGY INVOICES/BILLS (CODE 06), WATER
INVOICE/BILL (CODE 27) AND GAS INVOICE/BILL (CODE 28) (COMPANIES
NOT BOUND TO ICMS AGREEMENT 115/03)
C601 CANCELLED DOCUMENTS - DAILY CONSOLIDATION OF ENERGY
INVOICES/BILLS (CODE 06), WATER INVOICE/BILL (CODE 27) AND
GAS INVOICE/BILL (CODE 28) (COMPANIES NOT BOUND TO ICMS
AGREEMENT 115/03)

Oracle do Brasil – LAD Consulting Localizations Page 64 of 67


C610 CONSOLIDATION DOCUMENT ITEMS (CODE 06), WATER INVOICE/BILL
(CODE 27) AND GAS INVOICE/BILL (CODE 28) (COMPANIES NOT BOUND
TO ICMS AGREEMENT 115/03)
C620 DOCUMENT COMPLEMENT – ADDITIONAL DATA (CODE 06)
C690 ANALYTICAL DOCUMENT RECORD - ENERGY INVOICES/BILLS (CODE 06),
WATER INVOICE/BILL (CODE 27) AND GAS INVOICE/BILL (CODE 28)
C700 CONSOLIDATION OF THE INVOICE DOCUMENTS/ENERGY BILL (CODE 06),
SINGLE COPY (COMPANIES BOUND TO ICMS AGREEMENT 115/03)
C790 ANALYTICAL DOCUMENT RECORD (CODE 06)
C791 ICMS ST RECORD INFORMATION PER STATE (CODE 06)
C990 CLOSURE OF BLOCK C
D001 Opening of Block D – TAX DOCUMENT II - SERVICES (ICMS)
D100 TRANSPORT SERVICE INVOICE (CODE 07) AND INVOICE FOR ADVISORY ON
ROAD CARGO TRANSPORT (CODE 08), WATERWAY CARGO TRANSPORT
(CODE 09), AIR CARGO TRANSPORT (CODE 10), RAILROAD CARGO
TRANSPORT (CODE 11) AND MULTIMODAL CARGO TRANSPORT (CODE 26)
D110 DOCUMENT ITEMS – TRANSPORT SERVICE INVOICE (CODE 07)
D120 TRANSPORT SERVICE INVOICE COMPLEMENT (CODE 07)
D130 ROAD CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 08)
D140 WATERWAY CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 09)
D150 AIRWAY CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 10)
D160 CARGO TRANSPORTED (CODE 07, 08, 09, 10, 11 AND 26)
D161 COLLECTION AND DELIVERY SITE (CODE 07, 08, 09, 10, 11 AND 26)
D170 MULTIMODAL CARGO TRANSPORT ADVISORY COMPLEMENT (CODE 26)
D180 MODALS (CODE 26)
D190 ANALYTICAL DOCUMENT RECORD (CODE 07, 08, 09, 10, 11 AND 26)
D300 ANALYTICAL RECORD OF THE DAILY ROAD TRANSPORT TICKET SUMMARY
(CODE 13), WATERWAY TRANSPORT TICKET SUMMARY (CODE 14),
BAGGAGE TICKET AND INVOICE (CODE 15) AND RAILWAY TRANSPORT
TICKET (CODE 16). - PENDING
D301 CANCELLED ROAD TRANSPORT TICKET DOCUMENTS (CODE 13),
WATERWAY TICKET DOCUMENTS (CODE 14), BAGGAGE TICKET AND
INVOICE (CODE 15) AND RAILROAD TRANSPORT TICKET (CODE 16). -
PENDING
D310 TICKET COMPLEMENT (CODES 13, 14, 15 AND 16)
D350 ECF EQUIPMENT (CODES 2E, 13, 14, 15 AND 16)
D355 Z REDUCTION (CODES 2E, 13, 14, 15 AND 16)
D360 DAILY PIS AND COFINS TOTALS (CODES 2E, 13, 14, 15 AND 16)
D365 PARTIAL Z REDUCTION SUMMATORS (CODES 2E, 13, 14, 15 AND 16)
D370 INFORMED DOCUMENT COMPLEMENT (CODE 13, 14, 15, 16 AND 2E)
D390 ANALYTICAL DAILY TRANSACTION RECORD (CODES 13, 14, 15, 16 AND 2E)
D400 DAILY TRANSACTION SUMMARY (CODE 18)
D410 INFORMED DOCUMENTS (CODES 13, 14, 15 AND 16)

Oracle do Brasil – LAD Consulting Localizations Page 65 of 67


D411 CANCELLED DOCUMENTS OF THOSE INFORMED (CODE 13, 14, 15 AND 16)
D420 INFORMED DOCUMENT COMPLEMENT (CODE 18)
D500 COMMUNICATION SERVICE INVOICE (CODE 21) AND
TELECOMMUNICATIONS SERVICE INVOICE (CODE 22)
D510 DOCUMENT ITEMS – COMMUNICATION SERVICE INVOICE (CODE 21) AND
TELECOMMUNICATIONS SERVICE INVOICE (CODE 22)
D520 DOCUMENT COMPLEMENT – ADDITIONAL DATA (CODE 21 AND 22)
D530 INVOICED TERMINAL
D590 ANALYTICAL DOCUMENT RECORD (CODE 21 AND 22)
D600 SERVICE CONSOLIDATION – COMMUNICATION SERVICE INVOICES (CODE 21)
AND TELECOMMUNICATIONS SERVICE INVOICES (CODE 22)
D610 CONSOLIDATED DOCUMENT ITEMS (CODE 21 AND 22)
D620 DOCUMENT COMPLEMENT – ADDITIONAL DATA (CODE 21 AND 22)
D690 ANALYTICAL DOCUMENT RECORD (CODE 21 AND 22)
D695 SERVICE CONSOLIDATION – COMMUNICATION SERVICE INVOICES (CODE 21)
AND TELECOMMUNICATIONS SERVICE INVOICES (CODE 22)
D696 ANALYTICAL DOCUMENT RECORD (CODE 21 AND 22)
D697 ICMS TAX REPLACEMENT RECORD INFORMATION PER STATE
(CODE 21 AND 22)
D990 CLOSURE OF BLOCK D
E001 OPENING OF BLOCK E – CALCULATION OF ICMS AND IPI
E100 ICMS CALCULATION PERIOD
E110 ICMS CALCULATION – COMPANY OPERATIONS
E111 ICMS CALCULATION ADJUSTMENT/BENEFIT/INCENTIVE
E112 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS
E113 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS –
IDENTIFICATION OF TAX DOCUMENT
E115 ADDITIONAL CALCULATION INFORMATION – DECLARED VALUES
E116 ICMS OBLIGATIONS TO COLLECT – COMPANY OPERATIONS
E200 ICMS CALCULATION PERIOD – TAX REPLACEMENT
E210 ICMS CALCULATION – TAX REPLACEMENT
E220 ICMS CALCULATION ADJUSTMENT/BENEFIT/INCENTIVE - TAX
REPLACEMENT
E230 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS –
TAX REPLACEMENT
E240 ADDITIONAL INFORMATION ON ICMS CALCULATION ADJUSTMENTS – TAX
REPLACEMENT – IDENTIFICATION OF TAX DOCUMENT
E250 ICMS OBLIGATIONS – TAX REPLACEMENT
E500 IPI CALCULATION PERIOD
E510 IPI VALUE CONSOLIDATION
E520 IPI CALCULATION
E530 IPI CALCULATION ADJUSTMENTS
E990 CLOSURE OF BLOCK E

Oracle do Brasil – LAD Consulting Localizations Page 66 of 67


H001 OPENING OF BLOCK H – PHYSICAL INVENTORY
H005 INVENTORY TOTALS
H010 INVENTORY
H990 CLOSURE OF BLOCK H
1001 OPENING OF BLOCK 1 – OTHER INFORMATION
1100 EXPORT INFORMATION RECORD
1105 TAX DOCUMENT FOR EXPORTS
1110 INDIRECT EXPORT OPERATIONS OF NON-INDUSTRIALIZED PRODUCTS BY
THE ISSUING ESTABLISHMENT.
1200 TAX CREDIT CONTROL
1210 TAX CREDIT USE
1300 FUEL HANDLING
1310 SALES VOLUME
1320 STOCK RECONCILIATION
1400 INFORMATION ON ADDED VALUES
1990 CLOSURE OF BLOCK 1
9001 OPENING OF BLOCK 9
9900 FILE RECORDS
9990 CLOSURE OF BLOCK 9
9999 CLOSURE OF DIGITAL FILE

Oracle do Brasil – LAD Consulting Localizations Page 67 of 67

You might also like