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.

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.