---
title: "NfceAutomaticaInputModel"
url: "https://devcenter.stone.com.br/apis/stone-tax/versions/206fd1c1-6382-4ada-8612-c67fdc65e050/schemas/NfceAutomaticaInputModel"
---

> Full API specification: https://devcenter.stone.com.br/apis/stone-tax/versions/206fd1c1-6382-4ada-8612-c67fdc65e050.md

# NfceAutomaticaInputModel

Dados da nota fiscal eletrônica Automática.

## OpenAPI definition

```yaml
openapi: 3.0.4
info:
  title: Stone Tax API
  version: 1.0.0
servers:
  - url: https://stone-tax-sdx.stone.com.br
    description: Ambiente de Desenvolvimento
  - url: https://stone-tax.stone.com.br
    description: Ambiente de Produção
components:
  schemas:
    IndicadorPresencaNfceModelEnum:
      enum:
        - OperacaoPresencial
        - NfceEntregaDomicilio
      type: string
      description: Indicador de presença na operação.
    TipoEmissaoNfceModelEnum:
      enum:
        - Automatica
        - Normal
        - ContingenciaNfce
      type: string
      description: Tipo de emissão de NFCe.
    DestinatarioNfceAutomaticaInputModel:
      required:
        - documento
      type: object
      properties:
        tipoDocumento:
          $ref: "#/components/schemas/TipoDocumentoNotaFiscalModelEnum"
        documento:
          minLength: 1
          type: string
          description: Documento do destinatário.
        nome:
          type: string
          description: Nome do destinatário.
          nullable: true
        endereco:
          $ref: "#/components/schemas/EnderecoDestinatarioNfceAutomaticaInputModel"
        telefone:
          type: string
          description: Telefone do destinatário.
          nullable: true
        email:
          type: string
          description: Email do destinatário.
          nullable: true
      additionalProperties: false
      description: Dados do destinatário da NFe Automática.
    EnderecoEntregaNfceAutomaticaInputModel:
      required:
        - bairro
        - codigoMunicipio
        - documentoRecebedor
        - logradouro
        - nomeMunicipio
        - numero
      type: object
      properties:
        tipoDocumentoRecebedor:
          $ref: "#/components/schemas/TipoDocumentoNotaFiscalModelEnum"
        documentoRecebedor:
          minLength: 1
          type: string
          description: Documento do recebedor.
        nomeRecebedor:
          type: string
          description: Nome do recebedor.
          nullable: true
        telefoneRecebedor:
          type: string
          description: Telefone do recebedor.
          nullable: true
        emailRecebedor:
          type: string
          description: Email do recebedor.
          nullable: true
        logradouro:
          maxLength: 60
          minLength: 2
          type: string
          description: Logradouro.
        numero:
          maxLength: 60
          minLength: 1
          type: string
          description: Número.
        complemento:
          type: string
          description: Complemento.
          nullable: true
        bairro:
          maxLength: 60
          minLength: 2
          type: string
          description: Bairro.
        codigoMunicipio:
          maxLength: 7
          minLength: 7
          type: string
          description: Código do município.
        nomeMunicipio:
          maxLength: 60
          minLength: 2
          type: string
          description: Nome do município.
        uf:
          $ref: "#/components/schemas/UfExtNotaFiscalModelEnum"
        cep:
          type: string
          description: CEP.
          nullable: true
        codigoPais:
          type: string
          description: Código do país.
          nullable: true
        pais:
          type: string
          description: Nome do país.
          nullable: true
      additionalProperties: false
      description: Dados de Endereço de Entrega para Nota Fiscal Eletrônica Automática.
    EnderecoRetiradaNfceAutomaticaInputModel:
      required:
        - bairro
        - codigoMunicipio
        - documentoExpeditor
        - logradouro
        - nomeMunicipio
        - numero
      type: object
      properties:
        tipoDocumentoExpeditor:
          $ref: "#/components/schemas/TipoDocumentoNotaFiscalModelEnum"
        documentoExpeditor:
          minLength: 1
          type: string
          description: Documento do Expeditor.
        nomeExpeditor:
          type: string
          description: Nome do Expeditor.
          nullable: true
        telefoneExpeditor:
          type: string
          description: Telefone do Expeditor.
          nullable: true
        emailExpeditor:
          type: string
          description: Email do Expeditor.
          nullable: true
        logradouro:
          maxLength: 60
          minLength: 2
          type: string
          description: Logradouro.
        numero:
          maxLength: 60
          minLength: 1
          type: string
          description: Número.
        complemento:
          type: string
          description: Complemento.
          nullable: true
        bairro:
          maxLength: 60
          minLength: 2
          type: string
          description: Bairro.
        codigoMunicipio:
          maxLength: 7
          minLength: 7
          type: string
          description: Código do município.
        nomeMunicipio:
          maxLength: 60
          minLength: 2
          type: string
          description: Nome do município.
        uf:
          $ref: "#/components/schemas/UfExtNotaFiscalModelEnum"
        cep:
          type: string
          description: CEP.
          nullable: true
        codigoPais:
          type: string
          description: Código do país.
          nullable: true
        pais:
          type: string
          description: Nome do país.
          nullable: true
      additionalProperties: false
      description: Dados do endereço de retirada da NFe Automática.
    ItemNfceAutomaticaInputModel:
      required:
        - codigoInterno
        - descricao
        - unidade
      type: object
      properties:
        codigoInterno:
          maxLength: 60
          minLength: 1
          type: string
          description: Código interno do produto no ERP.
        ean:
          type: string
          description: EAN do produto.
          nullable: true
        descricao:
          maxLength: 120
          minLength: 2
          type: string
          description: Descrição do produto.
        origemMercadoria:
          $ref: "#/components/schemas/OrigemMercadoriaNotaFiscalModelEnum"
        fabricacaoPropria:
          type: boolean
          description: "Indica se o produto é de fabricação própria. (Default: false)"
          nullable: true
        unidade:
          maxLength: 6
          minLength: 1
          type: string
          description: Unidade comercializada.
        quantidade:
          minimum: 0
          exclusiveMinimum: true
          type: number
          description: Quantidade comercializada.
          format: double
        valorUnitario:
          minimum: 0
          type: number
          description: Valor unitário do item.
          format: double
        valorTotalBruto:
          minimum: 0
          type: number
          description: Valor total bruto.
          format: double
        valorTotalFrete:
          minimum: 0
          type: number
          description: Valor total de frete do item.
          format: double
          nullable: true
        valorTotalSeguro:
          minimum: 0
          type: number
          description: Valor total de seguro do item.
          format: double
          nullable: true
        valorTotalDesconto:
          minimum: 0
          type: number
          description: Valor total de descontos do item.
          format: double
          nullable: true
        valorTotalOutros:
          minimum: 0
          type: number
          description: Valor total de outras despesas do item.
          format: double
          nullable: true
        itemCompoeTotalNota:
          type: boolean
          description: Indicador de item compõe o total da nota.
          nullable: true
        numeroPedidoCompra:
          type: string
          description: Número do pedido de compra.
          nullable: true
        itemPedidoCompra:
          type: integer
          description: Item de pedido de compra.
          format: int32
          nullable: true
        produtoEspecifico:
          $ref: "#/components/schemas/ItemNfceAutomaticaProdutoEspecificoInputModel"
      additionalProperties: false
      description: Dados do item da NFe Automática.
    TransporteNfceAutomaticaInputModel:
      required:
        - modalidadeFrete
      type: object
      properties:
        modalidadeFrete:
          $ref: "#/components/schemas/ModalidadeFreteNotaFiscalModelEnum"
        veiculo:
          $ref: "#/components/schemas/TransporteNfceVeiculoAutomaticaInputModel"
        transportador:
          $ref: "#/components/schemas/TransporteNfceTransportadorAutomaticaInputModel"
      additionalProperties: false
      description: Dados de transporte para NFe Automática.
    CobrancaNfceAutomaticaInputModel:
      type: object
      properties:
        numeroFatura:
          type: string
          description: Número da fatura.
          nullable: true
        valorBrutoFatura:
          type: number
          description: Valor bruto da fatura.
          format: double
          nullable: true
        valorDescontoFatura:
          type: number
          description: Valor de desconto da fatura.
          format: double
          nullable: true
        valorLiquidoFatura:
          type: number
          description: Valor líquido da fatura.
          format: double
          nullable: true
        duplicatas:
          type: array
          items:
            $ref: "#/components/schemas/DuplicataNfceAutomaticaInputModel"
          description: Lista de duplicatas da nota fiscal.
          nullable: true
      additionalProperties: false
      description: Dados da cobrança da NFe Automática.
    PagamentosNfceAutomaticaInputModel:
      required:
        - formasDePagamento
      type: object
      properties:
        formasDePagamento:
          type: array
          items:
            $ref: "#/components/schemas/PagamentoDetalheNfceAutomaticaInputModel"
          description: Detalhe das formas de pagamento da NFe Simplificada.
        valorTroco:
          minimum: 0
          type: number
          description: Valor do troco.
          format: double
      additionalProperties: false
      description: Dados dos pagamentos da NFe Automática.
    TipoDocumentoNotaFiscalModelEnum:
      enum:
        - Cpf
        - Cnpj
        - IdEstrangeiro
      type: string
      description: Tipo de documento.
    EnderecoDestinatarioNfceAutomaticaInputModel:
      required:
        - bairro
        - cep
        - codigoMunicipio
        - logradouro
        - nomeMunicipio
        - numero
      type: object
      properties:
        logradouro:
          maxLength: 60
          minLength: 2
          type: string
          description: Logradouro.
        numero:
          maxLength: 60
          minLength: 1
          type: string
          description: Número.
        complemento:
          type: string
          description: Complemento.
          nullable: true
        bairro:
          maxLength: 60
          minLength: 1
          type: string
          description: Bairro.
        codigoMunicipio:
          maxLength: 7
          minLength: 7
          type: string
          description: Código do município.
        nomeMunicipio:
          maxLength: 60
          minLength: 2
          type: string
          description: Nome do município.
        uf:
          $ref: "#/components/schemas/UfExtNotaFiscalModelEnum"
        cep:
          minLength: 1
          type: string
          description: CEP.
        codigoPais:
          type: string
          description: Código do país.
          nullable: true
        pais:
          type: string
          description: Nome do país.
          nullable: true
      additionalProperties: false
      description: Endereço do destinatário da NFe Automática.
    UfExtNotaFiscalModelEnum:
      enum:
        - RO
        - AC
        - AM
        - RR
        - PA
        - AP
        - TO
        - MA
        - PI
        - CE
        - RN
        - PB
        - PE
        - AL
        - SE
        - BA
        - MG
        - ES
        - RJ
        - SP
        - PR
        - SC
        - RS
        - MS
        - MT
        - GO
        - DF
        - EX
      type: string
      description: Lista de Unidades Federativas para Nota Fiscal incluíndo exterior.
    OrigemMercadoriaNotaFiscalModelEnum:
      enum:
        - Nacional
        - EstrangeiraImportacaoDireta
        - EstrangeiraAdquiridaMercadoInterno
        - NacionalConteudoImportacaoEntre40e70
        - NacionalProducaoEmConformidade
        - NacionalConteudoImportacaoMenorQue40
        - EstrangeiraImportacaoDiretaSemSimilarNacional
        - EstrangeiraAdquiridaMercadoInternoSemSimilarNacional
        - NacionalConteudoImportacaoSuperior70
      type: string
      description: Origem da mercadoria.
    ItemNfceAutomaticaProdutoEspecificoInputModel:
      required:
        - tipoProdutoEspecifico
      type: object
      properties:
        tipoProdutoEspecifico:
          $ref: "#/components/schemas/TipoProdutoEspecificoNotaFiscalModelEnum"
      additionalProperties: false
      description: |-
        Modelo abstrato para os <strong>Dados de Produto Específico</strong> do item da nota fiscal.

        O preenchimento dos campos abaixo é condicional ao <strong>TipoProdutoEspecifico</strong> informado.


        *************************************************************************

        <strong>Medicamento:</strong>

        • <strong>TipoProdutoEspecifico</strong>: Medicamento.

        • <strong>CodigoAnvisa</strong> (string): Código de Produto da ANVISA (13 dígitos).

        • <strong>MotivoIsensao</strong> (string): Texto explicativo do motivo da isenção da ANVISA.

        • <strong>ValorPmc</strong> (decimal): Preço Máximo ao Consumidor.

         
        *************************************************************************

        <strong>Dicionário de Enumeradores:</strong>

        • <strong>TipoProdutoEspecificoNotaFiscalModelEnum:</strong>

          Medicamento = Produtos farmacêuticos e medicamentos.
    ModalidadeFreteNotaFiscalModelEnum:
      enum:
        - Cif
        - Fob
        - FretePorContaDeTerceiros
        - TransporteProprioRemetente
        - TransporteProprioDestinatario
        - SemOcorrenciaDeTransporte
      type: string
      description: Modalidade de frete.
    TransporteNfceVeiculoAutomaticaInputModel:
      required:
        - placaVeiculo
        - ufVeiculo
      type: object
      properties:
        placaVeiculo:
          maxLength: 7
          minLength: 1
          type: string
          description: Placa do veículo.
        ufVeiculo:
          type: string
          description: UF do veículo.
        rntcVeiculo:
          type: string
          description: RNTC do veículo.
          nullable: true
      additionalProperties: false
      description: Dados do veículo para NFCe Automática.
    TransporteNfceTransportadorAutomaticaInputModel:
      required:
        - uf
      type: object
      properties:
        tipoDocumento:
          $ref: "#/components/schemas/TipoDocumentoNotaFiscalModelEnum"
        documento:
          type: string
          description: Documento do transportador.
          nullable: true
        nome:
          type: string
          description: Nome do transportador.
          nullable: true
        inscricaoEstadual:
          type: string
          description: Inscrição estadual do transportador.
          nullable: true
        enderecoCompleto:
          type: string
          description: Endereço completo do transportador.
          nullable: true
        nomeMunicipio:
          type: string
          description: Nome do município do transportador.
          nullable: true
        uf:
          $ref: "#/components/schemas/UfNotaFiscalModelEnum"
      additionalProperties: false
      description: Dados do transportador da NFe Automática.
    DuplicataNfceAutomaticaInputModel:
      required:
        - dataVencimento
        - numeroParcela
      type: object
      properties:
        numeroParcela:
          maxLength: 60
          minLength: 1
          type: string
          description: Número da parcela.
        dataVencimento:
          minLength: 1
          type: string
          description: Data de vencimento.
          format: date-time
        valorParcela:
          minimum: 0
          exclusiveMinimum: true
          type: number
          description: Valor da parcela.
          format: double
      additionalProperties: false
      description: Dados da duplicata da NFe Automática.
    PagamentoDetalheNfceAutomaticaInputModel:
      type: object
      properties:
        formaPagamento:
          $ref: "#/components/schemas/FormasPagamentoNotaFiscalModelEnum"
        valorPagamento:
          minimum: 0
          exclusiveMinimum: true
          type: number
          description: Valor do pagamento.
          format: double
        tipoIntegracaoCartao:
          $ref: "#/components/schemas/TipoIntegracaoPagamentoNotaFiscalModelEnum"
        cnpjOperadorCartao:
          type: string
          description: CNPJ do operador de cartão.
          nullable: true
        bandeiraCartao:
          $ref: "#/components/schemas/BandeiraCartaoNotaFiscalModelEnum"
        numeroAutorizacaoCartao:
          type: string
          description: Número de autorização do cartão.
          nullable: true
      additionalProperties: false
      description: Dados do detalhe dos pagamentos da NFe Automática.
    TipoProdutoEspecificoNotaFiscalModelEnum:
      enum:
        - Medicamento
      type: string
      description: Tipos de produtos específicos para Nota Fiscal.
    UfNotaFiscalModelEnum:
      enum:
        - RO
        - AC
        - AM
        - RR
        - PA
        - AP
        - TO
        - MA
        - PI
        - CE
        - RN
        - PB
        - PE
        - AL
        - SE
        - BA
        - MG
        - ES
        - RJ
        - SP
        - PR
        - SC
        - RS
        - MS
        - MT
        - GO
        - DF
      type: string
      description: Lista de Unidades Federativas para Nota Fiscal.
    FormasPagamentoNotaFiscalModelEnum:
      enum:
        - Dinheiro
        - Cheque
        - CartaoCredito
        - CartaoDebito
        - CreditoLoja
        - ValeAlimentaçao
        - ValeRefeiçao
        - ValePresente
        - ValeCombustivel
        - BoletoBancario
        - DepósitoBancario
        - Pix
        - TransferenciaBancaria
        - ProgramaFidelidade
        - PagamentoInstantaneoPIXEstatico
        - CreditoEmLoja
        - PagamentoEletronicoNaoInformado
        - SemPagamento
        - Outros
      type: string
      description: Formas de pagamento.
    TipoIntegracaoPagamentoNotaFiscalModelEnum:
      enum:
        - Tef
        - Pos
      type: string
      description: Tipo de integração de pagamento.
    BandeiraCartaoNotaFiscalModelEnum:
      enum:
        - Visa
        - Mastercard
        - AmericanExpress
        - Sorocred
        - DinersClub
        - Elo
        - Hipercard
        - Aura
        - Cabal
        - Outros
      type: string
      description: Informações de bandeiras de pagamento.
    NfceAutomaticaInputModel:
      required:
        - codigoErp
        - itens
        - pagamentos
        - valorTotal
      type: object
      properties:
        codigoErp:
          minLength: 1
          type: string
          description: Identificador da pré-venda no ERP.
        serie:
          type: string
          description: Série do documento fiscal (Informar somente se estiver configurado
            para geração numérica manual).
          nullable: true
        numeroDocumento:
          type: integer
          description: Numero do documento fiscal (Informar somente se estiver configurado
            para geração numérica manual).
          format: int64
          nullable: true
        naturezaOperacao:
          type: string
          description: Descrição da natureza da operação.
          nullable: true
        indicadorPresenca:
          $ref: "#/components/schemas/IndicadorPresencaNfceModelEnum"
        tipoEmissao:
          $ref: "#/components/schemas/TipoEmissaoNfceModelEnum"
        dataHoraEntradaContingencia:
          type: string
          description: Data e hora de entrada em contingência (Opcional).
          format: date-time
          nullable: true
        justificativaContingencia:
          type: string
          description: Justificativa de entrada em contingência (Opcional).
          nullable: true
        destinatario:
          $ref: "#/components/schemas/DestinatarioNfceAutomaticaInputModel"
        enderecoEntrega:
          $ref: "#/components/schemas/EnderecoEntregaNfceAutomaticaInputModel"
        enderecoRetirada:
          $ref: "#/components/schemas/EnderecoRetiradaNfceAutomaticaInputModel"
        itens:
          type: array
          items:
            $ref: "#/components/schemas/ItemNfceAutomaticaInputModel"
          description: Itens da nota fiscal.
        transporte:
          $ref: "#/components/schemas/TransporteNfceAutomaticaInputModel"
        cobranca:
          $ref: "#/components/schemas/CobrancaNfceAutomaticaInputModel"
        pagamentos:
          $ref: "#/components/schemas/PagamentosNfceAutomaticaInputModel"
        informacaoAdicionalFisco:
          maxLength: 2000
          type: string
          description: Informação adicional de interesse do fisco.
          nullable: true
        informacaoComplementar:
          maxLength: 5000
          type: string
          description: Informação complementar.
          nullable: true
        valorTotal:
          type: number
          description: "Valor total do documento fiscal (Não incluir os impostos da
            reforma tributária: IBS, CBS e IS)."
          format: double
      additionalProperties: false
      description: Dados da nota fiscal eletrônica Automática.
```
