Add 'fiscal/' from commit '102ba84500dbd9655a0471288c3e278652593ca9'

git-subtree-dir: fiscal
git-subtree-mainline: d95165fc8f
git-subtree-split: 102ba84500
This commit is contained in:
gti
2026-09-29 14:43:23 -03:00
868 changed files with 566394 additions and 0 deletions
@@ -0,0 +1,23 @@
# NEXT_FISCAL_AUTOMATION_PRIORITIES_V1
Generated by `scripts/run_fiscal_decision_v1.py` from `docs/FISCAL_DECISION_COVERAGE_V1.json` (521 products).
Ordering is mechanical: AUTO_APPLY_SAFE desc, CHANGE_REQUIRED desc, RESOLVED_PRODUCTS desc, candidates desc.
| FIELD | RESOLVED_PRODUCTS | CHANGE_REQUIRED | AUTO_APPLY_SAFE | CANDIDATES | OP_CONTEXT_REQUIRED | BLOCKER | NEXT_ACTION |
|---|---|---|---|---|---|---|---|
| NCM | 495 | 0 | 0 | 26 | 0 | NCM_VALID_SAME_VALUE | Review LEGACY/INVALID NCMs manually (no unambiguous successor); never auto-change. |
| IPI | 107 | 0 | 0 | 71 | 0 | TIPI_RATE_SOURCE_BLANK | Keep auto-apply; NON_NUMERIC/blank TIPI rows need a business decision on how ERP represents NT. |
| MVA | 31 | 0 | 0 | 237 | 0 | MVA_NOT_APPLICABLE_NO_BA_ANNEX1_ENTRY_FOR_NCM | Confirm CEST first; then identify the ERP destination field for MVA (none proven). |
| ORIGEM | 0 | 0 | 0 | 521 | 0 | ORIGIN_ONLY_FROM_ERP_CST_FIRST_DIGIT_NO_OBJECTIVE_PRODUCT_ORIGIN | Obtain objective product origin (supplier/import flag) before any write; ERP CST prefix is not proof. |
| EX_TIPI | 0 | 0 | 0 | 71 | 0 | NO_EX_TIPI_FOR_NCM | Propose only when a single concrete EX applies; needs product-description evidence. |
| CEST | 0 | 0 | 0 | 15 | 0 | CEST_DESCRIPTION_SCORE_BELOW_THRESHOLD | Improve description evidence per candidate group (do not lower threshold); manual review queue for candidates. |
| CFOP | 0 | 0 | 0 | 0 | 521 | CFOP_DEPENDS_ON_OPERATION_DIRECTION_UF_ST_PURPOSE | Requires operation context (direction, destination UF, ST, purpose) — capture it at document level. |
| COFINS_CST | 0 | 0 | 0 | 0 | 521 | CST_PIS_COFINS_DEPENDS_ON_OPERATION_AND_INCIDENCE_NO_DETERMINISTIC_RULE_IN_CORE_DATASETS | Same as PIS_CST. |
| CSOSN | 0 | 0 | 0 | 0 | 521 | CSOSN_DEPENDS_ON_SALE_SCENARIO_ST_RETENTION_CONSUMER | Requires sale scenario/ST retention context; consider per-product default review for ST-annex NCMs. |
| CST_ICMS | 0 | 0 | 0 | 0 | 521 | CRT1_USES_CSOSN_CST_DEPENDS_ON_OPERATION | Not used under CRT=1; only relevant if the client changes regime. |
| FCP | 0 | 0 | 0 | 0 | 521 | FCP_APPLICABILITY_DEPENDS_ON_DESTINATION_UF_OPERATION_AND_ITEM_LIST | Needs destination UF + operation + BA FCP item list per NCM. |
| PIS_COFINS_RATE | 0 | 0 | 0 | 0 | 0 | NO_RATE_SOURCE_4_3_10_17_DEFERRED_NEVER_ASSUME_ZERO | Needs source tables (deferred); never assume 0%. |
| PIS_CST | 0 | 0 | 0 | 0 | 521 | CST_PIS_COFINS_DEPENDS_ON_OPERATION_AND_INCIDENCE_NO_DETERMINISTIC_RULE_IN_CORE_DATASETS | Needs regime+incidence rule table (deferred 4.3.x) — measure need from client data first. |
| RTC_CBS_RATE | 0 | 0 | 0 | 0 | 521 | CBS_2026_RATE_APPLIES_ONLY_AFTER_CCLASSTRIB_RESOLVED_NOT_UNIVERSAL | Blocked by cClassTrib; apply 0.009 only where the official rule applies. |
| RTC_CCLASSTRIB | 0 | 0 | 0 | 0 | 521 | NO_NCM_TO_CCLASSTRIB_MAP_IN_ACTIVE_DATASETS_AND_DEPENDS_ON_OPERATION | Needs official NCM->annex/cClassTrib mapping (LC 214 annexes) — not in acquired datasets. |
| RTC_CCREDPRES | 0 | 0 | 0 | 0 | 0 | OFFICIAL_CONDITION_NOT_SATISFIED_OR_NOT_KNOWABLE_FROM_PRODUCT | Official conditions not derivable from product data. |