feat: implement opportunity-scoped Modelo A acquisitions in QA

This commit is contained in:
2026-10-24 12:13:57 +02:00
parent 355656b5c8
commit d18ff0f049
14 changed files with 731 additions and 4 deletions
@@ -2375,5 +2375,245 @@
"not_full_all_tax_completion": true,
"next_fiscal_batch": "Scope from attached models; no automatic new tax/rule activation",
"statistics_and_AI": "remain deferred"
},
"modelo_a_next_scope_20261024": {
"status": "analysis and proposal only",
"preserved_closure": {
"revision": "cd10cccb",
"receipt": "355656b5",
"balance": 0
},
"inventory": [
{
"folder": "Notas",
"name": "Estamos a gerar um problema.docx",
"bytes": 28938,
"sha256": "aa589574f7e581ca0e41df1a690a60379062879fed04ce765b827b9965047e44",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "INVESTEMOZ Ibane.docx",
"bytes": 144410,
"sha256": "c5252af6dfa38558b638fafcf726658bb10edabe92939a2f97f5862003f6bed9",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "investimentos nos corredores.docx",
"bytes": 21595,
"sha256": "1473b06c48aa234e771660e3f2a51b9d2e4e1943bd52d878e0ae854ee6657055",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "Neste momento.docx",
"bytes": 19639,
"sha256": "e6166411122a12089da1cb4436c6a2322338467dbd46ea4e57aee0015a49902c",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "nota 1.docx",
"bytes": 25488,
"sha256": "7037ff6d968aa8f756a74adad76758b64ba54d786726aac9e0c7a54ecdc225da",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "Novo Modelo A v1.docx",
"bytes": 532100,
"sha256": "63d45fa80db17a60b43619d55a25813229d670d14c758273f86316285db8e02b",
"use": "comparison with accepted reconciliation and current code",
"embedded_form_sha256": "7ae7f02efca96323087d0dfa5f3078b4ae724318edd5b6c4802c863d840bdf66"
},
{
"folder": "Notas",
"name": "Novo Modelo A.docx",
"bytes": 532008,
"sha256": "62c198e90d8c6792f7d5ccefc6386df2e4b6089573067d3a6e1eae7fc2b9572b",
"use": "comparison with accepted reconciliation and current code",
"embedded_form_sha256": "7ae7f02efca96323087d0dfa5f3078b4ae724318edd5b6c4802c863d840bdf66"
},
{
"folder": "Notas",
"name": "PROVÍNCIA DE INHAMBANE v1.docx",
"bytes": 109317,
"sha256": "32c6ab160c5028f3084d23b2173ce3cfe6dddba0715d1228da6bd9380247f486",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "PROVÍNCIA DE INHAMBANE.docx",
"bytes": 108584,
"sha256": "9f628cd57eb860433f36058b299660834e9052d07e1f7ca99f68f1d1cfdc9d72",
"use": "inventory only"
},
{
"folder": "Notas",
"name": "~$OVÍNCIA DE INHAMBANE.docx",
"bytes": 162,
"sha256": "7c2c7731b5ef1023fa980c582051296bf2b5e75a8645113368c2aa9bf34cf12f",
"use": "temporary or lock file; not a source exemplar"
},
{
"folder": "Notas",
"name": "~$tamos a gerar um problema.docx",
"bytes": 162,
"sha256": "e726ad6723df9f664121d97e18854466b30efd24a1f8efab0a7945cbecf7059b",
"use": "temporary or lock file; not a source exemplar"
},
{
"folder": "Notas",
"name": "~$VESTEMOZ Ibane.docx",
"bytes": 162,
"sha256": "9e71bcb8ded90236b2ca70f10937b758eacc0e924cf89d46ba73f1540d6f3132",
"use": "temporary or lock file; not a source exemplar"
},
{
"folder": "Notas",
"name": "~$vestimentos nos corredores.docx",
"bytes": 162,
"sha256": "2b19e4a708c934710926f0dc5da74b785787d4818500e9c1d43359e06ffb9b57",
"use": "temporary or lock file; not a source exemplar"
},
{
"folder": "Notas",
"name": "~WRL2857.tmp",
"bytes": 143261,
"sha256": "85ed72087b6b670292e81c83a455a264a9c4cf2b36ee12807379d475358b3577",
"use": "temporary or lock file; not a source exemplar"
},
{
"folder": "Modelos",
"name": "Cópia de IRPS-IMOP.xlsx",
"bytes": 277846,
"sha256": "1ceca6f4c6d77853c1b2b445876599b42093175fa89eecf40590180956d83a9e",
"use": "inventory only"
},
{
"folder": "Modelos",
"name": "IRPC M-22- DECLARACAO DE RENDIMENTOS.pdf",
"bytes": 109727,
"sha256": "4b61bd83d1fbcfd3b7b5c5523cea5923f7d0f65dc4c004eff58e5db38f763c88",
"use": "inventory only"
},
{
"folder": "Modelos",
"name": "IRPC_IRPS.xlsx",
"bytes": 115701,
"sha256": "fd5ddb07392bcad1313a76ae85603169a56eeecd9ac6fa4a1be12cee909c6260",
"use": "inventory only"
},
{
"folder": "Modelos",
"name": "VAT Return.pdf",
"bytes": 285479,
"sha256": "9c0b99a810c7db53eb75d63c22ee22fb86a50ba57bd5509041ed80ee10f75741",
"use": "compared visually against both DOCX, 24/10; originals unchanged"
},
{
"folder": "Modelos",
"name": "~$IRPC_IRPS.xlsx",
"bytes": 165,
"sha256": "5a6f905aea475f25f054b0e13e4b2c8b955b7097789fcc3ca24ac2dd0b0bb284",
"use": "temporary or lock file; not a source exemplar"
}
],
"source_folders": "Tempo portal Notes and Modelos; originals read only, no import or publication",
"comparison": "docs/investmoz/simulations/modelo-a-reconciliacao-20261021.md",
"new_calculations_activated": false,
"irpc_irps": "inventoried, not implemented or validated as rules"
},
"modelo_a_acquisitions_qa_20261024": {
"status": "implemented and demonstrated in isolated QA; not integrated/deployed",
"base": "355656b5",
"preserved_homologation": "cd10cccb",
"preserved_receipt": "355656b5",
"stabilization_reference": "276d833a",
"scope": [
"domestic general MZN 2026 acquisitions08-10",
"conditional totals14-18",
"private opportunity-scoped draft and frozen report"
],
"document_comparison": {
"file": "VAT Return.pdf",
"sha256": "9c0b99a810c7db53eb75d63c22ee22fb86a50ba57bd5509041ed80ee10f75741",
"pages": 2,
"08_10_14_18": "same fields and formulas as both DOCX; no substantive difference identified in this scope",
"prefilled_values": "initial/within deadline and Maputo, not inherited",
"remaining_divergences": "regularization and credit numbering; refund article; only dependent future rules affected"
},
"proofs": {
"frontend_tests": 11,
"api_tests": 2,
"api_assertions": 19,
"database": "simulator_fiscal_delta_20261021_test:55441",
"qa_transactions": "rolled back",
"tax_rule_fingerprint": "unchanged",
"ui_second_field17": "128.0048",
"ui_first_field17_preserved": "144.0048",
"ui_to_api_report": "exact calculated payload downloaded from UI, saved/recovered through real private QA API; report without recalculation",
"types": "passed",
"build": "passed",
"pdf_pages": 6,
"pdf_visual": "all six reviewed, no clipping or overlap",
"files": {
"acquisitions-final.csv": {
"bytes": 15092,
"sha256": "3a988f8c097a0e0b8364f09b8451347679447f0cf0866485530881e229e3b511"
},
"acquisitions-final.docx": {
"bytes": 14283,
"sha256": "3aa9a9e45adaaae86368b2aa39d621b3fef82c2384759e5cb1618ffe360ea6af"
},
"acquisitions-final.html": {
"bytes": 14995,
"sha256": "966e5d89916f6e51ad916cbb42e5d363e6ca55d595bb6ac440a3517c879076a2"
},
"acquisitions-final.pdf": {
"bytes": 121359,
"sha256": "4b42456d5b2f52c48c7a08dda6c37c82bedfb653850864f902731845b28c34ba"
}
},
"order_vs_invoice_period": "order month preserved as origin, invoice/deduction month independent; directed test passed"
},
"limits": [
"projection and effective data are user-declared, not certification or AT submission",
"full taxable use and same invoice/deduction period only",
"outside-scope fields remain indeterminate unless explicit absence of operations",
"visual harness stores locally; real private server persistence proven separately with identical payload",
"IRPC/IRPS inventory only; no implementation"
],
"source_files": [
{
"path": "resources/js/lib/iva-acquisitions.ts",
"sha256": "c437ae4f218e6be1131fe05cd4bba0b7cc9c8d605803a418a9a035af32fb8432"
},
{
"path": "resources/js/components/simulation-acquisitions.tsx",
"sha256": "bb1c5dbecb2e00f1711397291b44b8bd78f8ae8f56c02c580f4fa68156a52013"
},
{
"path": "resources/js/lib/iva-modelo-a.ts",
"sha256": "c641619a05613c1620385baad0e9ffbf810dd970aafb30e12b3a7f9a3bf11846"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256": "db04651d99293b61dec9b94e9aaef28df5cb8d3cefc5e2cb3ebd2fe01ebd33d3"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256": "22348747ce791f378dc42def531e6a0c22dea917f9ed0ccae4880fac104b0c09"
},
{
"path": "app/Http/Requests/StoreSimulationFormDraftRequest.php",
"sha256": "a75ed84f613a061775383836d9e0999a78b5ee150f548c9ee4313a795f4fff6b"
},
{
"path": "resources/js/components/simulation-modelo-a.tsx",
"sha256": "cf5b09b125fc7cd4c53105c2e67acf39d0e998a6c46c2f447a9f716445994e84"
}
]
}
}