Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegC100 ¶
type RegC100 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` IndOper string `gorm:"type:varchar(1)"` IndEmit string `gorm:"type:varchar(1)"` CodPart string `gorm:"type:varchar(60)"` CodMod string `gorm:"type:varchar(2)"` CodSit string `gorm:"type:varchar(2)"` Ser string `gorm:"type:varchar(3)"` NumDoc string `gorm:"type:varchar(9)"` ChvNfe string `gorm:"type:varchar(44);unique_index"` DtDoc time.Time `gorm:"type:date"` DtES time.Time `gorm:"type:date"` VlDoc float64 `gorm:"type:decimal(19,2)"` IndPgto string `gorm:"type:varchar(1)"` VlDesc float64 `gorm:"type:decimal(19,2)"` VlAbatNt float64 `gorm:"type:decimal(19,2)"` VlMerc float64 `gorm:"type:decimal(19,2)"` IndFrt string `gorm:"type:varchar(1)"` VlFrt float64 `gorm:"type:decimal(19,2)"` VlSeg float64 `gorm:"type:decimal(19,2)"` VlOutDa float64 `gorm:"type:decimal(19,2)"` VlBcIcms float64 `gorm:"type:decimal(19,2)"` VlIcms float64 `gorm:"type:decimal(19,2)"` VlBcIcmsSt float64 `gorm:"type:decimal(19,2)"` VlIcmsSt float64 `gorm:"type:decimal(19,2)"` VlIpi float64 `gorm:"type:decimal(19,2)"` VlPis float64 `gorm:"type:decimal(19,2)"` VlCofins float64 `gorm:"type:decimal(19,2)"` VlPisSt float64 `gorm:"type:decimal(19,2)"` VlCofinsSt float64 `gorm:"type:decimal(19,2)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
Estrutura criada usando layout Guia Prático EFD-ICMS/IPI – Versão 2.0.20 Atualização: 07/12/2016 Estrutura do registro C100
type RegC100Sped ¶
Implementando Interface do Sped RegC100
func (RegC100Sped) GetRegC100 ¶
func (s RegC100Sped) GetRegC100() RegC100
Metodo popula strutura com conteudo do sped fiscal
type RegC170 ¶
type RegC170 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` NumItem string `gorm:"type:varchar(3)"` CodItem string `gorm:"type:varchar(60)"` DescrCompl string Qtd float64 `gorm:"type:decimal(19,5)"` Unid string `gorm:"type:varchar(6)"` VlItem float64 `gorm:"type:decimal(19,2)"` VlDesc float64 `gorm:"type:decimal(19,2)"` IndMov string `gorm:"type:varchar(1)"` CstIcms string `gorm:"type:varchar(3)"` Cfop string `gorm:"type:varchar(4)"` CodNat string `gorm:"type:varchar(10)"` VlBcIcms float64 `gorm:"type:decimal(19,2)"` AliqIcms float64 `gorm:"type:decimal(6,2)"` VlIcms float64 `gorm:"type:decimal(19,2)"` VlBcIcmsSt float64 `gorm:"type:decimal(19,2)"` AliqSt float64 `gorm:"type:decimal(19,2)"` VlIcmsSt float64 `gorm:"type:decimal(19,2)"` IndApur string `gorm:"type:varchar(1)"` CstIpi string `gorm:"type:varchar(2)"` CodEnq string `gorm:"type:varchar(3)"` VlBcIpi float64 `gorm:"type:decimal(19,2)"` AliqIpi float64 `gorm:"type:decimal(6,2)"` VlIpi float64 `gorm:"type:decimal(19,2)"` CstPis string `gorm:"type:varchar(2)"` VlBcPis float64 `gorm:"type:decimal(19,2)"` AliqPis01 float64 `gorm:"type:decimal(8,4)"` QuantBcPis float64 `gorm:"type:decimal(19,3)"` AliqPis02 float64 `gorm:"type:decimal(8,4)"` VlPis float64 `gorm:"type:decimal(19,2)"` CstCofins string `gorm:"type:varchar(2)"` VlBcCofins float64 `gorm:"type:decimal(19,2)"` AliqCofins01 float64 `gorm:"type:decimal(8,4)"` QuantBcCofins float64 `gorm:"type:decimal(19,3)"` AliqCofins02 float64 `gorm:"type:decimal(8,4)"` VlCofins float64 `gorm:"type:decimal(19,2)"` CodCta string EntradaSaida string `gorm:"type:varchar(1)"` // Se for entrada 0, se for saida 1 NumDoc string `gorm:"type:varchar(9)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
func CreateRegC170 ¶
func CreateRegC170(read iRegC170) RegC170
type RegC170Sped ¶
Implementando Interface do SpedRegC170
func (RegC170Sped) GetRegC170 ¶
func (s RegC170Sped) GetRegC170() RegC170
type RegC400 ¶
type RegC400 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` CodMod string `gorm:"type:varchar(2)"` EcfMod string `gorm:"type:varchar(20)"` EcfFab string `gorm:"type:varchar(21)"` EcfCx string `gorm:"type:varchar(3)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
func CreateRegC400 ¶
func CreateRegC400(read iRegC400) RegC400
type RegC400Sped ¶
Implementando Interfaces do Sped RegC400
func (RegC400Sped) GetRegC400 ¶
func (s RegC400Sped) GetRegC400() RegC400
type RegC405 ¶
type RegC405 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` DtDoc time.Time `gorm:"type:date"` Cro string `gorm:"type:varchar(3)"` Crz string `gorm:"type:varchar(6)"` NumCooFin string `gorm:"type:varchar(9)"` GtFin float64 `gorm:"type:decimal(19,2)"` VlBrt float64 `gorm:"type:decimal(19,2)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
func CreateRegC405 ¶
func CreateRegC405(read iRegC405) RegC405
type RegC405Sped ¶
Implementando Interface do Sped RegC405
func (RegC405Sped) GetRegC405 ¶
func (s RegC405Sped) GetRegC405() RegC405
type RegC420 ¶
type RegC420 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` CodTotPar string `gorm:"type:varchar(7)"` VlrAcumTot float64 `gorm:"type:decimal(19,2)"` NrTot string `gorm:"type:varchar(2)"` DescrNrTot string DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
Estrutura criada usando layout Guia Prático EFD-ICMS/IPI – Versão 2.0.20 Atualização: 07/12/2016 Estrutura do registro RegC420 do Sped Fiscal
type RegC420Sped ¶
Implementando Interface do Sped RegC420
func (RegC420Sped) GetRegC420 ¶
func (s RegC420Sped) GetRegC420() RegC420
type RegC425 ¶
type RegC425 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` CodItem string `gorm:"type:varchar(60)"` Qtd float64 `gorm:"type:decimal(19,3)"` Unid string `gorm:"type:varchar(6)"` VlItem float64 `gorm:"type:decimal(19,2)"` VlPis float64 `gorm:"type:decimal(19,2)"` VlCofins float64 `gorm:"type:decimal(19,2)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
func CreateRegC425 ¶
func CreateRegC425(read iRegC425) RegC425
type RegC425Sped ¶
Implementando Interface do Sped RegC425
func (RegC425Sped) GetRegC425 ¶
func (s RegC425Sped) GetRegC425() RegC425
type RegC460 ¶
type RegC460 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` CodMod string `gorm:"type:varchar(2)"` CodSit string `gorm:"type:varchar(2)"` NumDoc string `gorm:"type:varchar(9)"` DtDoc time.Time `gorm:"type:date"` VlDoc float64 `gorm:"type:decimal(19,2)"` VlPis float64 `gorm:"type:decimal(19,2)"` VlCofins float64 `gorm:"type:decimal(19,2)"` CpfCnpj string `gorm:"type:varchar(14)"` NomAdq string `gorm:"type:varchar(60)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
type RegC460Sped ¶
func (RegC460Sped) GetRegC460 ¶
func (s RegC460Sped) GetRegC460() RegC460
type RegC465 ¶
type RegC465Sped ¶
func (RegC465Sped) GetRegC465 ¶
func (s RegC465Sped) GetRegC465() RegC465
type RegC470 ¶
type RegC470 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` CodItem string `gorm:"type:varchar(60)"` Qtd float64 `gorm:"type:decimal(19,2)"` QtdCanc float64 `gorm:"type:decimal(19,2)"` Unid string `gorm:"type:varchar(6)"` VlItem float64 `gorm:"type:decimal(19,2)"` CstIcms string `gorm:"type:varchar(3)"` Cfop string `gorm:"type:varchar(4)"` AliqIcms float64 `gorm:"type:decimal(6,2)"` VlPis float64 `gorm:"type:decimal(19,2)"` VlCofins float64 `gorm:"type:decimal(19,2)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
type RegC470Sped ¶
func (RegC470Sped) GetRegC470 ¶
func (s RegC470Sped) GetRegC470() RegC470
type RegC490 ¶
type RegC490 struct { gorm.Model Reg string `gorm:"type:varchar(4)"` CstIcms string `gorm:"type:varchar(3)"` Cfop string `gorm:"type:varchar(4)"` AliqIcms float64 `gorm:"type:decimal(6,2)"` VlOpr float64 `gorm:"type:decimal(19,2)"` VlBcIcms float64 `gorm:"type:decimal(19,2)"` VlIcms float64 `gorm:"type:decimal(19,2)"` CodObs string `gorm:"type:varchar(6)"` DtIni time.Time `gorm:"type:date"` DtFin time.Time `gorm:"type:date"` Cnpj string `gorm:"type:varchar(14)"` }
type RegC490Sped ¶
Implementando Interface do Sped RegC490
func (RegC490Sped) GetRegC490 ¶
func (s RegC490Sped) GetRegC490() RegC490
Click to show internal directories.
Click to hide internal directories.