coffeepot.br.sped.fiscal.arquivo.blocoC.RegC100 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coffeepot-br-sped-fiscal Show documentation
Show all versions of coffeepot-br-sped-fiscal Show documentation
Project to be used in Brazil to write file in accordance to local regulations.
Este projeto é um mapeamento de classes Java para formatação e gravação do arquivo texto no layout definido para o SPED Fiscal.
/*
* Copyright 2013 - Jeandeson O. Merelis
*/
package coffeepot.br.sped.fiscal.arquivo.blocoC;
import java.util.Date;
import java.util.List;
/*
* #%L
* coffeepot-br-sped-fiscal
* %%
* Copyright (C) 2013 Jeandeson O. Merelis
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import coffeepot.bean.wr.annotation.Field;
import coffeepot.bean.wr.annotation.Record;
import coffeepot.bean.wr.typeHandler.DefaultStringHandler;
import coffeepot.br.sped.fiscal.tipos.CondicaoPagamento;
import coffeepot.br.sped.fiscal.tipos.DocumentoFiscal;
import coffeepot.br.sped.fiscal.tipos.EmissaoDocumento;
import coffeepot.br.sped.fiscal.tipos.Frete;
import coffeepot.br.sped.fiscal.tipos.Operacao;
import coffeepot.br.sped.fiscal.tipos.SituacaoDocumento;
import lombok.Getter;
import lombok.Setter;
/**
*
* @author Jeandeson O. Merelis
*/
@Record(fields = {
@Field(name = "reg", id=true, constantValue = "C100"),
@Field(name = "indOper"),
@Field(name = "indEmit"),
@Field(name = "codPart"),
@Field(name = "codMod"),
@Field(name = "codSit"),
@Field(name = "ser"),
@Field(name = "numDoc"),
@Field(name = "chvNfe", params = {DefaultStringHandler.PARAM_FILTER_NUMBER_ONLY}),
@Field(name = "dtDoc"),
@Field(name = "dtES"),
@Field(name = "vlDoc"),
@Field(name = "indPgto"),
@Field(name = "vlDesc"),
@Field(name = "vlAbatNt"),
@Field(name = "vlMerc"),
@Field(name = "indFrt"),
@Field(name = "vlFrt"),
@Field(name = "vlSeg"),
@Field(name = "vlOutDa"),
@Field(name = "vlBcIcms"),
@Field(name = "vlIcms"),
@Field(name = "vlBcIcmsSt"),
@Field(name = "vlIcmsSt"),
@Field(name = "vlIpi"),
@Field(name = "vlPis"),
@Field(name = "vlCofins"),
@Field(name = "vlPisSt"),
@Field(name = "vlCofinsSt"),
//--- detalhes ---
@Field(name = "regC105"),
@Field(name = "regC110List"),
@Field(name = "regC120List"),
@Field(name = "regC130"),
@Field(name = "regC140"),
@Field(name = "regC160"),
@Field(name = "regC165List"),
@Field(name = "regC170List"),
@Field(name = "regC190List"),
@Field(name = "regC195List"),})
@Getter
@Setter
public class RegC100 {
private Operacao indOper;
private EmissaoDocumento indEmit;
private String codPart;
private DocumentoFiscal codMod;
private SituacaoDocumento codSit;
private String ser;
private Long numDoc;
private String chvNfe;
private Date dtDoc;
private Date dtES;
private Double vlDoc;
private CondicaoPagamento indPgto;
private Double vlDesc;
private Double vlAbatNt;
private Double vlMerc;
private Frete indFrt;
private Double vlFrt;
private Double vlSeg;
private Double vlOutDa;
private Double vlBcIcms;
private Double vlIcms;
private Double vlBcIcmsSt;
private Double vlIcmsSt;
private Double vlIpi;
private Double vlPis;
private Double vlCofins;
private Double vlPisSt;
private Double vlCofinsSt;
//--- detalhes ---
private RegC105 regC105;
private List regC110List;
private List regC120List;
private RegC130 regC130;
private RegC140 regC140;
private RegC160 regC160;
private List regC165List;
private List regC170List;
private List regC190List;
private List regC195List;
}