Skip to main content
Key: br-nfse-v1 Module: github.com/invopop/gobl.br.nfse

Extensions

CNAE code

The CNAE (National Classification of Economic Activities) code for a service. List of codes from the IBGE (Brazilian Institute of Geography and Statistics):
Pattern: ^\d{2}[\s\.\-\/]?\d{2}[\s\.\-\/]?\d[\s\.\-\/]?\d{2}$

NBS code

The NBS (Nomenclatura Brasileira de Serviços, Intangíveis e outras Operações que produzam Variações no Patrimônio) code for a service. NBS is the Brazilian classification system for services and intangibles, established by Decreto No. 7.708/2012 and maintained by the MDIC (Ministério do Desenvolvimento, Indústria, Comércio e Serviços). Official list of codes from the MDIC:
Pattern: ^\d[\.\s]?\d{4}[\.\s]?\d{2}[\.\s]?\d{2}$

Fiscal Incentive

Indicates whether a party benefits from a fiscal incentive.

ISS Liability

Indicates the ISS liability status, i.e., whether the ISS tax is due or not and why. List of codes from the national NFSe ABRASF (v2.04) model:

Service Code

The service code as defined by the municipality. Typically, one of the codes listed in the Lei Complementar 116/2003, but municipalities can make their own changes. For further details on the list of possible codes, see:

Opting for “Simples Nacional” regime

Indicates whether a party is opting for the “Simples Nacional” (Regime Especial Unificado de Arrecadação de Tributos e Contribuições devidos pelas Microempresas e Empresas de Pequeno Porte) tax regime

Special Tax Regime

Indicates a special tax regime that a party is subject to.

Operation Indicator

Indicates the operation type for the determination of the IBS and CBS taxes by the tax authorities. Maps to the cIndOp field in the NFS-e national layout. List of possible values:
Pattern: ^\d{6}$

Tax Status Code (CST)

Indicates the tax status of the operation for the determination of the IBS and CBS taxes by the tax authorities. Maps to the CST field in the NFS-e national layout. List of possible values:
Pattern: ^\d{3}$

Tax Classification Code

Indicates the tax classification code for the determination of the IBS and CBS taxes by the tax authorities. Maps to the cClassTrib field in the NFS-e national layout. List of possible values:
Pattern: ^\d{6}$

Validation Rules