docs(iva): record G6D P048 three treatments QA and preserved 72 closures

This commit is contained in:
2026-10-24 19:55:26 +02:00
parent 0eb37ef59b
commit e384418ecc
6 changed files with 546 additions and 2 deletions
@@ -13846,5 +13846,222 @@
},
"rollback_executed": false
}
},
"iva_l1_g6d_P048_import_customs_QA_demonstrated_20261024": {
"key": "iva_l1_g6d_P048_import_customs_QA_demonstrated_20261024",
"status": "demonstrated_QA_not_installed",
"candidate": "0eb37ef59b9b65837e6791518b378fe4e64ca112",
"base": "2ed62165",
"homologation": "d46b794a/2ed62165",
"group": "G6D",
"branches": {
"AUD-SIM-L1-P048": [
"customs_transit_import",
"customs_temporary_import",
"customs_drawback_import"
]
},
"branch_count": 1,
"treatment_count": 3,
"source": {
"reference": "CIVA12(1)(c),Lei13/2016PDF11/p1426(269),full-page visual proof G6A reused;2022PDF2/p2252(26) and2025PDF13/p2180(13) retain c by reference;no new expanded wording used",
"acceptance": "Tempo08/10/2026;no generic authenticity/legal revalidation",
"archive": [
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-16-I-Serie-2008-04-16.pdf",
"sha256": "fc373ff5637edf75ec6a9595dec8763a8503d4ee786e3b7d8f1c742eae9d80ee",
"pages": 28
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-248-I-Suplemento-1-2025.pdf",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251",
"pages": 21
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-89-I-Serie-2017-06-08.pdf",
"sha256": "11f0cab15eb6e51010952203ffa24fdc533a24fd642e19525fe4f46b17a1f5e5",
"pages": 16
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-95-I-Suplemento-2025-05-21.pdf",
"sha256": "e0e682e2c027c3cd9c1d46a73a3f48bc5f6bdbf05667fd97314d7a3f6a456358",
"pages": 2
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\Lei-13-2016-CIVA-BR-156-10-suplemento.pdf",
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b",
"pages": 32
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\Lei-22-2022-IVA-republicada-BR-250-2-suplemento.pdf",
"sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"pages": 18
}
],
"existing_corpus_references": [
"docs/investmoz/document-corpus-inventory-2026-10-06.csv",
"docs/investmoz/fiscal-source-references-2026-10-06.csv"
],
"scope_lookup_2020": {
"URL": "https://www.inm.gov.mz/pt-br/content/assembleia-da-rep%C3%BAblica-suplemento-n%C2%BA-1-de-231220-pag-2414-1-20-br-n%C2%BA-246-boletim-da",
"scope": "Official INM index identifies Lei16/2020 as altering9(13),not12(1)(c)",
"retrieval": "Index search text read;direct page timeout and two official PDF download attempts failed;no fullPDF obtained or claimed",
"use": "scope lookup for an existing reference;not a second authenticity approval and not the operative text of12(1)(c)"
}
},
"preservation": {
"base": "2ed62165b7a5b7e0a836db350fb39ace6453fed5",
"delivered_ids": [
"AUD-SIM-L1-P003",
"AUD-SIM-L1-P004",
"AUD-SIM-L1-P005",
"AUD-SIM-L1-P006",
"AUD-SIM-L1-P007",
"AUD-SIM-L1-P008",
"AUD-SIM-L1-P009",
"AUD-SIM-L1-P010",
"AUD-SIM-L1-P011",
"AUD-SIM-L1-P012",
"AUD-SIM-L1-P013",
"AUD-SIM-L1-P014",
"AUD-SIM-L1-P015",
"AUD-SIM-L1-P016",
"AUD-SIM-L1-P017",
"AUD-SIM-L1-P018",
"AUD-SIM-L1-P019",
"AUD-SIM-L1-P020",
"AUD-SIM-L1-P021",
"AUD-SIM-L1-P022",
"AUD-SIM-L1-P023",
"AUD-SIM-L1-P024",
"AUD-SIM-L1-P025",
"AUD-SIM-L1-P026",
"AUD-SIM-L1-P027",
"AUD-SIM-L1-P028",
"AUD-SIM-L1-P029",
"AUD-SIM-L1-P030",
"AUD-SIM-L1-P031",
"AUD-SIM-L1-P032",
"AUD-SIM-L1-P033",
"AUD-SIM-L1-P034",
"AUD-SIM-L1-P035",
"AUD-SIM-L1-P036",
"AUD-SIM-L1-P037",
"AUD-SIM-L1-P038",
"AUD-SIM-L1-P039",
"AUD-SIM-L1-P040",
"AUD-SIM-L1-P041",
"AUD-SIM-L1-P042",
"AUD-SIM-L1-P043",
"AUD-SIM-L1-P044",
"AUD-SIM-L1-P045",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P061",
"AUD-SIM-L1-P062",
"AUD-SIM-L1-P063",
"AUD-SIM-L1-P064",
"AUD-SIM-L1-P065",
"AUD-SIM-L1-P066",
"AUD-SIM-L1-P067",
"AUD-SIM-L1-P068",
"AUD-SIM-L1-P069",
"AUD-SIM-L1-P070",
"AUD-SIM-L1-P071",
"AUD-SIM-L1-P072",
"AUD-SIM-L1-P073",
"AUD-SIM-L1-P074",
"AUD-SIM-L1-P075",
"AUD-SIM-L1-P076",
"AUD-SIM-L1-P077",
"AUD-SIM-L1-P078",
"AUD-SIM-L1-P079",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086"
],
"confirmed_losses": [],
"accepted_active_receipt": "l1-g6c-delivery-20261024.json;d46b794a/2ed62165;174tables/369files/29published/28relations/408geometries;no schema/content/permissions changes",
"frozen_fixture_sha256": "ac5f1b23de6b3e13c9b0e116b435c389d8147d5f4145b19dc234bf79596c5db6",
"sales_books": 20,
"purchase_books": 1,
"import_books": 3,
"import_histories": {
"opportunity:330": 3,
"opportunity:331": 4,
"opportunity:332": 4
},
"preserved_open": [
"P080",
"P084",
"P085"
],
"counts": {
"delivered": 72,
"QA": 0,
"functional_pending": 60,
"documentary": 1,
"total": 133
}
},
"tests": {
"frontend_new": 4,
"existing_import_suites": 13,
"frontend_total": 17,
"API_tests": 1,
"API_assertions": 25,
"QA_database": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"types": "passed",
"production_build": "passed;existing plugin timing warnings",
"QA_build": "passed;existing chunk warning",
"QA_storage": "save/recover/reject and split-multibyte UTF8 boundary passed;inherited Buffer concatenation preserved",
"UI": {
"actor": "Codex",
"method": "Edge/CUA observed",
"URL": "http://127.0.0.1:18645/g6d.html",
"observed": [
"three treatments mapped to one ID",
"full customs duty exemption unknown ->indeterminate;negative ->nonapplication;affirmative with own regime ->exempt0.00",
"switch transit to temporary import ->own regime condition unknown,previous answers retained;return ->transit response restored",
"5000MZN/document/2026-12 conserved",
"save/recover/report ->P048/three treatments,Manica,opportunity333,source12(1)(c)",
"four previous new-book UI results;all24acceptedbooks identical"
],
"manual_Tempo_reply": null,
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6d-imports-20261024\\qa-recovered-report.png",
"screenshot_sha256": "fadcff5be7c2a7a768a87531fefab15d189f87c9181e60fc2c794b4a5a01ae8c"
},
"Word_PDF": "Existing exporter proofs reused;no new pagination claim"
},
"implementation": {
"existing_snapshot_key": "importExemptions",
"no_schema_change": true,
"scoped_version": "import-customs-regimes/1 only for selected customs import treatments;G6A/G6B/G6C keys/source remain unchanged",
"regime_confirmations": "transit/temporary/drawback have distinct keys;fullCustomsExemption differs from P049 customsExempt;partial relief or suspension cannot satisfy total exemption",
"legacy_books": "20sales,1purchase and3importbooks identical/current without recalculation",
"history": "explicit classification archives previous result;edits keep earlier version",
"not_applicable_UI": "only conditions for selected customs regime;hidden answers retained",
"field11": "no deduction or ModeloA totals populated by classification",
"rollback": "l1-g6d-readonly-rollback-20261024.patch checked,not applied;readers/history/reports retained"
},
"counts": {
"delivered": 72,
"QA": 1,
"functional_pending": 59,
"documentary": 1,
"total": 133
},
"G6": {
"delivered": 6,
"QA": 1,
"functional_pending": 8
},
"limits": "2026/MZN;P048/12(1)(c),trânsito/importação temporária/draubaque com isenção total de direitos,sem baseaduaneira,cálculo de direitosL13,saída de regime,dedução/campo11L2,taxa normal presumida,apuramento integral ou submissãoAT. Não confundir com vendas em regimeG5/P083. P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas."
}
}
@@ -0,0 +1,217 @@
{
"key": "iva_l1_g6d_P048_import_customs_QA_demonstrated_20261024",
"status": "demonstrated_QA_not_installed",
"candidate": "0eb37ef59b9b65837e6791518b378fe4e64ca112",
"base": "2ed62165",
"homologation": "d46b794a/2ed62165",
"group": "G6D",
"branches": {
"AUD-SIM-L1-P048": [
"customs_transit_import",
"customs_temporary_import",
"customs_drawback_import"
]
},
"branch_count": 1,
"treatment_count": 3,
"source": {
"reference": "CIVA12(1)(c),Lei13/2016PDF11/p1426(269),full-page visual proof G6A reused;2022PDF2/p2252(26) and2025PDF13/p2180(13) retain c by reference;no new expanded wording used",
"acceptance": "Tempo08/10/2026;no generic authenticity/legal revalidation",
"archive": [
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-16-I-Serie-2008-04-16.pdf",
"sha256": "fc373ff5637edf75ec6a9595dec8763a8503d4ee786e3b7d8f1c742eae9d80ee",
"pages": 28
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-248-I-Suplemento-1-2025.pdf",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251",
"pages": 21
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-89-I-Serie-2017-06-08.pdf",
"sha256": "11f0cab15eb6e51010952203ffa24fdc533a24fd642e19525fe4f46b17a1f5e5",
"pages": 16
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\BR-95-I-Suplemento-2025-05-21.pdf",
"sha256": "e0e682e2c027c3cd9c1d46a73a3f48bc5f6bdbf05667fd97314d7a3f6a456358",
"pages": 2
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\Lei-13-2016-CIVA-BR-156-10-suplemento.pdf",
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b",
"pages": 32
},
{
"file": "docs\\investmoz\\simulations\\source-archive\\Lei-22-2022-IVA-republicada-BR-250-2-suplemento.pdf",
"sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"pages": 18
}
],
"existing_corpus_references": [
"docs/investmoz/document-corpus-inventory-2026-10-06.csv",
"docs/investmoz/fiscal-source-references-2026-10-06.csv"
],
"scope_lookup_2020": {
"URL": "https://www.inm.gov.mz/pt-br/content/assembleia-da-rep%C3%BAblica-suplemento-n%C2%BA-1-de-231220-pag-2414-1-20-br-n%C2%BA-246-boletim-da",
"scope": "Official INM index identifies Lei16/2020 as altering9(13),not12(1)(c)",
"retrieval": "Index search text read;direct page timeout and two official PDF download attempts failed;no fullPDF obtained or claimed",
"use": "scope lookup for an existing reference;not a second authenticity approval and not the operative text of12(1)(c)"
}
},
"preservation": {
"base": "2ed62165b7a5b7e0a836db350fb39ace6453fed5",
"delivered_ids": [
"AUD-SIM-L1-P003",
"AUD-SIM-L1-P004",
"AUD-SIM-L1-P005",
"AUD-SIM-L1-P006",
"AUD-SIM-L1-P007",
"AUD-SIM-L1-P008",
"AUD-SIM-L1-P009",
"AUD-SIM-L1-P010",
"AUD-SIM-L1-P011",
"AUD-SIM-L1-P012",
"AUD-SIM-L1-P013",
"AUD-SIM-L1-P014",
"AUD-SIM-L1-P015",
"AUD-SIM-L1-P016",
"AUD-SIM-L1-P017",
"AUD-SIM-L1-P018",
"AUD-SIM-L1-P019",
"AUD-SIM-L1-P020",
"AUD-SIM-L1-P021",
"AUD-SIM-L1-P022",
"AUD-SIM-L1-P023",
"AUD-SIM-L1-P024",
"AUD-SIM-L1-P025",
"AUD-SIM-L1-P026",
"AUD-SIM-L1-P027",
"AUD-SIM-L1-P028",
"AUD-SIM-L1-P029",
"AUD-SIM-L1-P030",
"AUD-SIM-L1-P031",
"AUD-SIM-L1-P032",
"AUD-SIM-L1-P033",
"AUD-SIM-L1-P034",
"AUD-SIM-L1-P035",
"AUD-SIM-L1-P036",
"AUD-SIM-L1-P037",
"AUD-SIM-L1-P038",
"AUD-SIM-L1-P039",
"AUD-SIM-L1-P040",
"AUD-SIM-L1-P041",
"AUD-SIM-L1-P042",
"AUD-SIM-L1-P043",
"AUD-SIM-L1-P044",
"AUD-SIM-L1-P045",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P061",
"AUD-SIM-L1-P062",
"AUD-SIM-L1-P063",
"AUD-SIM-L1-P064",
"AUD-SIM-L1-P065",
"AUD-SIM-L1-P066",
"AUD-SIM-L1-P067",
"AUD-SIM-L1-P068",
"AUD-SIM-L1-P069",
"AUD-SIM-L1-P070",
"AUD-SIM-L1-P071",
"AUD-SIM-L1-P072",
"AUD-SIM-L1-P073",
"AUD-SIM-L1-P074",
"AUD-SIM-L1-P075",
"AUD-SIM-L1-P076",
"AUD-SIM-L1-P077",
"AUD-SIM-L1-P078",
"AUD-SIM-L1-P079",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086"
],
"confirmed_losses": [],
"accepted_active_receipt": "l1-g6c-delivery-20261024.json;d46b794a/2ed62165;174tables/369files/29published/28relations/408geometries;no schema/content/permissions changes",
"frozen_fixture_sha256": "ac5f1b23de6b3e13c9b0e116b435c389d8147d5f4145b19dc234bf79596c5db6",
"sales_books": 20,
"purchase_books": 1,
"import_books": 3,
"import_histories": {
"opportunity:330": 3,
"opportunity:331": 4,
"opportunity:332": 4
},
"preserved_open": [
"P080",
"P084",
"P085"
],
"counts": {
"delivered": 72,
"QA": 0,
"functional_pending": 60,
"documentary": 1,
"total": 133
}
},
"tests": {
"frontend_new": 4,
"existing_import_suites": 13,
"frontend_total": 17,
"API_tests": 1,
"API_assertions": 25,
"QA_database": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"types": "passed",
"production_build": "passed;existing plugin timing warnings",
"QA_build": "passed;existing chunk warning",
"QA_storage": "save/recover/reject and split-multibyte UTF8 boundary passed;inherited Buffer concatenation preserved",
"UI": {
"actor": "Codex",
"method": "Edge/CUA observed",
"URL": "http://127.0.0.1:18645/g6d.html",
"observed": [
"three treatments mapped to one ID",
"full customs duty exemption unknown ->indeterminate;negative ->nonapplication;affirmative with own regime ->exempt0.00",
"switch transit to temporary import ->own regime condition unknown,previous answers retained;return ->transit response restored",
"5000MZN/document/2026-12 conserved",
"save/recover/report ->P048/three treatments,Manica,opportunity333,source12(1)(c)",
"four previous new-book UI results;all24acceptedbooks identical"
],
"manual_Tempo_reply": null,
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6d-imports-20261024\\qa-recovered-report.png",
"screenshot_sha256": "fadcff5be7c2a7a768a87531fefab15d189f87c9181e60fc2c794b4a5a01ae8c"
},
"Word_PDF": "Existing exporter proofs reused;no new pagination claim"
},
"implementation": {
"existing_snapshot_key": "importExemptions",
"no_schema_change": true,
"scoped_version": "import-customs-regimes/1 only for selected customs import treatments;G6A/G6B/G6C keys/source remain unchanged",
"regime_confirmations": "transit/temporary/drawback have distinct keys;fullCustomsExemption differs from P049 customsExempt;partial relief or suspension cannot satisfy total exemption",
"legacy_books": "20sales,1purchase and3importbooks identical/current without recalculation",
"history": "explicit classification archives previous result;edits keep earlier version",
"not_applicable_UI": "only conditions for selected customs regime;hidden answers retained",
"field11": "no deduction or ModeloA totals populated by classification",
"rollback": "l1-g6d-readonly-rollback-20261024.patch checked,not applied;readers/history/reports retained"
},
"counts": {
"delivered": 72,
"QA": 1,
"functional_pending": 59,
"documentary": 1,
"total": 133
},
"G6": {
"delivered": 6,
"QA": 1,
"functional_pending": 8
},
"limits": "2026/MZN;P048/12(1)(c),trânsito/importação temporária/draubaque com isenção total de direitos,sem baseaduaneira,cálculo de direitosL13,saída de regime,dedução/campo11L2,taxa normal presumida,apuramento integral ou submissãoAT. Não confundir com vendas em regimeG5/P083. P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas."
}
@@ -0,0 +1,78 @@
{
"status": "QA_demonstrated_delivery_prepared_not_installed",
"candidate": "0eb37ef59b9b65837e6791518b378fe4e64ca112",
"base": "2ed62165",
"last_known_remote_main": "d46b794a",
"coverage": {
"AUD-SIM-L1-P048": [
"customs_transit_import",
"customs_temporary_import",
"customs_drawback_import"
]
},
"branch_count": 1,
"treatment_count": 3,
"runtime_delta": [
{
"path": "resources/js/lib/iva-import-exemptions.ts",
"sha256_LF": "cb44f9b7199e6b29cba251d387ef0d626f063c49480cd2b03dd9a7334e4862b2"
},
{
"path": "resources/js/components/simulation-import-exemptions.tsx",
"sha256_LF": "c4fb7c421e0f33e8d76997be966689a3f58cc66d21abb65663a58a2704607f18"
}
],
"counts_current": {
"delivered": 72,
"QA": 1,
"functional_pending": 59,
"documentary": 1,
"total": 133
},
"counts_after_delivery_only": {
"delivered": 73,
"QA": 0,
"functional_pending": 59,
"documentary": 1,
"total": 133
},
"proofs_reused": {
"frontend_new": 4,
"existing_import_suites": 13,
"frontend_total": 17,
"API_tests": 1,
"API_assertions": 25,
"QA_database": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"types": "passed",
"production_build": "passed;existing plugin timing warnings",
"QA_build": "passed;existing chunk warning",
"QA_storage": "save/recover/reject and split-multibyte UTF8 boundary passed;inherited Buffer concatenation preserved",
"UI": {
"actor": "Codex",
"method": "Edge/CUA observed",
"URL": "http://127.0.0.1:18645/g6d.html",
"observed": [
"three treatments mapped to one ID",
"full customs duty exemption unknown ->indeterminate;negative ->nonapplication;affirmative with own regime ->exempt0.00",
"switch transit to temporary import ->own regime condition unknown,previous answers retained;return ->transit response restored",
"5000MZN/document/2026-12 conserved",
"save/recover/report ->P048/three treatments,Manica,opportunity333,source12(1)(c)",
"four previous new-book UI results;all24acceptedbooks identical"
],
"manual_Tempo_reply": null,
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6d-imports-20261024\\qa-recovered-report.png",
"screenshot_sha256": "fadcff5be7c2a7a768a87531fefab15d189f87c9181e60fc2c794b4a5a01ae8c"
},
"Word_PDF": "Existing exporter proofs reused;no new pagination claim"
},
"rollback": "l1-g6d-readonly-rollback-20261024.patch checked;not applied",
"backup_restore": "Fresh authenticated destination/main read,backup and real isolated restore required before installation;accepted G6C receipt is preservation context only",
"activation": "Existing normal Git FF/webhook/installer;no push or installation in QA passage",
"served_revision_and_delta": "pending delivery;homologation remainsd46b794a",
"limits": "2026/MZN;P048/12(1)(c),trânsito/importação temporária/draubaque com isenção total de direitos,sem baseaduaneira,cálculo de direitosL13,saída de regime,dedução/campo11L2,taxa normal presumida,apuramento integral ou submissãoAT. Não confundir com vendas em regimeG5/P083. P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"L1_complete": false,
"P001": "05/06 only",
"beverages": "L2/L3;not closed",
"statistics_AI": "deferred"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-import-exemptions.ts
+++ b/resources/js/lib/iva-import-exemptions.ts
@@ -71,6 +71,7 @@
}
export function importExemptionCurrent(draft:Record<string,unknown>,book:ImportExemptionBook):boolean {return !!book.result&&book.result.sourceKey===key(draft,book);}
export function recordImportExemptions(draft:Record<string,unknown>,book:ImportExemptionBook):ImportExemptionBook {
+ throw new Error('Novas classificacoes de importacao temporariamente suspensas; resultados guardados e relatorios disponiveis.');
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique importações com identificadores distintos; versões anteriores conservadas.');
const result:ImportExemptionCalculation={version:importExemptionVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:[...new Set(book.rows.map(row=>importRuleSource(row.treatment)))].join(' | '),inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateImportExemption(row,draft.currency))};
return {...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};