ENDPOINT: https://api.erpeasy.compels.net/v1/servicoContrato


Exemplo em Java:

public class ServicoContratoModeloNFSe extends ServicoContrato {
  private TipoPrestacaoServico tipoPrestacaoServico;
  private String discriminacao;
  private boolean reterISS;
  private boolean reterPIS;
  private boolean reterCOFINS;
  private boolean reterINSS;
  private boolean reterIRRF;
  private boolean reterCSLL;

  public ServicoContratoModeloNFSe() {
    super(MODELO_NFSe);
  }

  public ServicoContratoModeloNFSe(Contrato contrato, Item servico) {
    super(contrato, servico, MODELO_NFSe);
  }

  public TipoPrestacaoServico getTipoPrestacaoServico() {
    return tipoPrestacaoServico;
  }

  public void setTipoPrestacaoServico(TipoPrestacaoServico tipoPrestacaoServico) {
    this.tipoPrestacaoServico = tipoPrestacaoServico;
  }

  public String getDiscriminacao() {
    return discriminacao;
  }

  public void setDiscriminacao(String discriminacao) {
    this.discriminacao = discriminacao;
  }

  public boolean isReterISS() {
    return reterISS;
  }

  public void setReterISS(boolean reterISS) {
    this.reterISS = reterISS;
  }

  public boolean isReterPIS() {
    return reterPIS;
  }

  public void setReterPIS(boolean reterPIS) {
    this.reterPIS = reterPIS;
  }

  public boolean isReterCOFINS() {
    return reterCOFINS;
  }

  public void setReterCOFINS(boolean reterCOFINS) {
    this.reterCOFINS = reterCOFINS;
  }

  public boolean isReterINSS() {
    return reterINSS;
  }

  public void setReterINSS(boolean reterINSS) {
    this.reterINSS = reterINSS;
  }

  public boolean isReterIRRF() {
    return reterIRRF;
  }

  public void setReterIRRF(boolean reterIRRF) {
    this.reterIRRF = reterIRRF;
  }

  public boolean isReterCSLL() {
    return reterCSLL;
  }

  public void setReterCSLL(boolean reterCSLL) {
    this.reterCSLL = reterCSLL;
  }

}