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

HeaderBase

Parameters
enableCitationWarningsOptional
boolean

(en) When true, the calculation result includes, per line, a list of potential legal bases (citations) related to tax benefits applicable to that line’s hsCode. For informational use to support audit/review; it does not validate eligibility or guarantee completeness, and may increase response size/latency. (pt) Quando true, o resultado do cálculo passa a incluir, por linha, uma lista de possíveis fundamentações legais relacionadas a benefícios tributários aplicáveis ao hsCode daquela linha. Uso informativo para apoio à auditoria/revisão; não valida elegibilidade nem garante exaustividade e pode aumentar o tamanho/latência da resposta. Usage purpose: Calculation/Invoice

eDocCreatorTypeOptional
string

(en) Informs whether the location used in the calculation as the issue of the document is establishment (self) or entity (other). Default is: self. (pt) Informa se a localidade utilizada no cálculo como emitente do documento fiscal é o próprio estabelecimento (self) ou a entidade participante (other). Valor padrão é: self. Usage purpose: Calculation/Invoice

Enum: self, other
eDocCreatorPerspectiveOptional
boolean

(en) Used in case of return transactions: "True": The system calculates the invoice reversal amounts only related to credits and debits (bookkeeping) "False": The system generates amounts and quantities related to the return invoice generation. (pt) Utilizado em casos emissão de nota de devolução: “True”: O sistema calcula os valores de estorno da nota apenas relacionados a créditos e débitos (escrituração). “False”: O sistema gera valores e quantidades relacionados a geração de nota fiscal de devolução. Usage purpose: Calculation/Invoice

operationTypeOptional
string

(en) Operation type per transaction. If informed in the line, the system ignores the header information. (pt) Tipo de operação por transação. Caso informado na linha, o sistema ignorará a informação do header. Usage purpose: Calculation/Invoice

amountCalcTypeOptional
AmountCalcTypeEnum
companyLocationRequired
string

(en) External identifier of the company in the branch record of the Avalara Portal. (pt) Identificador externo da companhia no cadastro de matriz/filial do Portal Avalara.

transactionDateOptional
string

(en) This string follows the transaction date format according to ISO 8601. Format YYYY-MM-DDTHH:mm:ssZ. The date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z. (pt) Esta string segue o formato de data da transação de acordo com a ISO 8601. Formato AAAA-MM-DDTHH: mm: ssZ. A notação de data e hora é definida pela RFC 3339, seção 5.6, por exemplo, 2017-07-21T17: 32: 28Z.

documentCodeOptional
string

(en) This string is a code maintained by the client application to uniquely identify a document. It will typically be an invoice number, sales order, receipt number, returned merchandise authorization number, etc. (pt) Esta string é um código mantido pelo aplicativo cliente para identificar exclusivamente um documento. Normalmente será um número de fatura, pedido de venda, número de recibo, número de autorização de mercadoria devolvida, etc.
Usage purpose: Calculation/Invoice