Fiscal document text placeholders for Brazil

Fiscal document text placeholders are predefined tags that represent specific values. You can include the placeholders in the Text field on the Fiscal document source texts page when you create a fiscal document source text.

You can also include placeholders in the Note field on the Fiscal document texts page when you attach a fiscal document text to a sales order, purchase order, or free text invoice. When you post a sales order, purchase order, or free text invoice that has a fiscal document text that includes placeholders, the placeholders are replaced by the values in the predefined tags.

The following tables contain the predefined tags that support fiscal document text and its value.

Tags that support fiscal document text for referenced processes

Predefined tag Value
%RefProcess_TaxAuthorityName The name of the tax authority.
%RefProcess_TaxAuthorityAgency The agency of the tax authority.
%RefProcess_RefProcessNumber The number of the referenced process.

Tag that supports fiscal document text for SUFRAMA

Predefined tag Value
%Suframa_CustNumber The SUFRAMA customer number.

Tags that support fiscal document text for taxes

Predefined tag Value
%ICMS The Imposto Sobre Circulação de Mercadorias e Serviços (ICMS) tax amount.
%PIS The Programa de Integração Social (PIS) contribution amount.
%COFINS The Contribuição para o financiamente da securidade social (COFINS) contribution amount.
%IPI The Imposto Sobre Produtos Industrializados (IPI) tax rate.
%IPI_TaxValue The Imposto Sobre Produtos Industrializados (IPI) tax amount.

Tags that support fiscal document text for fiscal references

Predefined tag Value
%FiscalRef_InvNoRef The number of the reference invoice.
%FiscalRef_InvSeriesRef The series of the reference invoice.
%FiscalRef_InvDateRef The date of the reference invoice.
%FiscalRef_InvAccNameRef The account name of the reference invoice.
%FiscalRef_InvAccAddressRef The address of the reference invoice.
%FiscalRef_InvAccIENumberRef The Inscrição Estadual (IE), or state registration number, of the reference invoice account.
%FiscalRef_InvAccCNPJCPFNumRef The Cadastro Nacional da Pessoa Jurídica (CNPJ), or taxpayer registration number, of the reference invoice account.

Tags that support fiscal document text that involve vendor information

Predefined tag Value
%Vendor_Name The name of the vendor.
%Vendor_CNPJ_CPF The Cadastro Nacional da Pessoa Jurídica (CNPJ)/Cadastro de Pessoas Físicas (CPF), or taxpayer registration number, of the vendor.
%Vendor_IE The IE of the vendor.
%Vendor_Address The address of the vendor.

Tags that support fiscal document text that involve customer information

Predefined tag Value
%Customer_Name The name of the customer.
%Customer_CNPJ_CPF The CNPJ/CPF of the customer.
%Vendor_IE The IE of the customer.
%Vendor_Address The address of the customer.

Tags that support fiscal document text for withholding taxes

Predefined tag Value
%TaxWithhold_Code The withholding tax code.
%TaxWithhold_Value The rate of withholding tax.
%TaxWithhold_Amount The amount of withholding tax.

Tags that support fiscal document text for imports

Predefined tag Value
%DI_Number The identifier of the import declaration document.
%DI_Date The date that the import declaration document was issued.
%ImportTax The import tax amount.
%Freight The freight amount for the import.
%Insurance The insurance amount for the import.
%Siscomex The charge amount for Sistema Integrado de Comércio Exterior (Siscomex).
%ExchRate The exchange rate that is used in the import.

Tags for ICMSDIF final consumer

Predefined tag Value
%DifICMS_vBCUFDest Tax base amount used for tax type ICMS-DIF.
%DifICMS_pICMSUFDest Tax value for recipient federal state.
%DifICMS_pICMSInter Tax value for interstate transaction.
%DifICMS_pICMSInterPart Percentage defined to recipient federal state (based on fiscal document year).
%DifICMS_vICMSUFDest Tax amount for recipient state.
%DifICMS_vICMSUFRemet Tax amount for issuer state.

Tags for approximated tax values

Predefined tag Value
%ApproximateTaxValue The approximated tax rate.
%ApproximateTaxAmount The approximated tax amount.
%ApproximateValueSource The name of the source of the approximate tax rate.

Tags for FCI Number

Predefined tag Value
%FCINumber The number of the Ficha Controle de Importação (FCI).

Tags for poverty funds over ICMS (ICMS FCP)

Predefined tag Value
%FCP_amount The amount of the poverty fund calculated over the ICMS amount.
%FCP_baseAmount The ICMS base amount for calculation of the poverty fund amount.
%FCP_percentage The poverty fund rate over the ICMS amount.

Tags for poverty funds over ICMS-ST (ICMS-ST FCP)

Predefined tag Value
%FCP_ST_amount The amount of the poverty fund calculated over the ICMS-ST amount.
%FCP_ST_baseAmount The ICMS-ST base amount for calculation of the poverty fund amount.
%FCP_ST_percentage The poverty fund rate over the ICMS-ST amount.

Tags for presumed tax (ICMS-ST)

Predefined tag Value
%Presumed_tax_rate The presumed ICMS-ST tax rate.
%Presumed_tax_base_amount The base amount for presumed ICMS-ST tax amount.
%Presumed_per_unit_tax_base_amount The base amount for presumed ICMS-ST tax amount per unit.
%Presumed_tax_amount The presumed ICMS-ST tax amount.
%Presumed_per_unit_tax_amount The presumed ICMS-ST tax amount per unit.
%Presumed_FCP_tax_rate The presumed poverty fund tax rate.
%Presumed_FCP_tax_base_amount The presumed poverty fund tax base amount.
%Presumed_FCP_per_unit_tax_base_amount The presumed poverty fund tax base amount per unit.
%Presumed_FCP_tax_amount The presumed poverty fund amount.
%Presumed_FCP_per_unit_tax_amount The presumed poverty fund amount per unit.

Tags for presumed tax (from the substitute)

Predefined tag Value
%Substituto_ICMS_tax_amount The presumed ICMS tax amount from the ICMS substitute.
%Substituto_FCP_tax_amount The presumed FCP amount from the ICMS substitute.