Files
Investidor-V2/docs/investmoz/simulations/irpc-l8-pec-qa-20261027.json
T

506 lines
16 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"date": "2026-10-27",
"status": "QA implemented, not installed",
"branch": "codex/irpc-l8-pec-qa-20261027",
"baseline": "dc14f01e1479f6bef48be60d2fbe961d9d445e0e",
"portal_reference_from_previous_receipt": "9fda6d6e12832a3cf25e7314f1f895dd430238c5",
"active_changed": false,
"main_changed": false,
"scope": {
"year": "2026",
"regime": "resident_general",
"currency": "MZN",
"period": "calendar",
"payment": "documented current-year PEC, available amount after prior use",
"deduction": "min(available selected PEC, valid collecta after preceding credits), before RF/PPC",
"special_credits": "only documented absent or known zero; positive/missing stays indeterminate",
"excess": "selected amount not deducted, no PEC refund or official carry created"
},
"examples": [
{
"case": "payable",
"status": "payable",
"balance": {
"numerator": "708",
"denominator": "1"
},
"pec": {
"version": "IRPC-PEC/1",
"available": {
"numerator": "200",
"denominator": "1"
},
"deducted": {
"numerator": "200",
"denominator": "1"
},
"remaining": {
"numerator": "0",
"denominator": "1"
},
"afterPec": {
"numerator": "1208",
"denominator": "1"
},
"source": "CIRPC, art. 66(1–2), Lei 34/2007, exemplar BR52, p. 768-(72): dedução após créditos anteriores, até à colecta, sem reembolso do PEC. Recorte demonstrado: pagamento efectivo do próprio exercício 2026, residente geral, ano civil, MZN. Não calcula a obrigação PEC, transporte, caducidade ou consumo de saldos oficiais.",
"officialBalancesConsumed": false,
"carryCreated": false
},
"rows": 7,
"history": 0,
"apiRoundTrip": true,
"current": true,
"dossier": true
},
{
"case": "capped",
"status": "balanced",
"balance": {
"numerator": "0",
"denominator": "1"
},
"pec": {
"version": "IRPC-PEC/1",
"available": {
"numerator": "2000",
"denominator": "1"
},
"deducted": {
"numerator": "1408",
"denominator": "1"
},
"remaining": {
"numerator": "592",
"denominator": "1"
},
"afterPec": {
"numerator": "0",
"denominator": "1"
},
"source": "CIRPC, art. 66(1–2), Lei 34/2007, exemplar BR52, p. 768-(72): dedução após créditos anteriores, até à colecta, sem reembolso do PEC. Recorte demonstrado: pagamento efectivo do próprio exercício 2026, residente geral, ano civil, MZN. Não calcula a obrigação PEC, transporte, caducidade ou consumo de saldos oficiais.",
"officialBalancesConsumed": false,
"carryCreated": false
},
"rows": 6,
"history": 1,
"apiRoundTrip": true,
"current": true,
"dossier": true
},
{
"case": "recoverable",
"status": "recoverable",
"balance": {
"numerator": "-500",
"denominator": "1"
},
"pec": {
"version": "IRPC-PEC/1",
"available": {
"numerator": "2000",
"denominator": "1"
},
"deducted": {
"numerator": "1408",
"denominator": "1"
},
"remaining": {
"numerator": "592",
"denominator": "1"
},
"afterPec": {
"numerator": "0",
"denominator": "1"
},
"source": "CIRPC, art. 66(1–2), Lei 34/2007, exemplar BR52, p. 768-(72): dedução após créditos anteriores, até à colecta, sem reembolso do PEC. Recorte demonstrado: pagamento efectivo do próprio exercício 2026, residente geral, ano civil, MZN. Não calcula a obrigação PEC, transporte, caducidade ou consumo de saldos oficiais.",
"officialBalancesConsumed": false,
"carryCreated": false
},
"rows": 7,
"history": 1,
"apiRoundTrip": true,
"current": true,
"dossier": true
},
{
"case": "missing",
"status": "indeterminate",
"balance": null,
"pec": {
"version": "IRPC-PEC/1",
"available": {
"numerator": "0",
"denominator": "1"
},
"deducted": null,
"remaining": null,
"afterPec": null,
"source": "CIRPC, art. 66(1–2), Lei 34/2007, exemplar BR52, p. 768-(72): dedução após créditos anteriores, até à colecta, sem reembolso do PEC. Recorte demonstrado: pagamento efectivo do próprio exercício 2026, residente geral, ano civil, MZN. Não calcula a obrigação PEC, transporte, caducidade ou consumo de saldos oficiais.",
"officialBalancesConsumed": false,
"carryCreated": false
},
"rows": 7,
"history": 1,
"apiRoundTrip": true,
"current": true,
"dossier": true
},
{
"case": "prior-use",
"status": "payable",
"balance": {
"numerator": "1208",
"denominator": "1"
},
"pec": {
"version": "IRPC-PEC/1",
"available": {
"numerator": "200",
"denominator": "1"
},
"deducted": {
"numerator": "200",
"denominator": "1"
},
"remaining": {
"numerator": "0",
"denominator": "1"
},
"afterPec": {
"numerator": "1208",
"denominator": "1"
},
"source": "CIRPC, art. 66(1–2), Lei 34/2007, exemplar BR52, p. 768-(72): dedução após créditos anteriores, até à colecta, sem reembolso do PEC. Recorte demonstrado: pagamento efectivo do próprio exercício 2026, residente geral, ano civil, MZN. Não calcula a obrigação PEC, transporte, caducidade ou consumo de saldos oficiais.",
"officialBalancesConsumed": false,
"carryCreated": false
},
"rows": 6,
"history": 1,
"apiRoundTrip": true,
"current": true,
"dossier": true
}
],
"proofs": {
"new_frontend_tests": 12,
"affected_annual_tests": 19,
"api_tests": 1,
"api_assertions": 102,
"api_cases": 5,
"api_round_trip_reports": 5,
"routes": "wayfinder --with-form passed",
"typescript": "passed",
"isolated_build": "passed; optional fontaine/chunk-size notices only",
"manual_browser_test": false,
"real_team_evaluation": "pending external feedback"
},
"preservation": {
"database": "proactive_investment_20261027_test",
"tables": {
"opportunities": {
"existing_rows": 55,
"unchanged": true
},
"documents": {
"existing_rows": 64,
"unchanged": true
},
"opportunity_documents": {
"existing_rows": 1,
"unchanged": true
},
"simulation_form_drafts": {
"existing_rows": 19,
"unchanged": true
},
"users": {
"existing_rows": 40,
"unchanged": true
},
"organizations": {
"existing_rows": 3,
"unchanged": true
},
"audit_events": {
"existing_rows": 409,
"unchanged": true
}
},
"transaction_rollback": true
},
"source_preservation": {
"baseline": "dc14f01e",
"count": 30,
"all_equal": true,
"files": [
{
"file": "AT-Comunicado-9-2026-ISPC.pdf",
"sha256": "106f8a9ce9255c03549c70bf07fe999d32e6e55302d009b509862aa74ccb4973"
},
{
"file": "AT-Modelo-30-ISPC.pdf",
"sha256": "6802edd06b6ff638a0b851a3ec7ecf69af8f07840faa47446becad67d35d445c"
},
{
"file": "AT-Modelo-B-Geral.pdf",
"sha256": "bd977c7c59d4d98befd92e2c566b1bf168cb1343bb519f51b41a3807f431fc57"
},
{
"file": "AT-MRFTA-19-39.pdf",
"sha256": "8ea62c53066b482f87078a7a7b1ecf15ca98a12a122e8d7abca63acfc993186b"
},
{
"file": "BR-16-I-Serie-2008-04-16.pdf",
"sha256": "fc373ff5637edf75ec6a9595dec8763a8503d4ee786e3b7d8f1c742eae9d80ee"
},
{
"file": "BR-248-I-Suplemento-1-2025.pdf",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251"
},
{
"file": "BR-89-I-Serie-2017-06-08.pdf",
"sha256": "11f0cab15eb6e51010952203ffa24fdc533a24fd642e19525fe4f46b17a1f5e5"
},
{
"file": "BR-95-I-Suplemento-2025-05-21.pdf",
"sha256": "e0e682e2c027c3cd9c1d46a73a3f48bc5f6bdbf05667fd97314d7a3f6a456358"
},
{
"file": "BR252-I-Serie-2022-Lei20-PESOE.pdf",
"sha256": "1159fd3ce1ba5581671796d083534da48bd3c5578298819e896f1c2a8026318d"
},
{
"file": "Decreto-22-2021-BR70.pdf",
"sha256": "a8fac38dcfe08f9c7a8e46254cff10e1ec82fc4f7a8d88ad6e4fe7d91ffc21a5"
},
{
"file": "Decreto-27-2026-BR123.pdf",
"sha256": "26249c3fa58f149c81de36e99d1aac2819a4771379d9e8833159660dabf539bb"
},
{
"file": "Decreto-29-1998-BR22-5-suplemento.pdf",
"sha256": "6242cbe675faadf085f43f95ec8c7e8868aafe67c3b2ab2bb010992288f954f8"
},
{
"file": "Decreto-3-2011-BR-11-I-mineiros.pdf",
"sha256": "5bca1133666ba9c69870b89823420175b7b5b8d0eccb667ecdf5c29716f3b6be"
},
{
"file": "Decreto-37-2023-BR124.pdf",
"sha256": "7e680b191481faa0e2e9057fa5053587eb2a29d1d8c819e0eb9f02814255a04c"
},
{
"file": "Decreto-9-2008-BR16.pdf",
"sha256": "96fccdecbfdc11c9eafb90fbc6c7bc259f88bbd4c7507d1ac3af1fa03f960697"
},
{
"file": "Lei-13-2016-CIVA-BR-156-10-suplemento.pdf",
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b"
},
{
"file": "Lei-14-1992-BR42.pdf",
"sha256": "089fff7423e99a70a230a73ca379e4ea3a91d124703f91016e57ff82794b9e56"
},
{
"file": "Lei-17-2022-BR251-exemplar-MCNet5.pdf",
"sha256": "14eb34f0af91a8f5cb1770c7b52d6ff839c6818302d1ed96d79afbfb9fe999d4"
},
{
"file": "Lei-17-2022-IPP-BR250-Parlamento.pdf",
"sha256": "978cd22403ffd336a631704ecd7a5bbd814a427c815b9acdaca5515591dd9e2a"
},
{
"file": "Lei-19-2013-BR76.pdf",
"sha256": "bba96d645cc935ffc3d1a79b9f0f73ac1c693d6459c2ad41f56cd2841accae76"
},
{
"file": "Lei-19-2017-IRPS-BR-OCAM.pdf",
"sha256": "c3a0186cb9ad090d7a9533006295dc9bb6a62ad0d6150173cbd49dba4ee4b52d"
},
{
"file": "Lei-2-2011-BR-1-4-suplemento-MCNet.pdf",
"sha256": "a7543a68cc3287a46a83c39a04821b40f649dd06c4e9b5dc51ff0b47fba08899"
},
{
"file": "Lei-20-2009-BR36-AT-exemplar19.pdf",
"sha256": "fc1c8144db42960cbf73e717e095896f511ece0f907f58f78819b27d6917a7ee"
},
{
"file": "Lei-22-2022-IVA-republicada-BR-250-2-suplemento.pdf",
"sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53"
},
{
"file": "Lei-34-2007-BR52.pdf",
"sha256": "cdbef875ad7ccc1517b12faf5de0e893a70ed2ed81e33913cd6dc4a674474e6e"
},
{
"file": "Lei-4-1994-BR37-3-suplemento.pdf",
"sha256": "210df9db8980d0a5690cd187a6eeec7e37a900d743e39062c16f4e0d12215c7e"
},
{
"file": "Lei-4-2012-BR3.pdf",
"sha256": "b8845cef41dcbd9ba50c43dbfa743a56030dd3d348242a107e1ae30279eec121"
},
{
"file": "Lei-7-1991-Partidos-IFES.pdf",
"sha256": "6b783a0bb3330688ef10660a58060d9724aa2da6a873d234fe902f0eaaeda42d"
},
{
"file": "PT-MZ-CDT-1992.pdf",
"sha256": "d504e1024b28aee5c6acf4592acb96ec9c915a8414f67a61ab6984d6acf9df9d"
},
{
"file": "PT-MZ-Protocolo-2009.pdf",
"sha256": "f353773dcf41f09f4daa6cf5ba5a5f7994f3e02615867c2dcffc61c3d901bf9b"
}
]
},
"rule_sources": [
{
"file": "Lei-34-2007-BR52.pdf",
"pdf_page": 18,
"printed_page": "768-(72)",
"article": "66(1–2)",
"sha256": "cdbef875ad7ccc1517b12faf5de0e893a70ed2ed81e33913cd6dc4a674474e6e"
},
{
"file": "Decreto-9-2008-BR16.pdf",
"pdf_pages": [
6,
7
],
"articles": "21(2/5),27;29 for deferred obligation context",
"sha256": "96fccdecbfdc11c9eafb90fbc6c7bc259f88bbd4c7507d1ac3af1fa03f960697"
}
],
"remaining_code": [
"PEC obligation and instalments, separate from actual payment",
"Prior-year carry, expiry and usage ledger",
"Special credits/autonomous tax/special periods/non-MZN/M20-M22 remain own groups"
],
"documentary_resume_conditions": [
"Published 2026 regulatory amendment: exact articles and effective date for affected obligation/calendar",
"Prior-year PEC: exact last eligible exercise, transition and documented usage",
"Specific positive credit: own legal limit, order, period, evidence and convention if relevant"
],
"private_pilots": "Songo/Gurue unchanged and private; no publication",
"proactive_team_use": "await actual team feedback; implement concrete observed corrections only",
"artifacts": [
{
"file": "Decreto-9-2008-BR16.pdf-6.png",
"sha256": "109f862c8b94e15f55270ec41f90a66ed9cb3b5cf1f772615a8808a9a6034964",
"bytes": 476800
},
{
"file": "Decreto-9-2008-BR16.pdf-7.png",
"sha256": "943f945fae0a5086fad53cc468f1105257c9b4d762220b823816874bd1878884",
"bytes": 504338
},
{
"file": "dossier-capped.json",
"sha256": "a93f9dc6b0b2c21526dfaff9a415bbc2b6a53124dbd860ea5d1809c8868dd2d3",
"bytes": 31771
},
{
"file": "dossier-missing.json",
"sha256": "563e015d9a9069b09dd16548efa21fa37399b24fc6634d136100080706aa6d9a",
"bytes": 32184
},
{
"file": "dossier-payable.json",
"sha256": "b4cde0e17a9306bf08b7f54103eb499d11e4fd14d70fd38e4858013074d08a3a",
"bytes": 32130
},
{
"file": "dossier-prior-use.json",
"sha256": "5b2f95e06711099051fc463509854b439a48f7134c6da45210ce0ca529f77622",
"bytes": 31776
},
{
"file": "dossier-recoverable.json",
"sha256": "27d954e4e6a48980cbbd391a9352ea83456b1e61b42663389f6ada47b55d7c77",
"bytes": 32142
},
{
"file": "existing-records-preservation.json",
"sha256": "b45b3306d3c9dee63fbbaf9a04bba31008019e65892bd16322460b5ef53eda7d",
"bytes": 822
},
{
"file": "Lei-34-2007-BR52.pdf-18.png",
"sha256": "25a5493d2d63d492ca849b5b798b87ad792fa4f6a95493ec96fa5c974c8c4c62",
"bytes": 467400
},
{
"file": "Lei-34-2007-BR52.pdf-19.png",
"sha256": "160f635ce804f400e73d878dff19dc0cae360a195a06952294766f00c74f78d0",
"bytes": 483003
},
{
"file": "PEC-excerpts.json",
"sha256": "3d8795a9bde96195a59dfef0387c1294a14bd6f671d3df76ac8f7e95ebd7a1ad",
"bytes": 19256
},
{
"file": "recovered-capped.json",
"sha256": "e9465e01490fc6f3d52ebdf74d12842d60d5bde155e863a14ec8224592dd5ab4",
"bytes": 349126
},
{
"file": "recovered-missing.json",
"sha256": "32b4183191ed48954f6d13b8b0a2c127a1edfd7a2308370396bf1cce26f7504b",
"bytes": 349856
},
{
"file": "recovered-payable.json",
"sha256": "8b039e9127e57a2b104f7b37dbedb60e857b82e271bee7c784cf9be06fef2731",
"bytes": 344415
},
{
"file": "recovered-prior-use.json",
"sha256": "ae5099bc2dd54755f232567a6cf7c87080ca8fc1dfde09db6ed4426d4189d800",
"bytes": 348899
},
{
"file": "recovered-recoverable.json",
"sha256": "cae038d1abe19bfc3101216d3e0b79a4cc3ef360f3ca4f8fa3e298a7c187d843",
"bytes": 349415
},
{
"file": "recovered-report-receipt.json",
"sha256": "e70e0777dd92cf8ef17d199238cef3fcef8223a4dfba3b56c420ba4aca42a6f7",
"bytes": 5362
},
{
"file": "report-capped.html",
"sha256": "ddf9e4fa8508daa86c2f5a337f57fe6d8c443018c8706d79f34c8151a6bd9465",
"bytes": 5214
},
{
"file": "report-missing.html",
"sha256": "7313eaa4f984ae2976d7a66b81242899bb5a9cc5c55e62f85a0d4813b7710c91",
"bytes": 5594
},
{
"file": "report-payable.html",
"sha256": "d654183e1d293f7fd025918ddaca6da0d30915e4fd6cc4b34e899b210ed6eb52",
"bytes": 5540
},
{
"file": "report-prior-use.html",
"sha256": "113bdc44ad910a8679ec99949726d637297180f078c2b6ba4760076e8dd0da85",
"bytes": 5219
},
{
"file": "report-recoverable.html",
"sha256": "c91511cd25706322ddfc9f081e1058325a8af617a97580c97388304f6481194a",
"bytes": 5552
},
{
"file": "source-preservation.json",
"sha256": "621864a86ef46931a949d039d3de854c339e205310955fa886d9f879404834e2",
"bytes": 4483
}
]
}