Documentation

Parser
in package

Table of Contents

Constants

LOCAL  = "LOCAL"
LOCAL_V12  = "LOCAL_V12"
LOCAL_V13  = "LOCAL_V13"
SEBRAE  = "SEBRAE"

Properties

$baselayout  : string
$BB02RefNFe  : array<string|int, mixed>
$detExport  : array<string|int, mixed>
$detExportInd  : array<string|int, mixed>
$item  : int
$make  : Make
$nDI  : int
$stdAutXML  : stdClass|null
$stdCOFINS  : stdClass
$stdCOFINSST  : stdClass
$stdComb  : stdClass|null
$stdDest  : stdClass|null
$stdEmit  : stdClass|null
$stdEntrega  : stdClass|null
$stdII  : stdClass
$stdIPI  : stdClass
$stdNFP  : stdClass|null
$stdPIS  : stdClass
$stdPISST  : stdClass
$stdRetirada  : stdClass|null
$stdTransporta  : stdClass|null
$structure  : array<string|int, mixed>
$volId  : int

Methods

__construct()  : mixed
Configure environment to correct NFe layout
dump()  : array<string|int, mixed>
Convert txt to XML
getErrors()  : array<string|int, mixed>
Retorna erros na criacao do DOM
toXml()  : string|null
Convert txt to XML
aEntity()  : void
Create tag infNFe [A] A|versao|Id|pk_nItem|
array2xml()  : void
Converte txt array to xml
b31Entity()  : void
Create tag taggCompraGov [B31] B31|tpEnteGov|pRedutor|tpOperGov|
ba02Entity()  : void
Create tag refNFe [BA02] BA02|refNFe|
ba03Entity()  : void
Create tag refNF [BA03] BA03|cUF|AAMM|CNPJ|mod|serie|nNF|
ba10Entity()  : void
Load fields for tag refNFP [BA10] BA10|cUF|AAMM|IE|mod|serie|nNF|
ba13Entity()  : void
Create tag refNFP [BA13], with CNPJ belongs to [BA10] BA13|CNPJ|
ba14Entity()  : void
Create tag refNFP [BA14], with CPF belongs to [BA10] BA14|CPF|
ba19Entity()  : void
Create tag refCTe [BA19] B19|refCTe|
ba20Entity()  : void
Create tag refECF [BA20] BA20|mod|nECF|nCOO|
baEntity()  : void
Create tag nfref [BA] BA|
bb02Entity()  : void
BB02|refNFe|
bEntity()  : void
Create tag ide [B] B|cUF|cNF|natOp|mod|serie|nNF|dhEmi|dhSaiEnt|tpNF|idDest|cMunFG|tpImp |tpEmis|cDV|tpAmb|finNFe|indFinal|indPres|procEmi|verProc|dhCont|xJust |indPag|dPrevEntrega|tpNFDebito|tpNFCredito|cMunFGIBS|cMunFGIBS|
buildBA10Entity()  : void
Create tag refNFP [BA10]
buildCEntity()  : void
Create tag emit [C]
buildEEntity()  : void
Create tag dest [E]
buildFEntity()  : void
Create tag retirada [F]
buildGEntity()  : void
Create tag entrega [G]
buildLAEntity()  : void
Create tag comb [LA]
buildNAEntity()  : void
Create tag ICMSUFDest [NA]
buildNEntity()  : void
Create tag ICMS [N] NOTE: adjusted for NT2016_002_v1.30
buildNSNEntity()  : void
Create tag ICMSSN [NS] Nsn|orig|CSOSN|modBC|vBC|pRedBC|pICMS|vICMS|pCredSN|vCredICMSSN|modBCST|pMVAST |pRedBCST|vBCST|pICMSST|vICMSST|vBCSTRet|vICMSSTRet|vBCFCPST|pFCPST|vFCPST|
buildOEntity()  : void
Create tag IPI [O] Oxx|cst|clEnq|cnpjProd|cSelo|qSelo|cEnq|vBC|pIPI|qUnid|vUnid|vIPI|
buildQEntity()  : void
Create tag PIS [Q] Qxx|CST|vBC|pPIS|vPIS|qBCProd|vAliqProd|
buildREntity()  : void
Create tag PISST Rxx|vBC|pPIS|qBCProd|vAliqProd|vPIS|
buildSEntity()  : void
Create tag COFINS [S] Sxx|CST|vBC|pCOFINS|vCOFINS|qBCProd|vAliqProd|
buildTEntity()  : void
Create tag COFINSST [T] Txx|vBC|pCOFINS|qBCProd|vAliqProd|vCOFINS|
buildVolEntity()  : void
Create tag vol
c02aEntity()  : void
Create tag emit [C02a], with CPF belongs to [C] C02a|CPF|
c02Entity()  : void
Create tag emit [C02], with CNPJ belongs to [C] C02|CNPJ|
c05Entity()  : void
Create tag enderEmit [C05] C05|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|
cEntity()  : void
Load fields for tag emit [C] C|XNome|XFant|IE|IEST|IM|CNAE|CRT|
dEntity()  : mixed
e02Entity()  : void
Create tag dest [E02], with CNPJ belongs to [E] E02|CNPJ|
e03aEntity()  : void
Create tag dest [E03a], with idEstrangeiro belongs to [E] E03a|idEstrangeiro|
e03Entity()  : void
Create tag dest [E03], with CPF belongs to [E] E03|CPF|
e05Entity()  : void
Create tag enderDest [E05] E05|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|
eEntity()  : void
Load fields for tag dest [E] E|xNome|indIEDest|IE|ISUF|IM|email|
f02aEntity()  : void
Create tag retirada [F02a], with CPF belongs to [F] F02a|CPF|
f02bEntity()  : void
Create tag retirada [F02b], with xNome belongs to [F] F02a|xNome|
f02Entity()  : void
Create tag retirada [F02], with CNPJ belongs to [F] F02|CNPJ|
fEntity()  : void
Load fields for tag retirada [F] F|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|email|IE|
fieldsToStd()  : stdClass
Creates stdClass for all tag fields
g02aEntity()  : void
Create tag entrega [G02a], with CPF belongs to [G] G02a|CPF|
g02bEntity()  : void
Create tag entrega [G02b], with xNome belongs to [G] G02b|xNome|
g02Entity()  : void
Create tag entrega [G02], with CNPJ belongs to [G] G02|CNPJ|
ga02Entity()  : void
Create tag autXML with CNPJ [GA02], belongs to [GA] GA02|CNPJ|
ga03Entity()  : void
Create tag autXML with CPF [GA03], belongs to GA GA03|CPF|
gaEntity()  : void
Create tag autXML [GA] GA|
gEntity()  : void
Load fields for tag entrega [G] G|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|email|IE|
hEntity()  : mixed
Create tag det/infAdProd [H] H|item|infAdProd|
i05aEntity()  : void
Create tag NVE [I05A] I05A|NVE|
i05cEntity()  : void
Create tag CEST [I05C] I05C|CEST|indEscala|CNPJFab| SEBRAE I05C|CEST|indEscala|CNPJFab|cBenef|
i05gEntity()  : void
Create tag gCred [I05G] I05C|cCredPresumido|pCredPresumido|vCredPresumido|
i18Entity()  : void
Create tag DI [I18] I18|nDI|dDI|xLocDesemb|UFDesemb|dDesemb|tpViaTransp|vAFRMM|tpIntermedio|CNPJ|UFTerceiro|cExportador|
i25Entity()  : void
Create tag adi [I25], belongs to [I18] I25|nAdicao|nSeqAdicC|cFabricante|vDescDI|nDraw|
i50Entity()  : void
Load fields for tag detExport [I50] I50|nDraw|nRE|chNFe|qExport
i80Entity()  : void
Create tag RASTRO [I80] I80|nLote|qLote|dFab|dVal|cAgreg|
iEntity()  : void
Create tag prod [I] LOCAL I|cProd|cEAN|xProd|NCM|cBenef|EXTIPI|CFOP|uCom|qCom|vUnCom|vProd|cEANTrib |uTrib|qTrib|vUnTrib|vFrete|vSeg|vDesc|vOutro|indTot|xPed|nItemPed|nFCI |vItem|tpCredPresIBSZFM|indBemMovelUsado| SEBRAE I|cProd|cEAN|xProd|NCM|EXTIPI|CFOP|uCom|qCom|vUnCom|vProd|cEANTrib|uTrib |qTrib|vUnTrib|vFrete|vSeg|vDesc|vOutro|indTot|xPed|nItemPed|nFCI|
jaEntity()  : void
Create tag veicProd [JA] JA|tpOp|chassi|cCor|xCor|pot|cilin|pesoL|pesoB|nSerie|tpComb|nMotor|CMT|dist|anoMod|anoFab|tpPint|tpVeic|espVeic|VIN|condVeic|cMod|cCorDENATRAN|lota|tpRest|
kEntity()  : void
Create tag med [K] K|cProdANVISA|vPMC|xMotivoIsencao|
la07Entity()  : void
Load fields for tag comb [LA07], belongs to [LA] LA07|qBCProd|vAliqProd|vCIDE|
la11Entity()  : void
Load fields for tag encerrante [LA11] LA11|nBico|nBomba|nTanque|vEncIni|vEncFin|
laEntity()  : void
Load fields for tag comb [LA] LA|cProdANP|descANP|pGLP|pGNn|pGNi|vPart|CODIF|qTemp|UFCons|
lbEntity()  : void
Create tag RECOPI [LB] LB|nRECOPI|
lEntity()  : void
Create tag arma [L] L|tpArma|nSerie|nCano|descr|
mEntity()  : void
Create tag imposto [M] M|vTotTrib|
n02Entity()  : void
Load fields for tag ICMS [N02] N02|orig|CST|modBC|vBC|pICMS|vICMS|pFCP|vFCP|
n03Entity()  : void
Load fields for tag ICMS [N03] N03|orig|CST|modBC|vBC|pICMS|vICMS|vBCFCP|pFCP|vFCP|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|
n04Entity()  : void
Load fields for tag ICMS [N04] N04|orig|CST|modBC|pRedBC|vBC|pICMS|vICMS|BCFCP|pFCP|vFCP|vICMSDeson|motDesICMS|
n05Entity()  : void
Load fields for tag ICMS [N05] N05|orig|CST|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|vICMSDeson|motDesICMS|
n06Entity()  : void
Load fields for tag ICMS [N06] N06|orig|CST|vICMSDeson|motDesICMS|
n07Entity()  : void
Load fields for tag ICMS [N07] N07|orig|CST|modBC|pRedBC|vBC|pICMS|vICMSOp|pDif|vICMSDif|vICMS|vBCFCP|pFCP|vFCP|
n08Entity()  : void
Load fields for tag ICMS [N08] N08|orig|CST|vBCSTRet|pST|vICMSSTRet|vBCFCPSTRet|pFCPSTRet|vFCPSTRet|
n09Entity()  : void
Load fields for tag ICMS [N09] N09|orig|CST|modBC|pRedBC|vBC|pICMS|vICMS|vBCFCP|pFCP|vFCP|modBCST|pMVAST |pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|vICMSDeson|motDesICMS|
n10aEntity()  : void
Create tag ICMSPart [N10a] N10a|orig|CST|modBC|vBC|pRedBC|pICMS|vICMS|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|pBCOp|UFST|
n10bEntity()  : void
Create tag ICMSST [N10b] N10b|orig|CST|vBCSTRet|vICMSSTRet|vBCSTDest|vICMSSTDest|vBCFCPSTRet|pFCPSTRet|vFCPSTRet|
n10cEntity()  : void
Carrega e Create tag ICMSSN [N10c] N10c|orig|CSOSN|pCredSN|vCredICMSSN|
n10dEntity()  : void
Carrega e Create tag ICMSSN [N10d] N10d|orig|CSOSN|
n10eEntity()  : void
Carrega e Create tag ICMSSN [N10e] N10e|orig|CSOSN|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST |vFCPST|pCredSN|vCredICMSSN|pCredSN|vCredICMSSN|
n10Entity()  : void
Load fields for tag ICMS [N10] N10|orig|CST|modBC|vBC|pRedBC|pICMS|vICMS|vBCFCP|pFCP|vFCP|modBCST|pMVAST|pRedBCST |vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|vICMSDeson|motDesICMS|
n10fEntity()  : void
Carrega e Create tag ICMSSN [N10f] N10f|orig|CSOSN|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|
n10gEntity()  : void
Carrega e Create tag ICMSSN [N10g] N10g|orig|CSOSN|vBCSTRet|pST|vICMSSTRet|vBCFCPSTRet|pFCPSTRet|vFCPSTRet|
n10hEntity()  : void
Carrega e Create tag ICMSSN [N10h] N10h|orig|CSOSN|modBC|vBC|pRedBC|pICMS|vICMS|modBCST|pMVAST|pRedBCST|vBCST |pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|pCredSN|vCredICMSSN|
naEntity()  : void
Load field fot tag ICMSUFDest [NA] NA|vBCUFDest|pFCPUFDest|pICMSUFDest|pICMSInter|pICMSInterPart|vFCPUFDest|vICMSUFDest|vICMSFRemet|
nEntity()  : void
Carrega a tag ICMS [N] N|
o07Entity()  : void
Load fields for tag IPI [O07], belongs to [O] O07|CST|vIPI|
o08Entity()  : void
Load fields for tag IPI [O08], belongs to [O] O08|CST|
o10Entity()  : void
Load fields for tag IPI [O10], belongs to [O] O10|vBC|pIPI|
o11Entity()  : void
Load fields for tag IPI [O11], belongs to [O] O11|qUnid|vUnid|
oEntity()  : void
Load fields for tag IPI [O] O|clEnq|CNPJProd|cSelo|qSelo|cEnq|
pEntity()  : void
Create tag II [P] P|vBC|vDespAdu|vII|vIOF|
q02Entity()  : void
Load fields for tag PIS [Q02], belongs to [Q] Q02|CST|vBC|pPIS|vPIS|
q03Entity()  : void
Load fields for tag PIS [Q03], belongs to [Q] Q03|CST|qBCProd|vAliqProd|vPIS|
q04Entity()  : void
Load fields for tag PIS [Q04], belongs to [Q] Q04|CST|
q05Entity()  : void
Load fields for tag PIS [Q05], belongs to [Q] Q05|CST|vPIS|
q07Entity()  : void
Load fields for tag PIS [Q07], belongs to [Q] Q07|vBC|pPIS|
q10Entity()  : void
Load fields for tag PIS [Q10], belongs to [Q] Q10|qBCProd|vAliqProd|
qEntity()  : void
Load fields for tag PIS [Q] Q|
r02Entity()  : void
Load fields for tag PISST [R02], belongs to [R] R02|vBC|pPIS|
r04Entity()  : void
Load fields for tag PISST [R04], belongs to [R] R04|qBCProd|vAliqProd|vPIS|
rEntity()  : void
Load fields for tag PISST [R] R|vPIS|
s02Entity()  : void
Load fields for tag COFINS [S02], belongs to [S] S02|CST|vBC|pCOFINS|vCOFINS|
s03Entity()  : void
Load fields for tag COFINS [S03], belongs to [S] S03|CST|qBCProd|vAliqProd|vCOFINS|
s04Entity()  : void
Load fields for tag COFINS [S04], belongs to [S] S04|CST|
s05Entity()  : void
Load fields for tag COFINS [S05], belongs to [S] S05|CST|vCOFINS|
s07Entity()  : void
Load fields for tag COFINS [S07], belongs to [S] S07|vBC|pCOFINS|
s09Entity()  : void
Load fields for tag COFINS [S09], belongs to [S] S09|qBCProd|vAliqProd|
sEntity()  : void
Load fields for tag COFINS [S] S|
t02Entity()  : void
Load fields for tag COFINSST [T02], belongs to [T] T02|vBC|pCOFINS|
t04Entity()  : void
Load fields for tag COFINSST [T04], belongs to [T] T04|qBCProd|vAliqProd|
tEntity()  : void
Load fields for tag COFINSST [T] T|vCOFINS|
uaEntity()  : void
Create tag tagimpostoDevol [UA] UA|pDevol|vIPIDevol|
ub01Entity()  : void
Create tag IS [UB01|CSTIS|cClassTribIS|vBCIS|pIS|pISEspec|uTrib|qTrib|vIS|]
ub106Entity()  : void
Create tag IBSCBS gTransfCred UB106|vIBS|vCBS|
ub109Entity()  : void
Create tag IBSCBS gCredPresIBSZFM UB109|tpCredPresIBSZFM|vCredPresIBSZFM|
ub112Entity()  : void
Ajuste de Competência UB112|competApur|vIBS|vCBS|vIBSEstCred|vCBSEstCred|
ub116Entity()  : void
Estorno de Crédito - Pai UB112 UB116|vIBSEstCred|vCBSEstCred|
ub120Entity()  : void
Crédito Presumido da Operação - Pai UB119 UB120|vBCCredPres|ibs_pCredPres|ibs_vCredPres|ibs_vCredPresCondSus|cbs_pCredPres |cbs_vCredPres|cbs_vCredPresCondSus|
ub12Entity()  : void
Create tag IBSCBS UB12|CST|cClassTrib|indDoacao|vBC|gIBSUF_pIBSUF|gIBSUF_pDif|gIBSUF_vDif|gIBSUF_vDevTrib|gIBSUF_pRedAliq|gIBSUF_pAliqEfet|gIBSUF_vIBSUF|gIBSMun_pIBSMun|gIBSMun_pDif|gIBSMun_vDif|gIBSMun_vDevTrib|gIBSMun_pRedAliq|gIBSMun_pAliqEfet|gIBSMun_vIBSMun|gCBS_pCBS|gCBS_pDif|gCBS_vDif|gCBS_vDevTrib|gCBS_pRedAliq|gCBS_pAliqEfet|gCBS_vCBS|
ub131Entity()  : void
Grupo para apropriação de crédito presumido de IBS sobre o saldo devedor na ZFM (art. 450, § 1º, LC 214/25) - Pai UB119 UB131|competApur|tpCredPresIBSZFM|vCredPresIBSZFM|
ub68Entity()  : void
Grupo de informações da Tributação Regular UB68|CSTReg|cClassTribReg|pAliqEfetRegIBSUF|vTribRegIBSUF|pAliqEfetRegIBSMun |vTribRegIBSMun|pAliqEfetRegCBS|vTribRegCBS|
ub73Entity()  : void
Grupo de Informações do Crédito Presumido na Operação UB73|vBCCredPres|cCredPres|ibs_pCredPres|ibs_vCredPres|ibs_vCredPresCondSus|cbs_pCredPres|cbs_vCredPres|cbs_vCredPresCondSus|
ub82aEntity()  : void
Create tag IBSCBS gTribCompraGov UB82a|pAliqIBSUF|vTribIBSUF|pAliqIBSMun|vTribIBSMun|pAliqCBS|vTribCBS|
ub84Entity()  : void
Create tag IBSCBS gIBSCBSMono UB84|qBCMono|adRemIBS|adRemCBS|vIBSMono|vCBSMono|qBCMonoReten|adRemIBSReten|vIBSMonoReten|adRemCBSReten|vCBSMonoReten|qBCMonoRet|adRemIBSRet|vIBSMonoRet|adRemCBSRet|vCBSMonoRet|pDifIBS|vIBSMonoDif|pDifCBS|vCBSMonoDif|vTotIBSMonoItem|vTotCBSMonoItem|
ubEntity()  : void
Create tag [UB]
uEntity()  : void
Create tag ISSQN [U] U|vBC|vAliq|vISSQN|cMunFG|cListServ|vDeducao|vOutro|vDescIncond |vDescCond|vISSRet|indISS|cServico|cMun|cPais|nProcesso|indIncentivo|
w02Entity()  : void
Cria tag ICMSTot [W02], belongs to [W] W02|vBC|vICMS|vICMSDeson|vFCP|vBCST|vST|vFCPST|vFCPSTRet|vProd|vFrete|vSeg|vDesc|vII|vIPI |vIPIDevol|vPIS|vCOFINS|vOutro|vNF|vTotTrib|vFCPUFDest|vICMSUFDest|vICMSUFRemet|
w04cEntity()  : void
w04eEntity()  : void
w04gEntity()  : void
w17Entity()  : void
Create tag ISSQNTot [W17], belongs to [W] W17|vServ|vBC|vISS|vPIS|vCOFINS|dCompet|vDeducao|vOutro|vDescIncond |vDescCond|vISSRet|cRegTrib|
w23Entity()  : void
Create tag retTrib [W23], belongs to [W] W23|vRetPIS|vRetCOFINS|vRetCSLL|vBCIRRF|vIRRF|vBCRetPrev|vRetPrev|
w31Entity()  : void
Grupo total do imposto seletivo - Pai w01 W31|vIS|
w34Entity()  : void
Totais da NF-e com IBS e CBS - Pai w01 W34|vBCIBSCBS|gIBSUF_vDif|gIBSUF_vDevTrib|gIBSUF_vIBSUF|gIBS_vIBS|gIBS_vCredPres|gIBS_vCredPresCondSus|gIBSMun_vDif|gIBSMun_vDevTrib|gIBSMun_vIBSMun|gCBS_vDif|gCBS_vDevTrib|gCBS_vCBS|gCBS_vCredPres|gCBS_vCredPresCondSus|gMono_vIBSMono|gMono_vCBSMono|gMono_vIBSMonoReten|gMono_vCBSMonoReten|gMono_vIBSMonoRet|gMono_vCBSMonoRet|gEstonoCred_vIBSEstCred|gEstonoCred_vCBSEstCred|
wEntity()  : void
Linha W [W] W|
x03Entity()  : void
Load fields for tag transporta [X03], belongs to [X] X03|xNome|IE|xEnder|xMun|UF|
x04Entity()  : void
Load fields for tag transporta [X04], with CNPJ, belonsgs to [X03] X04|CNPJ|
x05Entity()  : void
Load fields for tag transporta [X05], with CPF, belonsgs to [X03] X05|CPF|
x11Entity()  : void
Load fields for tag retTransp [X11], belongs to [X] X11|vServ|vBCRet|pICMSRet|vICMSRet|CFOP|cMunFG|
x18Entity()  : void
Create tag veicTransp [X18], belongs to [X] X18|placa|UF|RNTC|
x22Entity()  : void
Create tag reboque [X22], belogns to [X] X22|placa|UF|RNTC|
x25aEntity()  : void
Create tag vagao [X25a], belogns to [X01] X25a|vagao|
x25bEntity()  : void
Create tag balsa [X25b], belogns to [X01] X25b|balsa|
x26Entity()  : void
Create tag vol [X26], belongs to [X] X26|qVol|esp|marca|nVol|pesoL|pesoB|
x33Entity()  : void
Create tag lacre [X33], belongs to [X] X33|nLacre|
xEntity()  : void
Create tag transp [X] X|modFrete|
y02Entity()  : void
Create tag fat [Y02] Y02|nFat|vOrig|vDesc|vLiq|
y07Entity()  : void
Create tag dup [Y07] Y07|nDup|dVenc|vDup|
ya01Entity()  : mixed
Creates tag detPag and card [YA] SEBRAE YA01|indPag|tPag|vPag|"
yaEntity()  : void
Creates tag detPag and card [YA] YA|tPag|vPag|CNPJ|tBand|cAut|tpIntegra|xPag| SEBRAE YA|troco|
ybEntity()  : mixed
Create tag infIntermed [YB] YB|CNPJ|idCadIntTran
yEntity()  : void
yEntity [Y]
z04Entity()  : void
Create tag obsCont [Z04] Z04|xCampo|xTexto|
z07Entity()  : void
Create tag obsFisco [Z07] Z07|xCampo|xTexto|
z10Entity()  : void
Create tag procRef [Z10] Z10|nProc|indProc|
zaEntity()  : void
Create tag exporta [ZA] ZA|UFSaidaPais|xLocExporta|xLocDespacho|
zbEntity()  : void
Create tag compra [ZB] ZB|xNEmp|xPed|xCont|
zc04Entity()  : void
Create tag forDia [ZC04] ZC04|dia|qtde|
zc10Entity()  : void
Create tag deduc [ZC10] ZC10|xDed|vDed|
zcEntity()  : void
Create tag cana [ZC] ZC|safra|ref|qTotMes|qTotAnt|qTotGer|vFor|vTotDed|vLiqFor|
zdEntity()  : void
Create tag infRespTec [ZD01] ZD|CNPJ|xContato|email|fone|CSRTidCSRT|
zEntity()  : void
Create a tag infAdic [Z] Z|infAdFisco|infCpl|
zx01Entity()  : void
Create tag infNFeSupl com o qrCode para impressão da DANFCE [ZX01] ZX01|qrcode|urlChave|

Constants

LOCAL

public mixed LOCAL = "LOCAL"

LOCAL_V12

public mixed LOCAL_V12 = "LOCAL_V12"

LOCAL_V13

public mixed LOCAL_V13 = "LOCAL_V13"

SEBRAE

public mixed SEBRAE = "SEBRAE"

Properties

$baselayout

protected string $baselayout

$BB02RefNFe

protected array<string|int, mixed> $BB02RefNFe = []

$detExport

protected array<string|int, mixed> $detExport = []

$detExportInd

protected array<string|int, mixed> $detExportInd = []

$stdAutXML

protected stdClass|null $stdAutXML

$stdCOFINS

protected stdClass $stdCOFINS

$stdCOFINSST

protected stdClass $stdCOFINSST

$stdComb

protected stdClass|null $stdComb

$stdDest

protected stdClass|null $stdDest

$stdEmit

protected stdClass|null $stdEmit

$stdEntrega

protected stdClass|null $stdEntrega

$stdII

protected stdClass $stdII

$stdIPI

protected stdClass $stdIPI

$stdNFP

protected stdClass|null $stdNFP

$stdPIS

protected stdClass $stdPIS

$stdPISST

protected stdClass $stdPISST

$stdRetirada

protected stdClass|null $stdRetirada

$stdTransporta

protected stdClass|null $stdTransporta

$structure

protected array<string|int, mixed> $structure

$volId

protected int $volId = -1

Methods

__construct()

Configure environment to correct NFe layout

public __construct([string $version = '4.00' ][, string $baselayout = self::LOCAL ]) : mixed
Parameters
$version : string = '4.00'
$baselayout : string = self::LOCAL

dump()

Convert txt to XML

public dump(array<string|int, mixed> $nota) : array<string|int, mixed>
Parameters
$nota : array<string|int, mixed>
Return values
array<string|int, mixed>

getErrors()

Retorna erros na criacao do DOM

public getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

toXml()

Convert txt to XML

public toXml(array<string|int, mixed> $nota) : string|null
Parameters
$nota : array<string|int, mixed>
Return values
string|null

aEntity()

Create tag infNFe [A] A|versao|Id|pk_nItem|

protected aEntity(stdClass $std) : void
Parameters
$std : stdClass

array2xml()

Converte txt array to xml

protected array2xml(array<string|int, mixed> $nota) : void
Parameters
$nota : array<string|int, mixed>

b31Entity()

Create tag taggCompraGov [B31] B31|tpEnteGov|pRedutor|tpOperGov|

protected b31Entity(stdClass $std) : void
Parameters
$std : stdClass

ba02Entity()

Create tag refNFe [BA02] BA02|refNFe|

protected ba02Entity(stdClass $std) : void
Parameters
$std : stdClass

ba03Entity()

Create tag refNF [BA03] BA03|cUF|AAMM|CNPJ|mod|serie|nNF|

protected ba03Entity(stdClass $std) : void
Parameters
$std : stdClass

ba10Entity()

Load fields for tag refNFP [BA10] BA10|cUF|AAMM|IE|mod|serie|nNF|

protected ba10Entity(stdClass $std) : void
Parameters
$std : stdClass

ba13Entity()

Create tag refNFP [BA13], with CNPJ belongs to [BA10] BA13|CNPJ|

protected ba13Entity(stdClass $std) : void
Parameters
$std : stdClass

ba14Entity()

Create tag refNFP [BA14], with CPF belongs to [BA10] BA14|CPF|

protected ba14Entity(stdClass $std) : void
Parameters
$std : stdClass

ba19Entity()

Create tag refCTe [BA19] B19|refCTe|

protected ba19Entity(stdClass $std) : void
Parameters
$std : stdClass

ba20Entity()

Create tag refECF [BA20] BA20|mod|nECF|nCOO|

protected ba20Entity(stdClass $std) : void
Parameters
$std : stdClass

baEntity()

Create tag nfref [BA] BA|

protected baEntity(stdClass $std) : void
Parameters
$std : stdClass

bb02Entity()

BB02|refNFe|

protected bb02Entity(stdClass $std) : void
Parameters
$std : stdClass

bEntity()

Create tag ide [B] B|cUF|cNF|natOp|mod|serie|nNF|dhEmi|dhSaiEnt|tpNF|idDest|cMunFG|tpImp |tpEmis|cDV|tpAmb|finNFe|indFinal|indPres|procEmi|verProc|dhCont|xJust |indPag|dPrevEntrega|tpNFDebito|tpNFCredito|cMunFGIBS|cMunFGIBS|

protected bEntity(stdClass $std) : void
Parameters
$std : stdClass

buildBA10Entity()

Create tag refNFP [BA10]

protected buildBA10Entity() : void

buildCEntity()

Create tag emit [C]

protected buildCEntity() : void

buildEEntity()

Create tag dest [E]

protected buildEEntity() : void

buildFEntity()

Create tag retirada [F]

protected buildFEntity() : void

buildGEntity()

Create tag entrega [G]

protected buildGEntity() : void

buildLAEntity()

Create tag comb [LA]

protected buildLAEntity() : void

buildNAEntity()

Create tag ICMSUFDest [NA]

protected buildNAEntity(stdClass $std) : void
Parameters
$std : stdClass

buildNEntity()

Create tag ICMS [N] NOTE: adjusted for NT2016_002_v1.30

protected buildNEntity(stdClass $std) : void
Parameters
$std : stdClass

buildNSNEntity()

Create tag ICMSSN [NS] Nsn|orig|CSOSN|modBC|vBC|pRedBC|pICMS|vICMS|pCredSN|vCredICMSSN|modBCST|pMVAST |pRedBCST|vBCST|pICMSST|vICMSST|vBCSTRet|vICMSSTRet|vBCFCPST|pFCPST|vFCPST|

protected buildNSNEntity(stdClass $std) : void
Parameters
$std : stdClass

buildOEntity()

Create tag IPI [O] Oxx|cst|clEnq|cnpjProd|cSelo|qSelo|cEnq|vBC|pIPI|qUnid|vUnid|vIPI|

protected buildOEntity() : void

buildQEntity()

Create tag PIS [Q] Qxx|CST|vBC|pPIS|vPIS|qBCProd|vAliqProd|

protected buildQEntity() : void

buildREntity()

Create tag PISST Rxx|vBC|pPIS|qBCProd|vAliqProd|vPIS|

protected buildREntity() : void

buildSEntity()

Create tag COFINS [S] Sxx|CST|vBC|pCOFINS|vCOFINS|qBCProd|vAliqProd|

protected buildSEntity() : void

buildTEntity()

Create tag COFINSST [T] Txx|vBC|pCOFINS|qBCProd|vAliqProd|vCOFINS|

protected buildTEntity() : void

buildVolEntity()

Create tag vol

protected buildVolEntity(stdClass $std) : void
Parameters
$std : stdClass

c02aEntity()

Create tag emit [C02a], with CPF belongs to [C] C02a|CPF|

protected c02aEntity(stdClass $std) : void
Parameters
$std : stdClass

c02Entity()

Create tag emit [C02], with CNPJ belongs to [C] C02|CNPJ|

protected c02Entity(stdClass $std) : void
Parameters
$std : stdClass

c05Entity()

Create tag enderEmit [C05] C05|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|

protected c05Entity(stdClass $std) : void
Parameters
$std : stdClass

cEntity()

Load fields for tag emit [C] C|XNome|XFant|IE|IEST|IM|CNAE|CRT|

protected cEntity(stdClass $std) : void
Parameters
$std : stdClass

dEntity()

protected dEntity(mixed $std) : mixed
Parameters
$std : mixed

e02Entity()

Create tag dest [E02], with CNPJ belongs to [E] E02|CNPJ|

protected e02Entity(stdClass $std) : void
Parameters
$std : stdClass

e03aEntity()

Create tag dest [E03a], with idEstrangeiro belongs to [E] E03a|idEstrangeiro|

protected e03aEntity(stdClass $std) : void
Parameters
$std : stdClass

e03Entity()

Create tag dest [E03], with CPF belongs to [E] E03|CPF|

protected e03Entity(stdClass $std) : void
Parameters
$std : stdClass

e05Entity()

Create tag enderDest [E05] E05|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|

protected e05Entity(stdClass $std) : void
Parameters
$std : stdClass

eEntity()

Load fields for tag dest [E] E|xNome|indIEDest|IE|ISUF|IM|email|

protected eEntity(stdClass $std) : void
Parameters
$std : stdClass

f02aEntity()

Create tag retirada [F02a], with CPF belongs to [F] F02a|CPF|

protected f02aEntity(stdClass $std) : void
Parameters
$std : stdClass

f02bEntity()

Create tag retirada [F02b], with xNome belongs to [F] F02a|xNome|

protected f02bEntity(stdClass $std) : void
Parameters
$std : stdClass

f02Entity()

Create tag retirada [F02], with CNPJ belongs to [F] F02|CNPJ|

protected f02Entity(stdClass $std) : void
Parameters
$std : stdClass

fEntity()

Load fields for tag retirada [F] F|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|email|IE|

protected fEntity(stdClass $std) : void
Parameters
$std : stdClass

fieldsToStd()

Creates stdClass for all tag fields

protected static fieldsToStd(array<string|int, mixed> $dfls, string $struct) : stdClass
Parameters
$dfls : array<string|int, mixed>
$struct : string
Return values
stdClass

g02aEntity()

Create tag entrega [G02a], with CPF belongs to [G] G02a|CPF|

protected g02aEntity(stdClass $std) : void
Parameters
$std : stdClass

g02bEntity()

Create tag entrega [G02b], with xNome belongs to [G] G02b|xNome|

protected g02bEntity(stdClass $std) : void
Parameters
$std : stdClass

g02Entity()

Create tag entrega [G02], with CNPJ belongs to [G] G02|CNPJ|

protected g02Entity(stdClass $std) : void
Parameters
$std : stdClass

ga02Entity()

Create tag autXML with CNPJ [GA02], belongs to [GA] GA02|CNPJ|

protected ga02Entity(stdClass $std) : void
Parameters
$std : stdClass

ga03Entity()

Create tag autXML with CPF [GA03], belongs to GA GA03|CPF|

protected ga03Entity(stdClass $std) : void
Parameters
$std : stdClass

gaEntity()

Create tag autXML [GA] GA|

protected gaEntity(stdClass $std) : void
Parameters
$std : stdClass

gEntity()

Load fields for tag entrega [G] G|xLgr|nro|xCpl|xBairro|cMun|xMun|UF|CEP|cPais|xPais|fone|email|IE|

protected gEntity(stdClass $std) : void
Parameters
$std : stdClass

hEntity()

Create tag det/infAdProd [H] H|item|infAdProd|

protected hEntity(stdClass $std) : mixed
Parameters
$std : stdClass

i05aEntity()

Create tag NVE [I05A] I05A|NVE|

protected i05aEntity(stdClass $std) : void
Parameters
$std : stdClass

i05cEntity()

Create tag CEST [I05C] I05C|CEST|indEscala|CNPJFab| SEBRAE I05C|CEST|indEscala|CNPJFab|cBenef|

protected i05cEntity(stdClass $std) : void
Parameters
$std : stdClass

i05gEntity()

Create tag gCred [I05G] I05C|cCredPresumido|pCredPresumido|vCredPresumido|

protected i05gEntity(stdClass $std) : void
Parameters
$std : stdClass

i18Entity()

Create tag DI [I18] I18|nDI|dDI|xLocDesemb|UFDesemb|dDesemb|tpViaTransp|vAFRMM|tpIntermedio|CNPJ|UFTerceiro|cExportador|

protected i18Entity(stdClass $std) : void
Parameters
$std : stdClass

i25Entity()

Create tag adi [I25], belongs to [I18] I25|nAdicao|nSeqAdicC|cFabricante|vDescDI|nDraw|

protected i25Entity(stdClass $std) : void
Parameters
$std : stdClass

i50Entity()

Load fields for tag detExport [I50] I50|nDraw|nRE|chNFe|qExport

protected i50Entity(stdClass $std) : void
Parameters
$std : stdClass

i80Entity()

Create tag RASTRO [I80] I80|nLote|qLote|dFab|dVal|cAgreg|

protected i80Entity(stdClass $std) : void
Parameters
$std : stdClass

iEntity()

Create tag prod [I] LOCAL I|cProd|cEAN|xProd|NCM|cBenef|EXTIPI|CFOP|uCom|qCom|vUnCom|vProd|cEANTrib |uTrib|qTrib|vUnTrib|vFrete|vSeg|vDesc|vOutro|indTot|xPed|nItemPed|nFCI |vItem|tpCredPresIBSZFM|indBemMovelUsado| SEBRAE I|cProd|cEAN|xProd|NCM|EXTIPI|CFOP|uCom|qCom|vUnCom|vProd|cEANTrib|uTrib |qTrib|vUnTrib|vFrete|vSeg|vDesc|vOutro|indTot|xPed|nItemPed|nFCI|

protected iEntity(stdClass $std) : void
Parameters
$std : stdClass

jaEntity()

Create tag veicProd [JA] JA|tpOp|chassi|cCor|xCor|pot|cilin|pesoL|pesoB|nSerie|tpComb|nMotor|CMT|dist|anoMod|anoFab|tpPint|tpVeic|espVeic|VIN|condVeic|cMod|cCorDENATRAN|lota|tpRest|

protected jaEntity(stdClass $std) : void
Parameters
$std : stdClass

kEntity()

Create tag med [K] K|cProdANVISA|vPMC|xMotivoIsencao|

protected kEntity(stdClass $std) : void
Parameters
$std : stdClass

la07Entity()

Load fields for tag comb [LA07], belongs to [LA] LA07|qBCProd|vAliqProd|vCIDE|

protected la07Entity(stdClass $std) : void
Parameters
$std : stdClass

la11Entity()

Load fields for tag encerrante [LA11] LA11|nBico|nBomba|nTanque|vEncIni|vEncFin|

protected la11Entity(stdClass $std) : void
Parameters
$std : stdClass

laEntity()

Load fields for tag comb [LA] LA|cProdANP|descANP|pGLP|pGNn|pGNi|vPart|CODIF|qTemp|UFCons|

protected laEntity(stdClass $std) : void
Parameters
$std : stdClass

lbEntity()

Create tag RECOPI [LB] LB|nRECOPI|

protected lbEntity(stdClass $std) : void
Parameters
$std : stdClass

lEntity()

Create tag arma [L] L|tpArma|nSerie|nCano|descr|

protected lEntity(stdClass $std) : void
Parameters
$std : stdClass

mEntity()

Create tag imposto [M] M|vTotTrib|

protected mEntity(stdClass $std) : void
Parameters
$std : stdClass

n02Entity()

Load fields for tag ICMS [N02] N02|orig|CST|modBC|vBC|pICMS|vICMS|pFCP|vFCP|

protected n02Entity(stdClass $std) : void
Parameters
$std : stdClass

n03Entity()

Load fields for tag ICMS [N03] N03|orig|CST|modBC|vBC|pICMS|vICMS|vBCFCP|pFCP|vFCP|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|

protected n03Entity(stdClass $std) : void
Parameters
$std : stdClass

n04Entity()

Load fields for tag ICMS [N04] N04|orig|CST|modBC|pRedBC|vBC|pICMS|vICMS|BCFCP|pFCP|vFCP|vICMSDeson|motDesICMS|

protected n04Entity(stdClass $std) : void
Parameters
$std : stdClass

n05Entity()

Load fields for tag ICMS [N05] N05|orig|CST|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|vICMSDeson|motDesICMS|

protected n05Entity(stdClass $std) : void
Parameters
$std : stdClass

n06Entity()

Load fields for tag ICMS [N06] N06|orig|CST|vICMSDeson|motDesICMS|

protected n06Entity(stdClass $std) : void
Parameters
$std : stdClass

n07Entity()

Load fields for tag ICMS [N07] N07|orig|CST|modBC|pRedBC|vBC|pICMS|vICMSOp|pDif|vICMSDif|vICMS|vBCFCP|pFCP|vFCP|

protected n07Entity(stdClass $std) : void
Parameters
$std : stdClass

n08Entity()

Load fields for tag ICMS [N08] N08|orig|CST|vBCSTRet|pST|vICMSSTRet|vBCFCPSTRet|pFCPSTRet|vFCPSTRet|

protected n08Entity(stdClass $std) : void
Parameters
$std : stdClass

n09Entity()

Load fields for tag ICMS [N09] N09|orig|CST|modBC|pRedBC|vBC|pICMS|vICMS|vBCFCP|pFCP|vFCP|modBCST|pMVAST |pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|vICMSDeson|motDesICMS|

protected n09Entity(stdClass $std) : void
Parameters
$std : stdClass

n10aEntity()

Create tag ICMSPart [N10a] N10a|orig|CST|modBC|vBC|pRedBC|pICMS|vICMS|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|pBCOp|UFST|

protected n10aEntity(stdClass $std) : void
Parameters
$std : stdClass

n10bEntity()

Create tag ICMSST [N10b] N10b|orig|CST|vBCSTRet|vICMSSTRet|vBCSTDest|vICMSSTDest|vBCFCPSTRet|pFCPSTRet|vFCPSTRet|

protected n10bEntity(stdClass $std) : void
Parameters
$std : stdClass

n10cEntity()

Carrega e Create tag ICMSSN [N10c] N10c|orig|CSOSN|pCredSN|vCredICMSSN|

protected n10cEntity(stdClass $std) : void
Parameters
$std : stdClass

n10dEntity()

Carrega e Create tag ICMSSN [N10d] N10d|orig|CSOSN|

protected n10dEntity(stdClass $std) : void
Parameters
$std : stdClass

n10eEntity()

Carrega e Create tag ICMSSN [N10e] N10e|orig|CSOSN|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST |vFCPST|pCredSN|vCredICMSSN|pCredSN|vCredICMSSN|

protected n10eEntity(stdClass $std) : void
Parameters
$std : stdClass

n10Entity()

Load fields for tag ICMS [N10] N10|orig|CST|modBC|vBC|pRedBC|pICMS|vICMS|vBCFCP|pFCP|vFCP|modBCST|pMVAST|pRedBCST |vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|vICMSDeson|motDesICMS|

protected n10Entity(stdClass $std) : void
Parameters
$std : stdClass

n10fEntity()

Carrega e Create tag ICMSSN [N10f] N10f|orig|CSOSN|modBCST|pMVAST|pRedBCST|vBCST|pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|

protected n10fEntity(stdClass $std) : void
Parameters
$std : stdClass

n10gEntity()

Carrega e Create tag ICMSSN [N10g] N10g|orig|CSOSN|vBCSTRet|pST|vICMSSTRet|vBCFCPSTRet|pFCPSTRet|vFCPSTRet|

protected n10gEntity(stdClass $std) : void
Parameters
$std : stdClass

n10hEntity()

Carrega e Create tag ICMSSN [N10h] N10h|orig|CSOSN|modBC|vBC|pRedBC|pICMS|vICMS|modBCST|pMVAST|pRedBCST|vBCST |pICMSST|vICMSST|vBCFCPST|pFCPST|vFCPST|pCredSN|vCredICMSSN|

protected n10hEntity(stdClass $std) : void
Parameters
$std : stdClass

naEntity()

Load field fot tag ICMSUFDest [NA] NA|vBCUFDest|pFCPUFDest|pICMSUFDest|pICMSInter|pICMSInterPart|vFCPUFDest|vICMSUFDest|vICMSFRemet|

protected naEntity(stdClass $std) : void
Parameters
$std : stdClass

nEntity()

Carrega a tag ICMS [N] N|

protected nEntity(stdClass $std) : void
Parameters
$std : stdClass

o07Entity()

Load fields for tag IPI [O07], belongs to [O] O07|CST|vIPI|

protected o07Entity(stdClass $std) : void
Parameters
$std : stdClass

o08Entity()

Load fields for tag IPI [O08], belongs to [O] O08|CST|

protected o08Entity(stdClass $std) : void
Parameters
$std : stdClass

o10Entity()

Load fields for tag IPI [O10], belongs to [O] O10|vBC|pIPI|

protected o10Entity(stdClass $std) : void
Parameters
$std : stdClass

o11Entity()

Load fields for tag IPI [O11], belongs to [O] O11|qUnid|vUnid|

protected o11Entity(stdClass $std) : void
Parameters
$std : stdClass

oEntity()

Load fields for tag IPI [O] O|clEnq|CNPJProd|cSelo|qSelo|cEnq|

protected oEntity(stdClass $std) : void
Parameters
$std : stdClass

pEntity()

Create tag II [P] P|vBC|vDespAdu|vII|vIOF|

protected pEntity(stdClass $std) : void
Parameters
$std : stdClass

q02Entity()

Load fields for tag PIS [Q02], belongs to [Q] Q02|CST|vBC|pPIS|vPIS|

protected q02Entity(stdClass $std) : void
Parameters
$std : stdClass

q03Entity()

Load fields for tag PIS [Q03], belongs to [Q] Q03|CST|qBCProd|vAliqProd|vPIS|

protected q03Entity(stdClass $std) : void
Parameters
$std : stdClass

q04Entity()

Load fields for tag PIS [Q04], belongs to [Q] Q04|CST|

protected q04Entity(stdClass $std) : void
Parameters
$std : stdClass

q05Entity()

Load fields for tag PIS [Q05], belongs to [Q] Q05|CST|vPIS|

protected q05Entity(stdClass $std) : void
Parameters
$std : stdClass

q07Entity()

Load fields for tag PIS [Q07], belongs to [Q] Q07|vBC|pPIS|

protected q07Entity(stdClass $std) : void
Parameters
$std : stdClass

q10Entity()

Load fields for tag PIS [Q10], belongs to [Q] Q10|qBCProd|vAliqProd|

protected q10Entity(stdClass $std) : void
Parameters
$std : stdClass

qEntity()

Load fields for tag PIS [Q] Q|

protected qEntity(stdClass $std) : void
Parameters
$std : stdClass

r02Entity()

Load fields for tag PISST [R02], belongs to [R] R02|vBC|pPIS|

protected r02Entity(stdClass $std) : void
Parameters
$std : stdClass

r04Entity()

Load fields for tag PISST [R04], belongs to [R] R04|qBCProd|vAliqProd|vPIS|

protected r04Entity(stdClass $std) : void
Parameters
$std : stdClass

rEntity()

Load fields for tag PISST [R] R|vPIS|

protected rEntity(stdClass $std) : void
Parameters
$std : stdClass

s02Entity()

Load fields for tag COFINS [S02], belongs to [S] S02|CST|vBC|pCOFINS|vCOFINS|

protected s02Entity(stdClass $std) : void
Parameters
$std : stdClass

s03Entity()

Load fields for tag COFINS [S03], belongs to [S] S03|CST|qBCProd|vAliqProd|vCOFINS|

protected s03Entity(stdClass $std) : void
Parameters
$std : stdClass

s04Entity()

Load fields for tag COFINS [S04], belongs to [S] S04|CST|

protected s04Entity(stdClass $std) : void
Parameters
$std : stdClass

s05Entity()

Load fields for tag COFINS [S05], belongs to [S] S05|CST|vCOFINS|

protected s05Entity(stdClass $std) : void
Parameters
$std : stdClass

s07Entity()

Load fields for tag COFINS [S07], belongs to [S] S07|vBC|pCOFINS|

protected s07Entity(stdClass $std) : void
Parameters
$std : stdClass

s09Entity()

Load fields for tag COFINS [S09], belongs to [S] S09|qBCProd|vAliqProd|

protected s09Entity(stdClass $std) : void
Parameters
$std : stdClass

sEntity()

Load fields for tag COFINS [S] S|

protected sEntity(stdClass $std) : void
Parameters
$std : stdClass

t02Entity()

Load fields for tag COFINSST [T02], belongs to [T] T02|vBC|pCOFINS|

protected t02Entity(stdClass $std) : void
Parameters
$std : stdClass

t04Entity()

Load fields for tag COFINSST [T04], belongs to [T] T04|qBCProd|vAliqProd|

protected t04Entity(stdClass $std) : void
Parameters
$std : stdClass

tEntity()

Load fields for tag COFINSST [T] T|vCOFINS|

protected tEntity(stdClass $std) : void
Parameters
$std : stdClass

uaEntity()

Create tag tagimpostoDevol [UA] UA|pDevol|vIPIDevol|

protected uaEntity(stdClass $std) : void
Parameters
$std : stdClass

ub01Entity()

Create tag IS [UB01|CSTIS|cClassTribIS|vBCIS|pIS|pISEspec|uTrib|qTrib|vIS|]

protected ub01Entity(stdClass $std) : void
Parameters
$std : stdClass

ub106Entity()

Create tag IBSCBS gTransfCred UB106|vIBS|vCBS|

protected ub106Entity(stdClass $std) : void
Parameters
$std : stdClass

ub109Entity()

Create tag IBSCBS gCredPresIBSZFM UB109|tpCredPresIBSZFM|vCredPresIBSZFM|

protected ub109Entity(stdClass $std) : void
Parameters
$std : stdClass

ub112Entity()

Ajuste de Competência UB112|competApur|vIBS|vCBS|vIBSEstCred|vCBSEstCred|

protected ub112Entity(stdClass $std) : void
Parameters
$std : stdClass

ub116Entity()

Estorno de Crédito - Pai UB112 UB116|vIBSEstCred|vCBSEstCred|

protected ub116Entity(stdClass $std) : void
Parameters
$std : stdClass

ub120Entity()

Crédito Presumido da Operação - Pai UB119 UB120|vBCCredPres|ibs_pCredPres|ibs_vCredPres|ibs_vCredPresCondSus|cbs_pCredPres |cbs_vCredPres|cbs_vCredPresCondSus|

protected ub120Entity(stdClass $std) : void
Parameters
$std : stdClass

ub12Entity()

Create tag IBSCBS UB12|CST|cClassTrib|indDoacao|vBC|gIBSUF_pIBSUF|gIBSUF_pDif|gIBSUF_vDif|gIBSUF_vDevTrib|gIBSUF_pRedAliq|gIBSUF_pAliqEfet|gIBSUF_vIBSUF|gIBSMun_pIBSMun|gIBSMun_pDif|gIBSMun_vDif|gIBSMun_vDevTrib|gIBSMun_pRedAliq|gIBSMun_pAliqEfet|gIBSMun_vIBSMun|gCBS_pCBS|gCBS_pDif|gCBS_vDif|gCBS_vDevTrib|gCBS_pRedAliq|gCBS_pAliqEfet|gCBS_vCBS|

protected ub12Entity(stdClass $std) : void
Parameters
$std : stdClass

ub131Entity()

Grupo para apropriação de crédito presumido de IBS sobre o saldo devedor na ZFM (art. 450, § 1º, LC 214/25) - Pai UB119 UB131|competApur|tpCredPresIBSZFM|vCredPresIBSZFM|

protected ub131Entity(stdClass $std) : void
Parameters
$std : stdClass

ub68Entity()

Grupo de informações da Tributação Regular UB68|CSTReg|cClassTribReg|pAliqEfetRegIBSUF|vTribRegIBSUF|pAliqEfetRegIBSMun |vTribRegIBSMun|pAliqEfetRegCBS|vTribRegCBS|

protected ub68Entity(stdClass $std) : void
Parameters
$std : stdClass

ub73Entity()

Grupo de Informações do Crédito Presumido na Operação UB73|vBCCredPres|cCredPres|ibs_pCredPres|ibs_vCredPres|ibs_vCredPresCondSus|cbs_pCredPres|cbs_vCredPres|cbs_vCredPresCondSus|

protected ub73Entity(stdClass $std) : void
Parameters
$std : stdClass

ub82aEntity()

Create tag IBSCBS gTribCompraGov UB82a|pAliqIBSUF|vTribIBSUF|pAliqIBSMun|vTribIBSMun|pAliqCBS|vTribCBS|

protected ub82aEntity(stdClass $std) : void
Parameters
$std : stdClass

ub84Entity()

Create tag IBSCBS gIBSCBSMono UB84|qBCMono|adRemIBS|adRemCBS|vIBSMono|vCBSMono|qBCMonoReten|adRemIBSReten|vIBSMonoReten|adRemCBSReten|vCBSMonoReten|qBCMonoRet|adRemIBSRet|vIBSMonoRet|adRemCBSRet|vCBSMonoRet|pDifIBS|vIBSMonoDif|pDifCBS|vCBSMonoDif|vTotIBSMonoItem|vTotCBSMonoItem|

protected ub84Entity(stdClass $std) : void
Parameters
$std : stdClass

ubEntity()

Create tag [UB]

protected ubEntity(stdClass $std) : void
Parameters
$std : stdClass

uEntity()

Create tag ISSQN [U] U|vBC|vAliq|vISSQN|cMunFG|cListServ|vDeducao|vOutro|vDescIncond |vDescCond|vISSRet|indISS|cServico|cMun|cPais|nProcesso|indIncentivo|

protected uEntity(stdClass $std) : void
Parameters
$std : stdClass

w02Entity()

Cria tag ICMSTot [W02], belongs to [W] W02|vBC|vICMS|vICMSDeson|vFCP|vBCST|vST|vFCPST|vFCPSTRet|vProd|vFrete|vSeg|vDesc|vII|vIPI |vIPIDevol|vPIS|vCOFINS|vOutro|vNF|vTotTrib|vFCPUFDest|vICMSUFDest|vICMSUFRemet|

protected w02Entity(stdClass $std) : void
Parameters
$std : stdClass

w04cEntity()

protected w04cEntity(stdClass $std) : void
Parameters
$std : stdClass

w04eEntity()

protected w04eEntity(stdClass $std) : void
Parameters
$std : stdClass

w04gEntity()

protected w04gEntity(stdClass $std) : void
Parameters
$std : stdClass

w17Entity()

Create tag ISSQNTot [W17], belongs to [W] W17|vServ|vBC|vISS|vPIS|vCOFINS|dCompet|vDeducao|vOutro|vDescIncond |vDescCond|vISSRet|cRegTrib|

protected w17Entity(stdClass $std) : void
Parameters
$std : stdClass

w23Entity()

Create tag retTrib [W23], belongs to [W] W23|vRetPIS|vRetCOFINS|vRetCSLL|vBCIRRF|vIRRF|vBCRetPrev|vRetPrev|

protected w23Entity(stdClass $std) : void
Parameters
$std : stdClass

w31Entity()

Grupo total do imposto seletivo - Pai w01 W31|vIS|

protected w31Entity(stdClass $std) : void
Parameters
$std : stdClass

w34Entity()

Totais da NF-e com IBS e CBS - Pai w01 W34|vBCIBSCBS|gIBSUF_vDif|gIBSUF_vDevTrib|gIBSUF_vIBSUF|gIBS_vIBS|gIBS_vCredPres|gIBS_vCredPresCondSus|gIBSMun_vDif|gIBSMun_vDevTrib|gIBSMun_vIBSMun|gCBS_vDif|gCBS_vDevTrib|gCBS_vCBS|gCBS_vCredPres|gCBS_vCredPresCondSus|gMono_vIBSMono|gMono_vCBSMono|gMono_vIBSMonoReten|gMono_vCBSMonoReten|gMono_vIBSMonoRet|gMono_vCBSMonoRet|gEstonoCred_vIBSEstCred|gEstonoCred_vCBSEstCred|

protected w34Entity(stdClass $std) : void
Parameters
$std : stdClass

wEntity()

Linha W [W] W|

protected wEntity(stdClass $std) : void
Parameters
$std : stdClass

x03Entity()

Load fields for tag transporta [X03], belongs to [X] X03|xNome|IE|xEnder|xMun|UF|

protected x03Entity(stdClass $std) : void
Parameters
$std : stdClass

x04Entity()

Load fields for tag transporta [X04], with CNPJ, belonsgs to [X03] X04|CNPJ|

protected x04Entity(stdClass $std) : void
Parameters
$std : stdClass

x05Entity()

Load fields for tag transporta [X05], with CPF, belonsgs to [X03] X05|CPF|

protected x05Entity(stdClass $std) : void
Parameters
$std : stdClass

x11Entity()

Load fields for tag retTransp [X11], belongs to [X] X11|vServ|vBCRet|pICMSRet|vICMSRet|CFOP|cMunFG|

protected x11Entity(stdClass $std) : void
Parameters
$std : stdClass

x18Entity()

Create tag veicTransp [X18], belongs to [X] X18|placa|UF|RNTC|

protected x18Entity(stdClass $std) : void
Parameters
$std : stdClass

x22Entity()

Create tag reboque [X22], belogns to [X] X22|placa|UF|RNTC|

protected x22Entity(stdClass $std) : void
Parameters
$std : stdClass

x25aEntity()

Create tag vagao [X25a], belogns to [X01] X25a|vagao|

protected x25aEntity(stdClass $std) : void
Parameters
$std : stdClass

x25bEntity()

Create tag balsa [X25b], belogns to [X01] X25b|balsa|

protected x25bEntity(stdClass $std) : void
Parameters
$std : stdClass

x26Entity()

Create tag vol [X26], belongs to [X] X26|qVol|esp|marca|nVol|pesoL|pesoB|

protected x26Entity(stdClass $std) : void
Parameters
$std : stdClass

x33Entity()

Create tag lacre [X33], belongs to [X] X33|nLacre|

protected x33Entity(stdClass $std) : void
Parameters
$std : stdClass

xEntity()

Create tag transp [X] X|modFrete|

protected xEntity(stdClass $std) : void
Parameters
$std : stdClass

y02Entity()

Create tag fat [Y02] Y02|nFat|vOrig|vDesc|vLiq|

protected y02Entity(stdClass $std) : void
Parameters
$std : stdClass

y07Entity()

Create tag dup [Y07] Y07|nDup|dVenc|vDup|

protected y07Entity(stdClass $std) : void
Parameters
$std : stdClass

ya01Entity()

Creates tag detPag and card [YA] SEBRAE YA01|indPag|tPag|vPag|"

protected ya01Entity(stdClass $std) : mixed
Parameters
$std : stdClass

yaEntity()

Creates tag detPag and card [YA] YA|tPag|vPag|CNPJ|tBand|cAut|tpIntegra|xPag| SEBRAE YA|troco|

protected yaEntity(stdClass $std) : void
Parameters
$std : stdClass

ybEntity()

Create tag infIntermed [YB] YB|CNPJ|idCadIntTran

protected ybEntity(stdClass $std) : mixed
Parameters
$std : stdClass

yEntity()

yEntity [Y]

protected yEntity(stdClass $std) : void

LOCAL Y|vTroco|

Parameters
$std : stdClass

z04Entity()

Create tag obsCont [Z04] Z04|xCampo|xTexto|

protected z04Entity(stdClass $std) : void
Parameters
$std : stdClass

z07Entity()

Create tag obsFisco [Z07] Z07|xCampo|xTexto|

protected z07Entity(stdClass $std) : void
Parameters
$std : stdClass

z10Entity()

Create tag procRef [Z10] Z10|nProc|indProc|

protected z10Entity(stdClass $std) : void
Parameters
$std : stdClass

zaEntity()

Create tag exporta [ZA] ZA|UFSaidaPais|xLocExporta|xLocDespacho|

protected zaEntity(stdClass $std) : void
Parameters
$std : stdClass

zbEntity()

Create tag compra [ZB] ZB|xNEmp|xPed|xCont|

protected zbEntity(stdClass $std) : void
Parameters
$std : stdClass

zc04Entity()

Create tag forDia [ZC04] ZC04|dia|qtde|

protected zc04Entity(stdClass $std) : void
Parameters
$std : stdClass

zc10Entity()

Create tag deduc [ZC10] ZC10|xDed|vDed|

protected zc10Entity(stdClass $std) : void
Parameters
$std : stdClass

zcEntity()

Create tag cana [ZC] ZC|safra|ref|qTotMes|qTotAnt|qTotGer|vFor|vTotDed|vLiqFor|

protected zcEntity(stdClass $std) : void
Parameters
$std : stdClass

zdEntity()

Create tag infRespTec [ZD01] ZD|CNPJ|xContato|email|fone|CSRTidCSRT|

protected zdEntity(stdClass $std) : void
Parameters
$std : stdClass

zEntity()

Create a tag infAdic [Z] Z|infAdFisco|infCpl|

protected zEntity(stdClass $std) : void
Parameters
$std : stdClass

zx01Entity()

Create tag infNFeSupl com o qrCode para impressão da DANFCE [ZX01] ZX01|qrcode|urlChave|

protected zx01Entity(stdClass $std) : void
Parameters
$std : stdClass

        
On this page

Search results