Fiscal Operations
A Fiscal Operation is the nature of a transaction — is this a domestic sale, a sale across a state line, an export? It’s a small idea with big consequences, because in some countries the same goods are taxed completely differently depending on the answer.
A Fiscal Operation is normally selected automatically from the Entity and Account jurisdiction records and the sale or purchase direction. An operation explicitly supplied on the document can take precedence. Check that selection with your approved configuration; it is not determined by splitting jurisdiction codes.
Access you'll need. Setting up and maintaining fiscal operations requires the Accounting Admin v2 or Accounting Controller v2 permission set. The Accounts Payable v2, Accounts Receivable v2, and Read Only v2 sets can view them but not change them.
How the operation is selected
First, review Tax Jurisdiction on the document's Entity and customer/vendor Account. The engine follows those records' parent chains. The highest ancestor with a populated Country Code supplies the country; the nearest record at Level = State/Province supplies the state identity. See jurisdiction setup and the legacy re-save check.
| Structured comparison | Automatic direction/flag |
|---|---|
| Same country, same state record | Sale or Purchase; not interstate |
| Same country, different state records | Sale or Purchase; interstate |
| Same country, either side has no State/Province ancestor | Sale or Purchase; not interstate |
| Different resolved countries | Export on sales; Import on purchases |
| Country cannot be resolved | No automatic operation from the unresolved relationship |
The engine searches active operation records using the entity's resolved country, Transaction Type and the applicable Is Interstate flag. It selects a record automatically only when there is exactly one candidate. When no country-scoped candidates exist it can use a unique unscoped operation; multiple country-scoped candidates do not fall through to a global default. A jurisdiction comparison alone therefore cannot select one CFOP from several otherwise matching operations.
Administrator check: open Fiscal Operations, review active records for that country and direction, and compare Country Scope, Transaction Type and Is Interstate. If the business needs multiple valid operations, review the explicit Fiscal Operation on the document with the configuration owner. Do not deactivate valid business operations just to force a selection. Save approved changes and check a draft tax preview before posting; an explicit choice is configuration, not proof of legal suitability.
The country examples below illustrate configured tax scenarios. They do not establish current legal rates or replace review of your own rules.
The fields — with Brazil values
Brazil is the right lens here, because the UK doesn’t use fiscal operations at all (more on that below). Here is every field with a real Brazilian value — the interstate manufactured-goods operation, whose code is a CFOP:
| Field | Type | Required | What it’s for | 🇧🇷 Example value |
|---|---|---|---|---|
| Code | Text · External ID | Yes | Match/seed key — in Brazil this is the CFOP | BR-6101 |
| Transaction Type | Picklist | Yes | Sale / Purchase / Sales Return / Purchase Return / Transfer / Import / Export / Intercompany | Sale |
| Is Interstate | Checkbox | No | Crosses a state line — the key flag for ICMS / IGST | true |
| Country Scope | Lookup (country jurisdiction) | No | Limits the operation to one country | BR |
| Description | Text Area | No | Plain-language meaning (shown on selection) | Sale of manufactured goods (interstate) |
| Is Active | Checkbox | No | Off → excluded from matching | true |
| Notes | Long Text | No | CFOP description, scenarios | NF-e CFOP 6.101 |
Brazil: where Code is the CFOP
Brazil’s tax documents (NF-e) legally require a CFOP — a four-digit code that classifies every operation. REDA models each CFOP as a Fiscal Operation whose Code carries it. The seed ships six:
| Code (CFOP) | Operation | Interstate? |
|---|---|---|
BR-5101 | Sale of manufactured goods | No (intrastate) |
BR-6101 | Sale of manufactured goods | Yes |
BR-5102 | Sale of purchased goods | No |
BR-6102 | Sale of purchased goods | Yes |
BR-6108 | Sale, Simples Nacional | Yes |
BR-5405 | Sale, ICMS Substituição Tributária | No |
Brazilian CFOPs follow a convention the codes echo: a 5 prefix is
intrastate, a 6 prefix is interstate — which lines up exactly with
the Is Interstate flag the engine reads.
Worked example: the state comparison and operation selection
A seller Entity linked to São Paulo and a customer linked to Rio de Janeiro both resolve to BR, but to different State/Province records. A sale is therefore domestic/interstate. A customer in a municipality under the same São Paulo state record gives domestic/intrastate instead.
For automatic selection, the configured active operations must supply one matching candidate. If BR-6101 and BR-6102 are both active with the same country, Sale type and interstate flag, that comparison does not choose between them. Review the document's explicit operation or the approved operation configuration. The selected operation then filters Tax Rules alongside product, party, registration and date conditions; neither the codes nor the interstate flag alone guarantee a rate or a fixed number of taxes.
Guardrails & setup
- Code is uppercase, no spaces — two validation rules enforce it (it’s an external ID, like jurisdiction and tax-type codes).
- Seeded for countries that need them. Brazil and India packs include fiscal operations; simple-VAT packs (UK) don’t. The Tax Seeding Wizard creates the right set per country.
- Is Interstate is the field that does the work for Brazil/India rate splits — set it correctly on each operation.
- Deactivate, don’t delete obsolete operations, to keep historical invoices intact.
Where to go next
- Tax Rules — where fiscal operations gate the rule.
- Tax Types — the taxes a fiscal operation selects.
- Brazil (ICMS, IPI, PIS/COFINS) — fiscal operations in real use.
- How Tax Calculates on a Document — how the operation is chosen at runtime.
Frequently asked questions
Normally the engine resolves it from structured jurisdiction records, sale/purchase direction and a unique matching active operation. A Fiscal Operation explicitly supplied on the document can take precedence. If several valid operations match, review the intended operation with your configuration owner.
No, that’s correct. UK VAT doesn’t vary by transaction nature, so its rules leave the fiscal-operation condition blank and always match. Fiscal operations are only needed where the tax depends on interstate/intrastate/export — Brazil and India.
Within the same resolved country, different State/Province ancestor records mean interstate; the same record means intrastate. If either side has no such ancestor, the domestic comparison is intrastate. Country comes from the highest populated Country Code in the hierarchy, not from code text. Foreign sales use Export and foreign purchases use Import.
Because Brazil legally requires a CFOP on every fiscal document. Modelling each CFOP as a Fiscal Operation (with the CFOP as its Code) means the right code is recorded and the right rules fire — the 5/6 prefix even mirrors the Is Interstate flag.
Was this article helpful?