AvaTax Brazil

Version v1
Batch Calculations
Calculations
Filter Subscription Rule Set List
Generic Rules
Invoice Goods
Invoice Service
Invoice Settings
PING
Subscription Analysis
Subscription Citations
Subscription Location
Subscription Operation Type
Subscription Rule Set
Subscription Usage
processFile

RefDocument

Parameters
docTypeOptional
string

(en) Referenced Invoices. The invoice can be one of these types:

  • 'refNFe' # NF-e access code
  • 'refNSFe' # NFS-e access key (national standard)
  • 'NFSeMun' # Municipal electronic invoice issued outside the national standard
  • 'NFNFS' # NF or NFS information group (non-electronic model) (pt) Notas Fiscais Referenciadas. A NF pode ser um destes tipos:
  • 'refNFe' # Chave de acesso da NF-e
  • 'refNSFe' # Chave de acesso da NFS-e (padrão nacional)
  • 'NFSeMun' # Nota eletrônica municipal emitida fora do padrão nacional
  • 'NFNFS' # Grupo de informações de NF ou NFS Modelo não eletrônico)
Enum: refNFe, refNSFe, NFSeMun, NFNFS
dfeOptional
object
nfseMunOptional
object
nfnfsOptional
object
nDocFiscOptional
string

(en) Tax document identifier different from the others in the group. (pt) Identificador de documento fiscal diferente dos demais do grupo. Usage purpose: Invoice

nDocOptional
string

(en) Non-tax document identifier different from the others in the group. (pt) Identificador de documento não fiscal diferente dos demais do grupo. Usage purpose: Invoice

tpDedRedOptional
string

(en) Type of Deduction/Reduction

  • '01' # Food and beverages/minibar;
  • '02' # Materials;
  • '03' # External production;
  • '04' # Reimbursement of expenses;
  • '05' # Consortium transfer;
  • '06' # Health plan transfer;
  • '07' # Services;
  • '08' # Subcontracting of labor;
  • '99' # Other deductions; (pt) Tipo da Dedução/Redução
  • '01' # Alimentação e bebidas/frigobar;
  • '02' # Materiais;
  • '03' # Produção externa;
  • '04' # Reembolso de despesas;
  • '05' # Repasse consorciado;
  • '06' # Repasse plano de saúde;
  • '07' # Serviços;
  • '08' # Subempreitada de mão de obra;
  • '99' # Outras deduções; Usage purpose: Calculation/Invoice
Enum: 01, 02, 03, 04, 05, 06, 07, 08, 99
xDescOutDedOptional
string

(en) Description of Deduction/Reduction when the option is "99 – Other Deductions". (pt) Descrição da Dedução/Redução quando a opção é "99 – Outras Deduções". Usage purpose: Invoice

dtEmiDocOptional
string

(en) Date of issuance of the deductible document. Year, month and day (YYYY-MM-DD) (pt) Data da emissão do documento dedutível. Ano, mês e dia (AAAA-MM-DD)

dtAcrualDocOptional
string

(en) Accrual date of the deductible document. Year, month and day (YYYY-MM-DD) (pt) Data da competência do documento dedutível. Ano, mês e dia (AAAA-MM-DD)

vDeductibleReducibleOptional
number

(en) Total deductible/reducible monetary value in the document provided (R$). This is the total amount in the document provided that is subject to deduction/reduction. (pt) Valor monetário total dedutível/redutível no documento informado (R$). Este é o valor total no documento informado que é passível de dedução/redução.

vDeductionReductionOptional
number

(en) Monetary value used to deduct/reduce the value of the NFS-e service being issued (R$). Must be less than or equal to the deductible/reducible value (vDeductibleReducible). (pt) Valor monetário utilizado para dedução/redução do valor do serviço da NFS-e que está sendo emitida (R$). Deve ser menor ou igual ao valor deduzível/redutível (vDeductibleReducible).

vendorOptional
Vendor