Você está na página 1de 42

LynasNFe

Guia de Implementao
- Verso 1.7 - Data : 29/01/2013 -

LynasNFe Guia de Implementao

Verso 1.6

Anexo 1 Mapeamento dos Dados para Importao


1) PARCEIROS (Partner)
Campo / Field Company Code Name Address Email Descrio Identificador para arquivo TXT Companhia Cdigo do Parceiro Nome Parceiro Endereo Endereo de e-mail Description Identifier to TXT File Company Partner Code Partner Name Adrress E-mail Tipo / Type String String String String String String Tamanho / Obrigatrio?/ Length Required? 5 15 X 30 X 60 X 60 X 200 X OBS NF010

2) UNIDADE_MEDIDA (Unit of Measure)


Campo / Field UnitOfMeasurementCode Description Descrio Identificador para arquivo TXT Unidade de Medida Descrio Unidade de Medida Description Identifier to TXT File Unit of Measure Code Unit of Measure Description Tipo / Type String String String Tamanho / Obrigatrio? / Length Required 5 6 X 50 X OBS NF020

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

3) ITEM (Item)
Campo / Field Company ItemCode Type Description Descrio Identificador para arquivo TXT Companhia Cdigo do Item Tipo do Item Descrio do Item Description Identifier to TXT File Company Item Code Item Type Item Description Tipo / Type String String String Enum String Tamanho / Obrigatrio? / Length Required 5 15 X 60 X 30 X 255 X OBS NF030

4) INFORMACAO_COMPLEMENTAR (Complementary information)


Tamanho / Obrigatrio? / Length Required 5 6 X

Campo / Field

Descrio Identificador para arquivo TXT Cdigo da mensagem

Description Identifier to TXT File Message Code

Tipo / Type String String

OBS NF040

MessageCode

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

5) NOTA_FISCAL (NFe)

Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner NFeKey EntryExit IssueDate EExDate NFPurpose NFSituation PaymentTypeIndicator NFTotalAmount ServiceTotalAmount DiscountTotalAmount FreightAmount

Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Chave da Nota Fiscal Eletrnica Tipo de operao Data Emissao Data e hora Entrada/Saida Finalidade de Emisso da Nfe Situao Documento Indicador Tipo de Pagamento Valor Total NF Valor Total Servio Valor total do desconto Frete -Valor

Description Identifier to TXT File

Tipo /Type String String String String String String Int String String int DateTime DateTime int string int Decimal Decimal Decimal Decimal

Company Code Fiscal Unit Code


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Key NF-e Operation Type NF-e Issue Date Goods receipt or shipment date and hour
NF-e Issuing Purpose NF-e Situation

Tamanho / Obrigatrio?/ Length Required? 5 15 X 15 X 2 X 4 4 9 X 30 X 44 1 X

OBS NF050

*1

Payment Type Indicator NF-e Total Amount Service Total Amount Discount Total Amount Freight Total Amount

1 2 1 15,2 15,2 15,2 15,2

X X

*3 *2 *4

Informar o valor por item

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

InsuranceAmount

Seguro - Valor

Insurance Total Amount Other Expenses Note Commitment Contract Purchase Freight Mode Vehicle Plate Vehicle State Vehicle National Transport Agency Register Number Truck Tail License Truck State Truck National Transport Agency Register Number Second Truck Tail License Second Truck State Second Truck National Transport Agency Register Number Billing Number Billing Original Amount Discount Amount External Order Number Boarding Location State of Boarding Location

Decimal

15,2

ExpenseAmount NotaEmpenho Contract ResponsabilityFreight VehiclePlate VehicleUF VehicleANTT TruckTailLicensePlate TruckTailUF TruckTailANTT TruckTailLicensePlate2 Tru2TailUF TruckTailANTT2 BillNumber BillTotalAmount BillTotalDiscount ExternalOrderNumber ShipFromProductLocation ShipFromProductState

Outras Despesas - Valor Nota de Empenho Contrato Frete Por Conta Placa Veiculo UF Veiculo Registro Nacional ANTT do veiculo Placa Reboque UF Reboque Registro Nacional ANTT do reboque Placa 2 Reboque UF do 2 Reboque Registro Nacional ANTT do 2 Reboque Nmero da Fatura Valor Total do Titulo de crdito Valor do desconto do Titulo de crdito Num. Pedido Externo Local onde ocorrer o Embarque dos produtos Sigla da UF onde ocorrer o Embarque dos produtos

Decimal String String int String String String String String String String String String String Decimal Decimal String String String

15,2 17 60 1 15 2 20 15 2 20 15 2 20 60 15,2 15,2 15 60 2

Informar o valor por item Informar o valor por item

*5

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

OBS
CONTEDO VLIDO *1 0 = Entrada 1= Sada 00 = Documento regular 01 = Documento regular extemporneo 02 = Documento cancelado *2 03 = Documento caneclado extemporneo 04 = NF-e ou CT-e denegado 05 = NF-e ou CT-e numerao inutilizada 06 = Documento Fiscal Complementar 07 = Documento Fiscal Complementar extemporneo 08 = Documento Fiscal emitido com base em Regime especial ou norma especfica 1 = NF-e normal *3 2= NF-e complementar 3 = NF-e de ajuste 0 = a vista *4 1 = a prazo 2 = outros 0 = por conta do emitente 1 = por conta do destinatrio *5 2 = por conta de terceiros 9 = sem frete 0 = Entry 1= Exit 00 = Regular Document 01 = Regular Document Extemporaneous 02 = Document Canceled 03 = Document Canceled Extemporaneous 04 = NF-e ou CT-e denied 05 = NF-e ou CT-e Numbering Disable 06 = Complementary Fiscal Note 07 = Complementary Fiscal Note Extemporaneous 08 = Fiscal Document issued on the basis of special arrangements or special rule 1 = NF-e normal 2= NF-e complementary 3 = NF-e Adjustment 0 = a vista 1 = a prazo 2 = Others 0 = on the issuer 1 = responsibility of the recipient 2 = for third parties 9 = no shipping VALID CONTENT

6) NOTA_FISCAL_ENDERECO (NFe Address) 6.1) NOTA_FISCAL_ENDERECO EMITENTE (NFe Address Issuer)


Campo / Field CompanyCode Descrio Identificador para arquivo TXT Cdigo da Companhia Description Identifier to TXT File Tipo /Type String String Tamanho / Obrigatrio?/ Length Required? 5 15 X OBS NF061

Company Code

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate AdrType AddressEndereco AddressNumber AddressComplemento Bairro Pais UFState IBGECode CEPostal CNPJuridico CPFisico IEstadual IMunicipal SFrama Name FictiousName Phone IEstadualSubst

Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Tipo do Endereo Endereo Nmero Complemento Bairro Cdigo Pas Sigla da UF Cdigo IBGE do Municipio CEP CNPJ CPF Inscrio Estadual Inscrio Municipal Inscrio Suframa Razo Social Nome Fantasia Telefone Inscrio Estadual de Substituo Tributrio

Fiscal unit
NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Address Type


Street

Number
Complementary information District

Country Code
State code City code

Zip Code
Recipient Organization CNPJ Recipient Organization CPF IE (State Tax registration number) IM (City tax registration number)

SUFRAMA registration
Recipient Organization Legal Name

Comercial Name Phone

String String String String int String DateTime String String String String String String String Int32 String String String String String String String String String String

15 2 4 4 9 30 20 255 10 100 100 5 2 7 20 25 15 25 25 9 60 60 14 25

X X

X X X X X

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

OBS
CONTEDO VLIDO *1 1 = Simples Nacional 2 = Simples Naci onal excesso de sublimite de receita Bruta 3 = Regime Normal VALID CONTENT 1 = Simples Nacional 2 = Simples Naci onal excesso de sublimite de receita Bruta 3 = Regime Normal

6.2) NOTA_FISCAL_ENDERECO DESTINATRIO (NFe Address Recipient)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate AdrType AddressEndereco AddressNumber AddressComplemento Bairro Pais UFState IBGECode CEPostal Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Tipo do Endereo Endereo Nmero Complemento Bairro Cdigo Pas Sigla da UF Cdigo IBGE do Municipio CEP Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String String String String String String String Int32 String Tamanho / Length 5 15 15 2 4 4 9 30 20 255 10 100 100 5 2 7 20 Obrigatrio?/ Required? X X X OBS NF062

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Address Type


Street

X X X X X

Number
Complementary information District

Country Code
State code City code

Zip Code

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

CNPJuridico CPFisico IEstadual SFrama Name FictiousName Phone Email

CNPJ CPF Inscrio Estadual Inscrio Suframa Razo Social Nome Fantasia Telefone Endereo de e-mail do destinatrio

Recipient Organization CNPJ Recipient Organization CPF IE (State Tax registration number) IM (City tax registration number) Recipient Organization Legal Name

Comercial Name Phone Email addrress

String String String String String String String String

25 15 25 9 60 60 14 60

6.3) NOTA_FISCAL_ENDERECO TRANSPORTADORA (NFe Address Carrier)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate AdrType AddressEndereco AddressNumber AddressComplemento Bairro Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Tipo do Endereo Endereo Nmero Complemento Bairro Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String String String String String Tamanho / Length 5 15 15 2 4 4 9 30 20 255 10 100 100 Obrigatrio?/ Required? X X X OBS NF063

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Address Type


Street

X X X X X

Number
Complementary information District

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

Pais UFState IBGECode CEPostal CNPJuridico CPFisico IEstadual Name Email

Cdigo Pas Sigla da UF Cdigo IBGE do Municipio CEP CNPJ CPF Inscrio Estadual Razo Social Endereo de e-mail da transportadora

Country Code
State code City code

Zip Code
Recipient Organization CNPJ Recipient Organization CPF IE (State Tax registration number) Recipient Organization Legal Name

String String Int32 String String String String String String

5 2 7 20 25 15 25 60 60

Email addrress

6.4) NOTA_FISCAL_ENDERECO ENTREGA (NFe Address Delivery)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate AdrType AddressEndereco AddressNumber Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Tipo do Endereo Endereo Nmero Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String String String Tamanho / Obrigatrio?/ Length Required? 5 15 X 15 X 2 X 4 4 9 X 30 X X 20 X 255 X 10 OBS NF064

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Address Type


Street

Number

2010 - Todos os direitos reservados para LynasLogic.

Pg.

LynasNFe Guia de Implementao

Verso 1.6

AddressComplemento Bairro Pais UFState IBGECode CEPostal CNPJuridico CPFisico

Complemento Bairro Cdigo Pas Sigla da UF Cdigo IBGE do Municipio CEP CNPJ CPF

Complementary information District

Country Code
State code City code

Zip Code
Recipient Organization CNPJ Recipient Organization CPF

String String String String Int32 String String String

100 100 5 2 7 20 25 15

6.5) NOTA_FISCAL_ENDERECO RETIRADA/COLETA (NFe Address Picking)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate AdrType AddressEndereco AddressNumber AddressComplemento Bairro Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Tipo do Endereo Endereo Nmero Complemento Bairro Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String String String String String Tamanho / Length 5 15 15 2 4 4 9 30 20 255 10 100 100 Obrigatrio?/ Required? X X X OBS NF065

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Address Type


Street

X X X X X

Number
Complementary information District

2010 - Todos os direitos reservados para LynasLogic.

Pg.

10

LynasNFe Guia de Implementao

Verso 1.6

Pais UFState IBGECode CEPostal CNPJuridico CPFisico

Cdigo Pas Sigla da UF Cdigo IBGE do Municipio CEP CNPJ CPF

Country Code
State code City code

Zip Code
Recipient Organization CNPJ Recipient Organization CPF

String String Int32 String String String

5 2 7 20 25 15

7) NOTA_FISCAL_IMPOSTO (NFe Tax) 7.1) NOTA_FISCAL_IMPOSTO COFINS RETIDO (NFe Tax COFINS withholding)
Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Taxation TaxAmount Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Imposto Valor Imposto Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String Decimal Tamanho / Length 5 15 15 2 4 4 9 30 10 15.2 Obrigatrio?/ Required? X X X OBS NF071

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Tax Code Tax Amount

X X X X X

COFINSRET

2010 - Todos os direitos reservados para LynasLogic.

Pg.

11

LynasNFe Guia de Implementao

Verso 1.6

7.2) NOTA_FISCAL_IMPOSTO PIS RETIDO (NFe Tax PIS withholding)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Taxation TaxAmount Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Imposto Valor Imposto Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String Decimal Tamanho / Length 5 15 15 2 4 4 9 30 10 15.2 Obrigatrio?/ Required? X X X OBS NF072

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Tax Code Tax Amount

X X X X X

PISRET

7.3) NOTA_FISCAL_IMPOSTO CSLL (NFe Tax CSLL)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie Description Identifier to TXT File Tipo /Type String String String String String Tamanho / Length 5 15 15 2 4 Obrigatrio?/ Required? X X X OBS NF073

Company Code Fiscal unit


NF-e Model Code

NF-e Serie

2010 - Todos os direitos reservados para LynasLogic.

Pg.

12

LynasNFe Guia de Implementao

Verso 1.6

SubSerie NFNumber Partner IssueDate Taxation TaxAmount

SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Imposto Valor Imposto

NF-e Subserie
NF-e Number

Partner Code NF-e Issue Date Tax Code Tax Amount

String int String DateTime String Decimal

4 9 30 10 15,2

X X X X X

CSLL

7.4) NOTA_FISCAL_IMPOSTO IRRF (NFe Tax IRRF)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Taxation TaxBC TaxAmount Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Imposto Base Tributado Valor Imposto Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String Decimal Decimal Tamanho / Length 5 15 15 2 4 4 9 30 10 15.2 15.2 Obrigatrio?/ Required? X X X OBS NF074

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Tax Code Calculation Base Amount Tax Amount

X X X X X X

IRRF

8) NOTA_FISCAL_PARCELAS (NFe Installment)

2010 - Todos os direitos reservados para LynasLogic.

Pg.

13

LynasNFe Guia de Implementao

Verso 1.6

Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Installment DueDate AmountInstallment

Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Parcela Data do Vencimento Valor da Parcela

Description Identifier to TXT File

Tipo /Type String String String String String String int String DateTime int DateTime Decimal

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Installment Installment Due Date Installment Amount

Tamanho / Length 5 15 15 2 4 4 9 30 3 15,2

Obrigatrio?/ Required? X X X

OBS NF080

X X X X X X

9) NOTA_FISCAL_VOLUME (NFe Volume)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Description Identifier to TXT File Tipo /Type String String String String String String Tamanho / Length 5 15 15 2 4 4 Obrigatrio?/ Required? X X X OBS NF090

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie

2010 - Todos os direitos reservados para LynasLogic.

Pg.

14

LynasNFe Guia de Implementao

Verso 1.6

NFNumber Partner IssueDate Specie Quantity Number Brand GrossWeight NetWeigh

Numero Nota Fiscal Cdigo do Parceiro Data Emisso Espcie dos volumes transportados Quantidade de volumes transportados Numerao dos volumes transportados Marca dos volumes transportados Peso Bruto Peso Lquido

NF-e Number

Partner Code NF-e Issue Date


Species of Transported Volumes

int String DateTime String int String String Decimal Decimal

9 30 60 15 50 50 15,3 15,3

X X X

Number of Transported Volumes Volumes Numbering


Brand of Volumes Gross Weight (KG) Net Weight (kg)

10) NOTA_FISCAL_VOLUME_LACRE (NFe Volume Seal)

Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Specie SealNumber

Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Espcie dos volumes transportados Nmero do Lacre

Description Identifier to TXT File

Tipo /Type String String String String String String int String DateTime String String

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date


Species of Transported Volumes Seal Number

Tamanho / Length 5 15 15 2 4 4 9 30 60 60

Obrigatrio?/ Required? X X X

OBS NF100

X X X X X

2010 - Todos os direitos reservados para LynasLogic.

Pg.

15

LynasNFe Guia de Implementao

Verso 1.6

11) NOTA_FISCAL_TEXTO (NFe Text)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate MessageCode Description Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Mensagem Descrio Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String String Tamanho / Length 5 15 15 2 4 4 9 30 0 6 2000 Obrigatrio?/ Required? X X X OBS NF110

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Message Code Message Description

X X X X

12) NOTA_FISCAL_DOCUMENTO_FISCAL_REFERENCIADO (NFe NF Refered)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie Description Identifier to TXT File Tipo /Type String String String String String Tamanho / Length 5 15 15 2 4 Obrigatrio?/ Required? X X X OBS NF120

Company Code Fiscal unit


NF-e Model Code

NF-e Serie

2010 - Todos os direitos reservados para LynasLogic.

Pg.

16

LynasNFe Guia de Implementao

Verso 1.6

SubSerie NFNumber Partner IssueDate MessageCode KeyNFeRef OperationIndicator ReferedSerialNumber ReferedSubSerial ReferedModel ReferedDocNumber ReferedPartner CountryParc UFParc CNPJParc ReferedDocDate

SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Mensagem Chave da Nota Fiscal Eletrnica Referenciada Indicador do tipo de operao Srie da Nota Fiscal Referenciada Sub Srie da Nota Fiscal Referenciada Cdigo do modelo da Nota Fiscal Referenciada Nmero da Nota Fiscal Referenciada Cdigo do Parceiro da Nota Fiscal Referenciada Cdigo do Pas do Emitente da Nota Fiscal Referenciada UF do Emitente da Nota Fiscal Referenciada CNPJ do Emitente da Nota Fiscal Referenciada Data da Emisso da Nota Fiscal Referenciada

NF-e Subserie
NF-e Number

Partner Code NF-e Issue Date Message Code NF Refered - Key NF refered - Operation Type NF Refered - Serie NF Refered Sub Serie NF Refered - Model Code NF Refered - Number NF Refered - Partner Code NF Refered - Partner Country NF Refered - Partner State NF Refered - Partner CNPJ NF Refered - Issue Date

String int String DateTime String int Enum String String String int String String String int DateTime

4 9 30 0 6 44 1 4 4 2 9 30 5 2 14

X X X X *1

OBS
CONTEDO VLIDO *1 0 = Entrada 1= Sada 0 = Entry 1= Exit VALID CONTENT

13) NOTA_FISCAL_PROCESSO_REFERENCIADO (NFe Process Refered)

2010 - Todos os direitos reservados para LynasLogic.

Pg.

17

LynasNFe Guia de Implementao

Verso 1.6

Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate MessageCode ProcessNumber Origin

Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Cdigo Mensagem Identificao do Processo ou ato concessrio Indicador da origem do processo

Description Identifier to TXT File

Tipo /Type String String String String String String int String DateTime String String Enum

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Message Code Indentifier process or such approval Identifier Origin Process

Tamanho / Length 5 15 15 2 4 4 9 30 0 6 15 0

Obrigatrio?/ Required? X X X

OBS NF130

X X X X X X *1

OBS
CONTEDO VLIDO / VALID CONTENT 0 = Sefaz 1= Justia Federal 2 = Justia Estadual 3 = SECEX / RFB 9 = Outros

*1

14) NOTA_FISCAL_ITEM (NFe Item)


Campo / Field Descrio Description Tipo /Type Tamanho / Length Obrigatrio?/ Required? OBS

2010 - Todos os direitos reservados para LynasLogic.

Pg.

18

LynasNFe Guia de Implementao

Verso 1.6

CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID ItemDescription CFOP FcClItId EXTIPI Genero Quantity UMSale UnitPrice DscAmount FreightAmount InsuranceAmount ExpenseAmount ItemTotalAmount IndTot

Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item (1-990) Cdigo do Produto ou Servio Descrio do Produto ou Servio CFOP Classificao Fiscal do Item (NCM) EX TIPI

Identifier to TXT File

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number (1-990) Service or Product Code Service or Product Description Operations Fiscal Code (CFOP) Fiscal Classification (NCM Code) EX_TIPI (Industrialization tax) Gnero do item captulo da TIPI ou 00 Chapter of TIPI or 00 for service or item that does not have product para servio ou item que no tenha produto (Ex. transferncia de crdito, (eg credit transfer, credit assets crdito do ativo imobilizado, etc.) etc.). Quantidade do item Sales Quantity
Unidade de Medida de comercializao do produto Preo unitrio Valor do desconto Valor do frete Valor do seguro Valor da despesa Valor total do item Indica se o valor total do item entra no

String String String String String String int String DateTime int String String int String String String Decimal String Decimal Decimal Decimal Decimal Decimal Decimal String

5 15 15 2 4 4 9 30 0 3 60 255 4 8 3 2 15,4 6 21,10 15,2 15,2 15,2 15,2 15,2 1

NF140 X X X

X X X X X

Sales Unit of measure Unit Price Discount Amount Freight Amount Insurance Amount Expense Amount Item Total Amount
Indicates whether the total value of the

*1

2010 - Todos os direitos reservados para LynasLogic.

Pg.

19

LynasNFe Guia de Implementao

Verso 1.6

DIID DIDate DateDesembaraco LocalDesembaraco UFDesembaraco ExporterCode ProducerCode BarCode ServiceListCode RequestNumber RequestItem ANPCode CODIFReg CombustQTD CombustUF

valor total da NFe Nmero do Documento de Importao Data do registro do documento de importao Data do desembarao Local do desembarao Sigla da UF onde ocorreu o desembarao Cdigo do exportador CNPJ do Produtor da Mercadoria quando diferente do emitente. Somente para os casos de exportao direta ou indireta Cdigo EAN ou Cdigo de barras Cdigo da Lista de Servio Nmero do Pedido de Compra Item do Pedido de Compra Cdigo de Produto ANP Cdigo de autorizao / registro do CODIF Quantidade de combustvel faturada temperatura ambiente Sigla da UF de consumo do combustvel

item is part of the total NFE

Import Document Number Issue date of import document Customs Clearance Date Customs Clearance Location Customs Clearance State Exporter code CNPJ producer of the goods, when different from issuer. Only for cases of export directly or indirect. EAN Code or BarCode Service List Code Purchase Order Number Item Purchase Order

String DateTime DateTime String String String String String int String Int Int String Decimal string

60

60 2 60 14 14 8 15 6 9 21 16,4 2

L102 L103 L104 L120

OBS
CONTEDO VLIDO *1 0 = o valor do item no compe o valor total da NFe 1 = o valor do item compe o valor total da NFe VALID CONTENT 0 = the total value of the item is not part of the total value of NFE 1 = the total value of the item is part of the total value of NFe

2010 - Todos os direitos reservados para LynasLogic.

Pg.

20

LynasNFe Guia de Implementao

Verso 1.6

15) NOTA_FISCAL_ITEM_ADIO (NFe Item Addition)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID AdicaoNumber AdicaoSequenceNumber DescountAmountDI Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Nmero Adio Nmero Sequencial Item Valor desconto do item - Adio Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime int String int int Decimal String Tamanho / Length 5 15 15 2 4 4 9 30 3 60 3 3 15,2 30 X Obrigatrio?/ Required? X X X OBS NF150

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code
Addition number Item Number Sequncial in addition Item discount value in Addition Foreign manufacturer code

X X X X X X X

ForeignManufacturerCode Cdigo Fabricante Estrangeiro

16) NOTA_FISCAL_ITEM_TEXTO (NFe Item Text)


Campo / Field CompanyCode Descrio Identificador para arquivo TXT Cdigo da Companhia Description Identifier to TXT File Tipo /Type String String Tamanho / Length 5 15 Obrigatrio?/ Required? X OBS NF160

Company Code

2010 - Todos os direitos reservados para LynasLogic.

Pg.

21

LynasNFe Guia de Implementao

Verso 1.6

FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID MessageCode Description

Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo da Mensagem Descrio da Mensagem

Fiscal unit
NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Message Code Message Description

String String String String int String DateTime int String String String

15 2 4 4 9 30 3 60 6 2000

X X

X X X X X X

17) NOTA_FISCAL_ITEM_IMPOSTO (NFe Item Tax) 17.1) NOTA_FISCAL_ITEM_IMPOSTO ICMS (NFe Item Tax - ICMS)
Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime Tamanho / Length 5 15 15 2 4 4 9 30 Obrigatrio?/ Required? X X X OBS NF171

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date

X X X

2010 - Todos os direitos reservados para LynasLogic.

Pg.

22

LynasNFe Guia de Implementao

Verso 1.6

ItemNumber ItemID Taxation TributarySituationA TributarySituationB TaxedBC TaxAliquot TaxAmount ReductionAliquot BCType

Item Sequential Number Service or Product Code Tax Code Tributary Situation Code (for ICMS) Cdigo Situao Tributria - tabea A - Table A Tributary Situation Code (for ICMS) Cdigo Situao Tributria - tabea B - Table B Base Tributado Calculation Base Amount Alquota Aliquot Valor do Imposto Tax Amount
Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Percentual de reduo da base de clculo Modalidade Base de Clculo

int String String String String Decimal Decimal Decimal Decimal String

3 60 10 1 2 15,2 5,2 15,2 5,2 1

X X X X X

ICMS *1 *2

Percent Reduction Calculation Base


Calculation Base Mode

*3

OBS
CONTEDO VLIDO 0 - Nacional, exceto as indicadas nos cdigos 3 a 5; 1 - Estrangeira - Importao direta, exceto a indicada no cdigo 6; 2 - Estrangeira - Adquirida no mercado interno, exceto a indicada no cdigo 7; 3 - Nacional, mercadoria ou bem com Contedo de Importao superior a 40%; 4 - Nacional, cuja produo tenha sido feita em conformidade com os processos produtivos bsicos de que tratam as legislaes citadas nos Ajustes; 5 - Nacional, mercadoria ou bem com Contedo de Importao inferior ou igual a 40%; 6 - Estrangeira - Importao direta, sem VALID CONTENT 0 = National, except as noted in code 3 to 5; 1 - Foreign - Direct import, except shown in the code 6; 2 - Foreign - Acquired in internal market, except as indicated in the code 7; 3 - National, product with Import contents exceeding 40%; 4 - National, whose production has been made in accordance with the basic processes that treat the laws cited in adjustments; 5 - National,product with Import Content lower or equal to 40%; 6 - Foreign - Direct import without national similar, constat of CAMEX list;

*1

2010 - Todos os direitos reservados para LynasLogic.

Pg.

23

LynasNFe Guia de Implementao

Verso 1.6

similar nacional, constante em lista da CAMEX; 7 - Estrangeira - Adquirida no mercado interno, sem similar nacional, constante em lista da CAMEX.

7 - foreign - Acquired in internal markets, no national similar, constant of CAMEX list.

*2

00 = Tributada integralmente 10 = Tributada e com cobrana do ICMS por substituio tributria 20 = Com reduo de base de clculo 30 = Isenta ou no tributada e com cobrana do ICMS por substituio tributria 40 = Isenta 41 = No tributada 50 = Suspenso 51 = Diferimento 60 = ICMS cobrado anteriormente por substituio tributria 70 = Com reduo de base de clculo e cobrana do ICMS por substituio tributria 90 = Outras 0 = Margem valor agregado (%) 1 = Pauta (valor) 2 = Preo Tabelado Mx. (valor) 3 = valor da operao

00 =Taxed in full 10 = Taxed and collection of VAT by tax substitutiona 20 = With basic reduction of calculation 30 = Free or untaxed and collection of ICMS by tax substitution 40 = Free 41 = Not Taxed 50 = Suspension 51 = Delayed 60 = ICMS previously charged by tax substitution 70 = With reduced tax base and collection of ICMS by tax substitution 90 = Other 0 = Net value added (%) 1 = Tariff (amount) 2 = Tabulated Max Price (amount) 3 = Amount Transation

*3

17.2) NOTA_FISCAL_ITEM_IMPOSTO ICMS ST (NFe Item Tax ICMS ST)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie Description Tipo /Type String String String String String Tamanho / Length 5 15 15 2 4 Obrigatrio?/ Required? X X X OBS NF172

Identifier TXT File Company Code Fiscal unit


NF-e Model Code

NF-e Serie

2010 - Todos os direitos reservados para LynasLogic.

Pg.

24

LynasNFe Guia de Implementao

Verso 1.6

SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxAliquot MarkuAliquot TaxAmount ReductionAliquot BCType

UFST

SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Alquota Alquota de Markup Valor do Imposto Percentual de reduo da base de clculo Modalidade Base de Clculo Sigla da UF para qual devido o ICMS ST, utilizada apenas para operaes interestaduais para consumidor final com partilha de ICMS

NF-e Subserie
NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Aliquot Markup Aliquot Tax Amount Percent Reduction Calculation Base
Calculation Base Mode

String int String DateTime int String String Decimal Decimal Decimal Decimal Decimal

4 9 30 0 3 60 10 5,2 5,2 15,2 5,2 1

X X X X X X

ICMSST

*1

UF which is due to the ICMS ST, used only to interstate operations to final consumer

String

OBS
CONTEDO VLIDO 0 = Preo tabelado ou mximo sugerido 1 = Lista Negativa (valor) 2 = Lista Positiva (valor) *1 3 = Lista Neutra (valor) 4 = Margem valor agregado (%) 5 = Pauta (valor) VALID CONTENT 0 = List price or suggested maximum 1 = Negative List (value) 2 = Positive List (value) 3 = Neutral List (value) 4 = Margin value (%) 5 = Tariff (value)

17.3) NOTA_FISCAL_ITEM_IMPOSTO IPI (NFe Item Tax - IPI)

2010 - Todos os direitos reservados para LynasLogic.

Pg.

25

LynasNFe Guia de Implementao

Verso 1.6

Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TributarySituation TaxedBC TaxAliquot TaxAmount QuantityPauta AmountPauta StampCode StampQuantity EnquadramentoClass EnquadramentoCode

Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Cdigo Situao Tributria Base Tributado Alquota Valor do Imposto Quantidade da pauta Valor da pauta Cdigo do selo Quantidade do selo Classe do Enquadramento Cdigo do Enquadramento

Description Identifier to TXT File

Tipo /Type String String String String String String int String DateTime int String String String Decimal Decimal Decimal Decimal Decimal String int String String

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Tributary Situation Code Calculation Base Amount Aliquot Tax Amount
Tariff Quantity Tariff Amount Stamp Code Stamp Quantity Class Guidelines Code Guidelines

Tamanho / Length 5 15 15 2 4 4 9 30 0 3 60 10 2 15,2 5,2 15,2 16,4 15,4 6 12 5 3

Obrigatrio?/ Required? X X X

OBS NF173

X X X X X X X

IPI *1

OBS

2010 - Todos os direitos reservados para LynasLogic.

Pg.

26

LynasNFe Guia de Implementao

Verso 1.6

CONTEDO VLIDO 00 = Input with credit recovery 01 = Input taxed with a zero rate 02 = Input free 03 = Input non-taxed 04 = Input immune 05 = Input with suspension 49 = Other entries 50 = Output taxed 51 = Output taxed with a zero rate 52 = Output free 53 = Output non-taxed 54 = Output immune 55 = Output suspension 99 = Other outputs

VALID CONTENT

00 = Entrada com recuperao de crdito 01 = Entrada tributada com alquota zero 02 = Entrada isenta 03 = Entrada no-tributada 04 = Entrada imune 05 = Entrada com suspenso *1 49 = Outras entradas 50 = Sada tributada 51 = Sada tributada com alquota zero 52= Sada isenta 53 = Sada no-tributada 54 = Sada imune 55 = Sada com suspenso 99 = Outras sadas

17.4) NOTA_FISCAL_ITEM_IMPOSTO PIS (NFe Item Tax - PIS)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime int String Tamanho / Length 5 15 15 2 4 4 9 30 0 3 60 Obrigatrio?/ Required? X X X OBS NF174

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code

X X X X X

2010 - Todos os direitos reservados para LynasLogic.

Pg.

27

LynasNFe Guia de Implementao

Verso 1.6

Taxation TributarySituation TaxedBC TaxAliquot TaxAmount QuantityPauta AmountPauta

Cdigo Imposto Cdigo Situao Tributria Base Tributado Alquota Valor do Imposto Quantidade da pauta Valor da pauta

Tax Code Tributary Situation Code Calculation Base Amount Aliquot Tax Amount
Tariff Quantity Tariff Amount

String String Decimal Decimal Decimal Decimal Decimal

10 2 15,2 5,2 15,2 16,4 15,4

X X

PIS *1

OBS
CONTEDO VLIDO VALID CONTENT 01 = Taxable Operation - Basis Value = Normal Operation tax rate (Cumulative / NonCumulative) 02 = Taxable Operation - Base = Calculated Value of Transaction (different rates) 03 = Taxable Operation - Basis Quantity Sold = x tax rate per unit of product 04 = Operation Taxable - Tax Single Phase - (Zero tax rate) 05 = Operation Taxable (tax replacement) 06 = Operation Taxable - Zero rate 07 = Operation Free of contribution 08 = Operation Impact Without the contribution 09 = Operation with a suspension of contributions 99 = Other Operations

01 = Operao Tributvel - Base de Clculo = Valor da Operao Alquota Normal (Cumulativo/No Cumulativo) 02 = Operao Tributvel - Base de Calculo = Valor da Operao (Alquota Diferenciada) 03 = Operao Tributvel - Base de Calculo = Quantidade Vendida x Alquota por Unidade de Produto *1 04 = Operao Tributvel - Tributao Monofsica - (Alquota Zero) 05 = Operao Tributvel (substituio tributria) 06 = Operao Tributvel Alquota zero 07 = Operao Isenta da contribuio 08 = Operao Sem Incidncia da contribuio 09 = Operao com suspenso da contribuio 99 = Outras Operaes

17.5) NOTA_FISCAL_ITEM_IMPOSTO PIS ST (NFe Item Tax PIS ST)


Campo / Field CompanyCode FiscalUnitCode NFModel Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Description Identifier to TXT File Tipo /Type String String String String Tamanho / Length 5 15 15 2 Obrigatrio?/ Required? X X X OBS NF175

Company Code Fiscal unit


NF-e Model Code

2010 - Todos os direitos reservados para LynasLogic.

Pg.

28

LynasNFe Guia de Implementao

Verso 1.6

Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxedBC TaxAliquot TaxAmount QuantityPauta AmountPauta

Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Base Tributado Alquota Valor do Imposto Quantidade da pauta Valor da pauta

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Calculation Base Amount Aliquot Tax Amount
Tariff Quantity Tariff Amount

String String int String DateTime int String String Decimal Decimal Decimal Decimal Decimal

4 4 9 30 0 3 60 10 15,2 5,2 15,2 16,4 15,4

X X X X X X

PISST

17.6) NOTA_FISCAL_ITEM_IMPOSTO COFINS (NFe Item Tax COFINS)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie Description Identifier to TXT File Tipo /Type String String String String String Tamanho / Length 5 15 15 2 4 Obrigatrio?/ Required? X X X OBS NF176

Company Code Fiscal unit


NF-e Model Code

NF-e Serie

2010 - Todos os direitos reservados para LynasLogic.

Pg.

29

LynasNFe Guia de Implementao

Verso 1.6

SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TributarySituation TaxedBC TaxAliquot TaxAmount QuantityPauta AmountPauta

SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Cdigo Situao Tributria Base Tributado Alquota Valor do Imposto Quantidade da pauta Valor da pauta

NF-e Subserie
NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Tributary Situation Code Calculation Base Amount Aliquot Tax Amount
Tariff Quantity Tariff Amount

String int String DateTime int String String String Decimal Decimal Decimal Decimal Decimal

4 9 30 0 3 60 10 2 15,2 5,2 15,2 16,4 15,4

X X X X X X X

COFINS *1

OBS
CONTEDO VLIDO VALID CONTENT 01 = Taxable Operation - Basis Value = Normal Operation tax rate (Cumulative / NonCumulative) 02 = Taxable Operation - Base = Calculated Value of Transaction (different rates) 03 = Taxable Operation - Basis Quantity Sold = x tax rate per unit of product 04 = Operation Taxable - Tax Single Phase - (Zero tax rate) 05 = Operation Taxable (tax replacement) 06 = Operation Taxable - Zero rate 07 = Operation Free of contribution 08 = Operation Impact Without the contribution 09 = Operation with a suspension of contributions 99 = Other Operations

01 = Operao Tributvel - Base de Clculo = Valor da Operao Alquota Normal (Cumulativo/No Cumulativo) 02 = Operao Tributvel - Base de Calculo = Valor da Operao (Alquota Diferenciada) 03 = Operao Tributvel - Base de Calculo = Quantidade Vendida x Alquota por Unidade de Produto *1 04 = Operao Tributvel - Tributao Monofsica - (Alquota Zero) 05 = Operao Tributvel (substituio tributria) 06 = Operao Tributvel Alquota zero 07 = Operao Isenta da contribuio 08 = Operao Sem Incidncia da contribuio 09 = Operao com suspenso da contribuio 99 = Outras Operaes

2010 - Todos os direitos reservados para LynasLogic.

Pg.

30

LynasNFe Guia de Implementao

Verso 1.6

17.7) NOTA_FISCAL_ITEM_IMPOSTO COFINS ST (NFe Item Tax COFINSST)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxedBC TaxAliquot TaxAmount QuantityPauta AmountPauta Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Base Tributado Alquota Valor do Imposto Quantidade da pauta Valor da pauta Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime int String String Decimal Decimal Decimal Decimal Decimal Tamanho / Length 5 15 15 2 4 4 9 30 0 3 60 10 15,2 5,2 15,2 16,4 15,4 Obrigatrio?/ Required? X X X OBS NF177

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Calculation Base Amount Aliquot Tax Amount
Tariff Quantity Tariff Amount

X X X X X X

COFINSST

2010 - Todos os direitos reservados para LynasLogic.

Pg.

31

LynasNFe Guia de Implementao

Verso 1.6

17.8) NOTA_FISCAL_ITEM_IMPOSTO II (NFe Item Tax II)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxedBC TaxAmount Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Base Tributado Valor do Imposto Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime int String String Decimal Decimal Tamanho / Length 5 15 15 2 4 4 9 30 0 3 60 10 15,2 15,2 Obrigatrio?/ Required? X X X OBS NF178

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Calculation Base Amount Tax Amount

X X X X X X

II

17.9) NOTA_FISCAL_ITEM_IMPOSTO ISSQN (NFe Item Tax ISSQN)


Campo / Field CompanyCode Descrio Identificador para arquivo TXT Cdigo da Companhia Description Identifier to TXT File Tipo /Type String String Tamanho / Length 5 15 Obrigatrio?/ Required? X OBS NF179

Company Code

2010 - Todos os direitos reservados para LynasLogic.

Pg.

32

LynasNFe Guia de Implementao

Verso 1.6

FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxedBC TaxAliquot TaxAmount TributarySituationCode

Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Base Tributado Alquota Valor do Imposto Cdigo de Tributao do ISSQN

Fiscal unit
NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Calculation Base Amount Aliquot Tax Amount Tax Code ISSQN

String String String String int String DateTime int String String Decimal Decimal Decimal String

15 2 4 4 9 30 0 3 60 10 15,2 5,2 15,2 1

X x

X X X x X X

ISSQN

*1

OBS
CONTEDO VLIDO N = Normal *1 R = Retida S = Substituta I = Isenta VALID CONTENT N = Normal R = withheld S = substitute I = free

17.10) NOTA_FISCAL_ITEM_IMPOSTO ICMS ST Retido (NFe Item Tax ICMS ST Retido)


Campo / Field Descrio Identificador para arquivo TXT Description Identifier to TXT File Tipo /Type String Tamanho / Length 5 Obrigatrio?/ Required? OBS N1710

2010 - Todos os direitos reservados para LynasLogic.

Pg.

33

LynasNFe Guia de Implementao

Verso 1.6

CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxedBC TaxAmount TaxedBCem TaxAmountem TaxedBCde TaxAmountde

Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Valor da Base de clculo do ICMS ST retido, isto , cobrado anteriormente por ST Valor do Imposto ICMS ST retido

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code
Calculation Base Amount previously charged by tax substitute

String String String String String int String DateTime int String String Decimal Decimal Decimal Decimal Decimal Decimal

15 15 2 4 4 9 30 0 3 60 10 15,2 15,2 15,2 15,2 15,2 15,2

X X x

X X X x X X

ICMSSTRET

Tax Amount

Calculation Base Amount Valor da Base de clculo do ICMS ST previously charged by tax retido na UF do remetente substitute Valor do Imposto ICMS ST retido na Tax Amount UF do remetente Calculation Base Amount Valor da Base de clculo do ICMS ST previously charged by tax retido da UF destino substitute Valor do Imposto ICMS ST retido da Tax Amount UF destino

2010 - Todos os direitos reservados para LynasLogic.

Pg.

34

LynasNFe Guia de Implementao

Verso 1.6

17.11) NOTA_FISCAL_ITEM_IMPOSTO ICMS Desonerado (NFe Item Tax ICMS DES)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID Taxation TaxAmount BCType Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Cdigo Imposto Valor do Imposto Motivo da desonerao do ICMS Description Tipo /Type String String String String String String int String DateTime int String String Decimal Decimal Tamanho / Length 5 15 15 2 4 4 9 30 0 3 60 10 15,2 1 Obrigatrio?/ Required? X X X OBS N1711

Identifier TXT File Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Tax Code Tax Amount
Reasom for exemption of ICMS

X X X X X X

ICMSDES *1

OBS
CONTEDO VLIDO 1 = Taxi 2= Deficiente Fsico 3 = Produtor Agropecurio 4 = Frotista / Locadora *1 5 = Diplomtico / Consular 6 = Utilitrios e Motocicletas da Amaznia e ALC 7 = Suframa 8 = Venda a rgo Pblicos 9 = Outros VALID CONTENT

2010 - Todos os direitos reservados para LynasLogic.

Pg.

35

LynasNFe Guia de Implementao

Verso 1.6

18) NOTA_FISCAL_ITEM_VEICULO_NOVO (NFe Item Veiculo Novo)


Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate ItemNumber ItemID OperationType Vehiclechassis ColorCodeAssembler ColorDescription MotorPower Cilindradas NetWeight GrossWeight Serie FuelType MotorNumber CapacityTraction Wheelbase Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Nmero do item Cdigo do Produto ou Servio Tipo de Operao Chassis do Veculo Cdigo da Cor de cada montadora Descrio da Cor Potncia do Motor (CV) Cilindradads (CC) Peso Liquido Peso Bruto Serial (Serie) Tipo de Combustivel Nmero do Motor Capacidade Mxima de Trao (CMT) em toneladas Distncia entre eixos em metros Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime int String String String String String Int Int Int Int String String String Int Int Tamanho / Length 5 15 15 2 4 4 9 30 3 60 1 17 4 40 4 4 9,4 9,4 9 2 21 9,4 5,4 Obrigatrio?/ Required? X X X OBS NF18

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date Item Sequential Number Service or Product Code Operation Type
Vehicle Chassis Color Code for each assembler Color Description Motor Power Cilindradas (CC) Net Weight Gross Weight Serial Fuel Type Motor Number Maximum capacity of traction Wheelbase

X X X X X X X

*1

*2

2010 - Todos os direitos reservados para LynasLogic.

Pg.

36

LynasNFe Guia de Implementao

Verso 1.6

ModelYear ManufactureYear TypePaint vehicletype KindVehicle VINCondition VehicleCondition ModelCode ColorCode PassengerCapacity Restriction

Ano Modelo Ano de Fabricao Tipo de Pintura Tipo de Veculo Especie do Ve[iculo Condio do VIN (chassi) remarcado Condio do Veculo Cdigo Marca Modelo Cdigo da Cor Capacidade mxima de lotao Restrio

Model Year Year of Manufacture Type of Paint Vehicle Type Kind of Vehicle VIN condition (chassis) rescheluded Vehicle Condition Model Code Color Code Passenger Capacity Restriction

Int Int String Int Int String Int Int Int Int Int

4 4 1 2 1 1 1 6 2 3 1

*3 *4 *5 *6 *7 *8 *9

OBS
CONTEDO VLIDO 1 = Venda concessionria *1 2 = Faturamento direto para consumidor final 3 = Venda direta para grandes consumidores (frotista, governo, etc.) 0 = Outors 01 = ALCOOL 02 = GASOLINA 03 = DIESEL 04 =GASOGENIO 05 = GAS METANO 06 = ELETRICO/FONTE INTERNA 07 = ELETRICO/FONTE EXTERNA 08 = GASOL/GAS NATURAL COMBUSTIVEL *2 09 = ALCOOL/GAS NATURAL COMBUSTIVEL 10 = DIESEL/GAS NATURAL COMBUSTIVEL 11 = VIDE/CAMPO/OBSERVACAO 12 = ALCOOL/GAS NATURAL VEICULAR 13 = GASOLINA/GAS NATURAL VEICULAR 14 = DIESEL/GAS NATURAL VEICULAR 15 = GAS NATURAL VEICULAR 16 = ALCOOL/GASOLINA VALID CONTENT 1 = Sale Concessionaire 2 = Direct billing to final consumer 3 = Direct sales to large consumers (fleet owners, government, etc.) 0 = Other

2010 - Todos os direitos reservados para LynasLogic.

Pg.

37

LynasNFe Guia de Implementao

Verso 1.6

17 = GASOLINA/ALCOOL/GAS NATURAL 18 = GASOLINA/ELETRICO

02 = CICLOMOTO 03 = MOTONETA 04 = MOTOCICLO 05 = TRICICLO 06 = AUTOMVEL 07 = MICRONIBUS 08 = NIBUS *3 10 = REBOQUE 13 = CAMINHONETA 14 = CAMINHO 17 = C. TRATOR 22 = ESP / NIBUS 23 = MISTO / CAM 24 = CARGA / CAM 1= Passageiro 2= Carga 3= Misto *4 4= Corrida 5= Trao 6= Especial

*5 R = Remarcado N = Normal 1 = Acabado *6 2 = Inacabado 3 = Semi-acabado

*7 Utilizar tabela RENAVAM

01 = Amarelo 02 = Azul *8 03 = Bege 04 = Branca 05 = Cinza

2010 - Todos os direitos reservados para LynasLogic.

Pg.

38

LynasNFe Guia de Implementao

Verso 1.6

06 = Dourada 07 = Grena 08 = Laranja 09 = Marrom 10 = Prata 11 = Preta 12 = Rosa 13 = Roxa 14 = Verde 15 = Vermelha 16 = Fantasia 0 = no h 1 = Alienao Fiduciria 2 = Arrendamento Mercantil *9 3 = Reserva de Domnio 4 = Penhor de Veculos 9 = Outras

2010 - Todos os direitos reservados para LynasLogic.

Pg.

39

LynasNFe Guia de Implementao

Verso 1.6

SOLICITAO DE CANCELAMENTO
Campo / Field CompanyCode FiscalUnitCode NFModel Serie SubSerie NFNumber Partner IssueDate Justificativa Descrio Identificador para arquivo TXT Cdigo da Companhia Estabelecimento Fiscal Modelo da nota fiscal Serie SubSerie Numero Nota Fiscal Cdigo do Parceiro Data Emisso Justificativa do Cancelamento / Inutilizao (deve ter no mnimo 15 caracteres) Description Identifier to TXT File Tipo /Type String String String String String String int String DateTime String Tamanho / Length 5 15 15 2 4 4 9 30 0 255 Obrigatrio?/ Required? X X X OBS NFCAN

Company Code Fiscal unit


NF-e Model Code

NF-e Serie NF-e Subserie


NF-e Number

Partner Code NF-e Issue Date


Reason for Cancellation / Withdrawal (must be at least 15 characters)

X X X X

2010 - Todos os direitos reservados para LynasLogic.

Pg.

40

LynasNFe Guia de Implementao

Verso 1.6

NotaFiscal

Nota_Fiscal_Endereco
NotaFiscalAddress

Nota_Fiscal_Imposto
NotaFiscalTax

Nota_Fiscal_Parcelas
NotaFiscalInstallment

Nota_Fiscal_Item
NotaFiscalItem

Nota_Fiscal_Texto
NotaFiscalText

Nota_Fiscal_Volume
NotaFiscalVolume

Nota_Fiscal_Item_Adicao
NotaFiscalItemAdicao

Nota_Fiscal_Item_Imposto
NotaFiscalItemTax

Nota_Fiscal_Item_Texto
NotaFiscalItemText

Nota_Fiscal_Volume_Lacre
NotaFiscalVolumeSeal

Nota_Fiscal_Documento_Fiscal_ Referenciado
NotaFiscalReferedDocFiscal

Nota_Fiscal_Processo_Referenciado
NotaFiscalReferedProcess

2010 - Todos os direitos reservados para LynasLogic.

Pg.

41

Você também pode gostar