Compare commits

...
Author SHA1 Message Date
nala 6af7092e83 Reconcile installed L3 receipt and preserve current balance in compatible ISPC QA
tests / ci (push) Canceled after 0s
2026-10-25 17:15:52 +02:00
nala 49b448eb47 Prepare compatible ISPC quarterly QA on L3 baseline without experimental P001 changes 2026-10-25 17:11:58 +02:00
nala fa32a2b9e1 Align legacy message assertion with agreed P001 residual without fiscal changes
tests / ci (push) Canceled after 0s
2026-10-25 17:09:26 +02:00
nala 0f4df8a4d1 Prepare compatible L3 additional delivery with preserved residuals and accepted proofs
tests / ci (push) Canceled after 0s
2026-10-25 16:38:24 +02:00
nala b189d0fa43 Prepare exact beverage partitions, fiscal gap diagnostics and L3 form review in QA 2026-10-25 15:55:25 +02:00
nala dbeaf886ee Record installed L3 E delta and keep L3 and L1 L2 residuals open 2026-10-25 15:29:38 +02:00
nala 7ad187f9f0 Prepare demonstrated L3 E delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 15:25:44 +02:00
nala 4708662532 feat(iva): prepare beverage restitution QA and retain residual scope 2026-10-25 15:08:10 +02:00
nala 46944402da Record installed grouped L3 C D delta and preserved residuals 2026-10-25 14:53:45 +02:00
nala de36f02880 Prepare grouped L3 C D delivery after verified backup restore
tests / ci (push) Canceled after 0s
2026-10-25 14:50:04 +02:00
nala 9e2d90c880 Prepare L3 D refund lifecycle and grouped C D QA delivery with preserved credits 2026-10-25 14:47:03 +02:00
nala b7a745e64f Prepare L3 C substitutions with frozen predecessor and payment reconciliation in QA 2026-10-25 14:23:56 +02:00
nala 3aa851a467 Record installed L3 A/B delta and preserved residuals 2026-10-25 14:13:30 +02:00
nala 109cb0fe9e Prepare grouped L3 A/B delivery after verified backup restore
tests / ci (push) Canceled after 0s
2026-10-25 14:10:24 +02:00
nala f7b778cdce Implement scoped L3 A B credit carry and VAT closure with frozen L2 sources 2026-10-25 14:01:33 +02:00
nala 508aeb5205 Delimit L3 VAT closure increments using existing L1 L2 and cashflow mechanisms 2026-10-25 13:40:20 +02:00
nala acbd1f3315 Record installed L2 demonstrated scope and retain residual regularization work 2026-10-25 13:35:03 +02:00
nala 7a380b7690 Prepare grouped L2 D E delivery after authenticated backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 13:31:55 +02:00
nala dde20c3348 Implement scoped L2 E annual adjustments and asset control with grouped D E manifest 2026-10-25 13:22:17 +02:00
nala 2c2a2f2010 Implement L2 D allocation and provisional proportions with exact totals and frozen history 2026-10-25 13:00:59 +02:00
nala 855ab066c4 Record installed grouped L2 ABC and preserved L1 closure balance 2026-10-25 12:44:51 +02:00
nala 819ae791e9 Prepare grouped L2 ABC delivery after authenticated backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 12:41:42 +02:00
nala fc7e590d4e Prepare grouped L2 A B C with customs deduction exclusions and exact affected totals 2026-10-25 12:29:10 +02:00
nala 56c948ec45 Implement L2-A acquisition deduction rights with preserved history and affected totals 2026-10-25 12:12:29 +02:00
nala 940d69b82a Record limited L1 operational closure and executable L2 scope 2026-10-25 11:59:50 +02:00
nala 7febb6f7be Record installed P047 and explicitly partial P058 baggage delivery 2026-10-25 11:53:35 +02:00
nala ada9629bb6 Prepare grouped P047 delivery with explicitly partial P058 baggage
tests / ci (push) Canceled after 0s
2026-10-25 11:50:02 +02:00
nala 6e1dc4104c Implement P047 four remission families with scoped customs evidence and QA 2026-10-25 11:43:00 +02:00
nala 4f28fac5d0 Clarify L1 residual closure criteria and add partial returnee baggage QA 2026-10-25 11:24:02 +02:00
nala 9019f766f2 Record installed P104 and explicitly partial offer returnee scopes 2026-10-25 11:08:21 +02:00
nala e38aa74920 Authorize grouped installer after authenticated backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 11:04:59 +02:00
nala fab72d2e0c Prepare joint P104 delivery with explicit partial branch coverage 2026-10-25 11:02:30 +02:00
nala 7b6a95a718 Record P104 operational QA and partial offers returnee coverage 2026-10-25 10:57:42 +02:00
nala 9536eb710b Implement Tempo FX selection and offer request decision workflow in QA 2026-10-25 10:54:51 +02:00
nala 8b3ec2b04d docs(iva): receipt joint P046 P059 delivery with scoped RSA benefits 2026-10-25 10:26:31 +02:00
nala a665ee9c97 deploy(iva): deliver P046 P059 jointly with scoped miner benefits
tests / ci (push) Canceled after 0s
2026-10-25 10:22:39 +02:00
nala 2b130a66ec docs(iva): identify miner sources and record compatible P046 P059 QA 2026-10-25 10:16:33 +02:00
nala 4e550c3892 feat(iva): prepare documented P059 miner import paths in QA 2026-10-25 10:13:51 +02:00
nala 34bbcfa7e4 docs(iva): record P046 QA and concrete remaining source actions 2026-10-25 09:51:14 +02:00
nala 0807201517 feat(iva): prepare P046 objective import correspondence in QA 2026-10-25 09:48:47 +02:00
nala f059622562 docs(iva): receipt joint P129 P133 delivery with fiscal continuity 2026-10-25 09:34:10 +02:00
nala a48e974979 docs(iva): prepare joint travel event delivery preserving fiscal continuity
tests / ci (push) Canceled after 0s
2026-10-25 01:48:26 +02:00
nala 1a5f72209e docs(iva): record joint travel and special event QA with limitations 2026-10-25 01:45:12 +02:00
nala c309215d0f fix(iva): report only applicable special event facts preserving drafts 2026-10-25 01:43:06 +02:00
nala 7986d02405 feat(iva): add travel period margin and special travel suspensive events 2026-10-25 01:42:05 +02:00
nala 91c4063338 docs(iva): receipt joint P002 P121 P130 limited-scope delivery 2026-10-25 01:30:16 +02:00
nala df43aeb1e5 docs(iva): prepare joint foreign and limited digital delivery after restore
tests / ci (push) Canceled after 0s
2026-10-25 01:27:21 +02:00
nala de4b25bbd7 docs(iva): record digital QA and prepare grouped P002 delivery 2026-10-25 01:24:34 +02:00
nala 5f088e3411 feat(iva): classify digital goods and services with separate obligations 2026-10-25 01:23:14 +02:00
nala e4c490b323 docs: record P002 QA and delimit P104 currency finding 2026-10-25 01:15:52 +02:00
nala 86970cd507 Implement P002 reusing territoriality and events and clarify P104 legal cotejo 2026-10-25 01:13:46 +02:00
nala 2de67bebf9 docs(iva): receipt P131 P132 delivery keeping P104 conditional and pending 2026-10-25 01:07:32 +02:00
nala e8b5ae43ad docs(iva): prepare P131 P132 delivery with conditional P104 after isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 01:04:54 +02:00
nala 0052cd42d2 docs(iva): record P131 P132 QA and delimit partial P104 currency coverage 2026-10-25 01:02:16 +02:00
nala 7e6e462e12 Implement P131 P132 event timing and conditional P104 draft in QA 2026-10-25 01:01:15 +02:00
nala 7a3ac43224 docs(iva): receipt P087 P127 delivery and remaining dependency groups 2026-10-25 00:52:54 +02:00
nala 92eaa93570 docs(iva): prepare joint P087 P127 delivery after isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 00:50:30 +02:00
nala d84883b801 docs(iva): record P087 P127 QA and concrete actions for 16 pending IDs 2026-10-25 00:48:08 +02:00
nala 5999e35fcb Implement P087 binding lease and P127 business transfers in QA 2026-10-25 00:46:56 +02:00
nala 4cacef23dd docs(iva): receipt P123 P126 delivery with consignment and contrary proof explicit 2026-10-25 00:43:07 +02:00
nala ce9d649fbf docs(iva): prepare joint P123 P126 delivery after backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 00:40:41 +02:00
nala a5b1ae6657 docs(iva): record P123 P126 grouped QA and correct consignment designation 2026-10-25 00:37:34 +02:00
nala f640e19370 Implement P123 consignment and P126 rebuttable goods presumptions in QA 2026-10-25 00:36:56 +02:00
nala 4ef7be3d6f docs(iva): receipt grouped P092 P093 P125 delivery preserving margin eligibility 2026-10-25 00:33:14 +02:00
nala 019bcbad6c docs(iva): prepare joint P092 P093 P125 delivery after isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 00:30:43 +02:00
nala 0ebb20c86a docs(iva): record grouped QA P092 P093 P125 and preserve 111 deliveries 2026-10-25 00:28:41 +02:00
nala b0818c0163 Implement P092 P093 P125 individual secondhand bases in QA 2026-10-25 00:27:37 +02:00
nala ec786f4ae2 docs(iva): receipt P088-P124 delivery with deduction history preserved 2026-10-25 00:19:44 +02:00
nala 6c12aabb3a docs(iva): prepare joint P088-P124 delivery after backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 00:17:11 +02:00
nala cd259623ae docs(iva): record P088-P124 QA with historical deduction separate from new deduction 2026-10-25 00:15:24 +02:00
nala 9b95e5e7a8 feat(iva): prepare goods allocation classification and current acquisition-cost bases in QA 2026-10-25 00:15:19 +02:00
nala 1b67fa85ff docs(iva): receipt joint P122-P128 delivery preserving P091 and prior closures 2026-10-25 00:10:37 +02:00
nala 63cc336787 docs(iva): prepare joint P122-P128 delivery after backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-25 00:08:02 +02:00
nala af7d250320 docs(iva): record P122-P128 QA preserving 107 delivered branches 2026-10-25 00:06:28 +02:00
nala 2b592ded66 feat(iva): prepare own-name goods and service chains together in QA 2026-10-25 00:06:24 +02:00
nala 5837f34a2c docs(iva): receipt joint P096-P099 delivery with deduction outside scope 2026-10-25 00:02:07 +02:00
nala 2fdca86367 docs(iva): prepare joint P096-P099 delivery after backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:59:51 +02:00
nala 833b4e5cef docs(iva): record four proportional bases in QA preserving 103 deliveries 2026-10-24 23:58:10 +02:00
nala 67a96085c8 feat(iva): prepare four proportional tax bases in one QA set 2026-10-24 23:58:06 +02:00
nala b0e01ef737 docs(iva): receipt joint G9A-G9J delivery preserving 93 closures 2026-10-24 23:53:30 +02:00
nala 2a7254406d docs(iva): prepare one G9A-G9J delivery after backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:49:58 +02:00
nala 4601bf64a0 docs(iva): record P111-P120 QA with separate territoriality and obligations 2026-10-24 23:48:12 +02:00
nala 6cffa1188f feat(iva): prepare P111-P120 listed services as one compatible QA set 2026-10-24 23:48:08 +02:00
nala 4853bc7284 docs(iva): receipt one joint G8B-G8F delivery preserving 88 closures 2026-10-24 23:43:03 +02:00
nala 03c26d6613 docs(iva): prepare one G8B-G8F delivery after backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:40:32 +02:00
nala 3f4e71c3f3 docs(iva): record five G8 branches in QA for one compatible delivery 2026-10-24 23:38:44 +02:00
nala ec33fb5be2 feat(iva): prepare five G8 service territoriality branches together in QA 2026-10-24 23:38:14 +02:00
nala aac3f46306 docs(iva): receipt G8A installation and adopt grouped future deliveries 2026-10-24 23:33:35 +02:00
nala 8f14f5dde2 docs(iva): prepare G8A delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:31:08 +02:00
nala fb7248661d docs(iva): record G8A P105 QA and preserve 87 delivered branches 2026-10-24 23:29:12 +02:00
nala 0682ef74e2 feat(iva): classify goods territoriality for L1 P105 in QA 2026-10-24 23:29:03 +02:00
nala 21ce03f65c docs(iva): record installed G7I P089 and distinct prior deduction scope 2026-10-24 23:23:49 +02:00
nala 6f1cf7b7a0 docs(iva): prepare G7I delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:21:33 +02:00
nala a4329bb4bf docs(iva): record G7I P089 QA and preserve 86 deliveries 2026-10-24 23:19:43 +02:00
nala 90b31c677f feat(iva): prepare P089 service normal values with distinct own conditions in QA 2026-10-24 23:19:00 +02:00
nala 33cc971a12 docs(iva): record installed G7H P103 and referenced correction scope 2026-10-24 23:15:02 +02:00
nala cd530b248b docs(iva): prepare G7H delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:12:48 +02:00
nala 2087134143 docs(iva): record G7H P103 QA and preserve 85 deliveries 2026-10-24 23:10:58 +02:00
nala 67b8b58149 feat(iva): prepare P103 price comparison and referenced correction in QA 2026-10-24 23:10:11 +02:00
nala adb849d4fc docs(iva): record installed G7G P102 and four exclusion scopes 2026-10-24 23:06:42 +02:00
nala 5d5f3b4148 docs(iva): prepare G7G delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 23:04:14 +02:00
nala 9c2b2c6560 docs(iva): record G7G P102 QA and preserve 84 deliveries 2026-10-24 23:00:49 +02:00
nala acc633bf08 feat(iva): prepare four P102 exclusions with own conditions in QA 2026-10-24 22:59:39 +02:00
nala a89f9eca8c docs(iva): record installed G7F P101 and single operation base 2026-10-24 22:55:06 +02:00
nala 7e5710ebbd docs(iva): prepare G7F delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 22:52:59 +02:00
nala 6f90fcb9d4 docs(iva): record G7F P101 QA and preserve 83 deliveries 2026-10-24 22:50:04 +02:00
nala e3caf55361 feat(iva): prepare P101 consideration composition without doublecounting in QA 2026-10-24 22:49:56 +02:00
nala 0bef805ede docs(iva): record installed G7E P100 and preserved valuation scope 2026-10-24 22:45:45 +02:00
nala 70b4a640ee docs(iva): prepare G7E delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 22:43:24 +02:00
nala 0460c85330 docs(iva): record G7E P100 QA and preserve 82 deliveries 2026-10-24 22:41:41 +02:00
nala 9f053ac9d3 feat(iva): prepare P100 noncash consideration bases in QA 2026-10-24 22:41:33 +02:00
nala 6234d34392 docs(iva): record installed G7D P095 and TC excluded once 2026-10-24 22:38:04 +02:00
nala 92a7418cb6 docs(iva): prepare G7D delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 22:35:57 +02:00
nala 76be72c38c docs(iva): record G7D P095 QA and preserve 81 deliveries 2026-10-24 22:34:04 +02:00
nala 3bcd98e78e feat(iva): prepare P095 regulated fuel base excluding TC in QA 2026-10-24 22:33:57 +02:00
nala 9600880169 docs(iva): record installed G7C P094 and preserved valuation scope 2026-10-24 22:29:08 +02:00
nala df7cb7fa47 docs(iva): prepare G7C delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 22:26:45 +02:00
nala 287f2f8321 docs(iva): record G7C P094 QA and preserve 80 deliveries 2026-10-24 22:23:42 +02:00
nala 4672789f2b feat(iva): prepare P094 act transfer valuation bases in QA 2026-10-24 22:23:10 +02:00
nala 15894f4b04 docs(iva): record installed G7B P091 and preserved commission directions 2026-10-24 22:15:55 +02:00
nala e62b7dfdc2 docs(iva): prepare G7B delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 22:13:42 +02:00
nala 9bd2e062f4 docs(iva): record G7B P091 QA and preserve 79 delivered branches 2026-10-24 22:04:25 +02:00
nala 948621a65c feat(iva): determine goods commission sale and purchase tax bases 2026-10-24 22:03:44 +02:00
nala 50463ca716 docs(iva): record installed G7A P090 with base VAT separation 2026-10-24 21:52:31 +02:00
nala 4193056bdd docs(iva): prepare G7A delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 21:50:21 +02:00
nala 20bfeb4f71 docs(iva): record G7A P090 QA and preserve 78 delivered branches 2026-10-24 21:47:38 +02:00
nala 1dda6ea258 feat(iva): determine public authority compensation tax bases 2026-10-24 21:46:47 +02:00
nala 0a80f1c457 docs(iva): record installed G6H P060 and preserved decision scope 2026-10-24 21:39:03 +02:00
nala eb9294ef42 docs(iva): prepare G6H delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 21:36:55 +02:00
nala 2359a88dba docs(iva): record G6H P060 QA and preserve 77 delivered branches 2026-10-24 21:29:32 +02:00
nala 69b6c49a60 feat(iva): classify UN development imports with proportional relief 2026-10-24 21:29:22 +02:00
nala 163e090ea5 docs(iva): record installed G6G P056 delivery and preserved authorization scope 2026-10-24 21:13:56 +02:00
nala 9b26217dec docs(iva): prepare G6G delivery after verified backup and isolated restore
tests / ci (push) Canceled after 0s
2026-10-24 21:11:50 +02:00
nala ebf5e53c3c docs(iva): record G6G P056 QA and preserve 76 delivered branches 2026-10-24 20:53:12 +02:00
nala 9783c54b2c feat(iva): classify authorized class K investment equipment imports 2026-10-24 20:52:32 +02:00
nala 0f9f7e3409 docs(iva): record installed G6F and partial P084 P085 delivery 2026-10-24 20:47:58 +02:00
nala 78c9f4a356 docs(iva): prepare G6F delivery after verified backup and restore
tests / ci (push) Canceled after 0s
2026-10-24 20:45:46 +02:00
nala 7996c35933 docs(iva): record G6F P050 QA and authorized partial offer coverage 2026-10-24 20:41:20 +02:00
nala 29e708ba2d fix(iva): exclude import-linked services from goods gift references 2026-10-24 20:39:54 +02:00
nala f9fb04f947 feat(iva): classify P050 services included in import taxable base 2026-10-24 20:39:23 +02:00
nala 77d1290258 docs(iva): record distinct offer paths and scoped conditional scenarios QA 2026-10-24 20:33:20 +02:00
nala 946fc08906 fix(iva): preserve exact and literal scope of offer decisions 2026-10-24 20:31:58 +02:00
nala 7ecf9ec79a feat(iva): distinguish offer requests emergency drafts and conditional scenarios 2026-10-24 20:30:54 +02:00
nala 536559d651 docs(iva): receipt for installed G6E P052 and partial draft preparation 2026-10-24 20:26:59 +02:00
399 changed files with 50613 additions and 132 deletions
@@ -0,0 +1,70 @@
<?php
namespace App\Http\Controllers\Api\V1;
use App\Http\Controllers\Controller;
use App\Jobs\ScanDocumentForMalware;
use App\Services\SimulationFormDrafts;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
class SimulationOfferDocumentController extends Controller
{
public function store(Request $request, string $id, SimulationFormDrafts $drafts)
{
abort_unless(Str::isUuid($id), 404);
$drafts->find($id, $request);
// Same private document infrastructure and technical file limit as investment attachments.
$request->validate(['file' => ['required', 'file', 'mimetypes:application/pdf,text/plain,image/png,image/jpeg', 'max:10240']]);
$file = $request->file('file');
$hash = hash_file('sha256', $file->getRealPath());
$existing = DB::table('documents')->where('source_system', 'simulation-fiscal-offer')->where('external_id', $id)->where('sha256', $hash)->whereNull('deleted_at')->first();
if ($existing) {
return response()->json(['data' => $this->metadata($id, $existing)], 200)->header('Cache-Control', 'private, no-store');
}
$documentId = (string) Str::uuid();
$key = $file->storeAs('simulation-offers/'.$id, $documentId, 'local');
abort_unless(is_string($key), 500);
try {
DB::table('documents')->insert(['id' => $documentId, 'source_system' => 'simulation-fiscal-offer', 'external_id' => $id,
'file_name' => basename($file->getClientOriginalName()), 'media_type' => $file->getMimeType(), 'storage_key' => $key,
'sha256' => $hash, 'size_bytes' => $file->getSize(), 'uploaded_by' => $request->user()->id,
'status' => 'quarantined', 'data_classification' => 'confidential']);
} catch (\Throwable $e) {
Storage::disk('local')->delete($key);
throw $e;
}
ScanDocumentForMalware::dispatch($documentId)->afterCommit();
return response()->json(['data' => $this->metadata($id, DB::table('documents')->where('id', $documentId)->first())], 201)->header('Cache-Control', 'private, no-store');
}
public function index(Request $request, string $id, SimulationFormDrafts $drafts)
{
abort_unless(Str::isUuid($id), 404);
$drafts->find($id, $request);
$documents = DB::table('documents')->where('source_system', 'simulation-fiscal-offer')->where('external_id', $id)->whereNull('deleted_at')->get();
return response()->json(['data' => $documents->map(fn ($doc) => $this->metadata($id, $doc))])->header('Cache-Control', 'private, no-store');
}
public function download(Request $request, string $id, string $document, SimulationFormDrafts $drafts)
{
abort_unless(Str::isUuid($id) && Str::isUuid($document), 404);
$drafts->find($id, $request);
$doc = DB::table('documents')->where('id', $document)->where('source_system', 'simulation-fiscal-offer')->where('external_id', $id)->whereNull('deleted_at')->first();
abort_unless($doc, 404);
abort_unless($doc->status === 'active' && $doc->malware_scan_status === 'clean' && hash_equals(trim($doc->sha256), (string) $doc->malware_scanned_sha256), 409, 'Anexo conservado; descarga disponível após análise antimalware concluída.');
$root = realpath(Storage::disk('local')->path('simulation-offers/'.$id));
$path = realpath(Storage::disk('local')->path($doc->storage_key));
abort_unless($root && $path && str_starts_with(strtolower($path), strtolower($root.DIRECTORY_SEPARATOR)) && is_file($path), 404);
abort_unless(hash_equals(trim($doc->sha256), hash_file('sha256', $path)), 409, 'Conteúdo do anexo diverge do hash registado.');
return response()->download($path, basename($doc->file_name), ['Cache-Control' => 'private, no-store', 'X-Content-Type-Options' => 'nosniff']);
}
private function metadata(string $id, object $doc): array
{
return ['id' => $doc->id, 'draftId' => $id, 'name' => $doc->file_name, 'sha256' => trim($doc->sha256),
'scan' => $doc->malware_scan_status, 'url' => '/api/v1/simulation-drafts/'.$id.'/offer-documents/'.$doc->id];
}
}
@@ -53,7 +53,7 @@ final class EnsureSimulationRecoveryCookie
}
}
return $response->withCookie(cookie(
$response->headers->setCookie(cookie(
self::NAME,
$forget ? '' : $token,
$minutes,
@@ -64,6 +64,7 @@ final class EnsureSimulationRecoveryCookie
false,
'lax',
));
return $response;
}
private function isExplicitDraftActivity(Request $request, Response $response): bool
@@ -83,8 +83,9 @@ class StoreSimulationFormDraftRequest extends FormRequest
'economic_snapshot.published_iva_scope' => ['nullable', 'string', 'in:yes,no'],
'economic_snapshot.monthly_iva_settings' => ['nullable', 'string', 'max:2000'],
'economic_snapshot.monthly_iva_snapshot' => ['nullable', 'string', 'max:60000'],
// Preserve operation books and explicit history as the draft grows.
'economic_snapshot.modelo_a_snapshot' => ['nullable', 'string', 'json', 'max:4000000'],
// Preserve accepted books and explicit history through the L3 refund increment.
// This is a bounded transport choice, not a business limit on fiscal records.
'economic_snapshot.modelo_a_snapshot' => ['nullable', 'string', 'json', 'max:6000000'],
'economic_snapshot.project_team_snapshot' => ['nullable', 'string', 'max:30000'],
'economic_snapshot.project_execution_snapshot' => ['nullable', 'string', 'max:30000'],
'economic_snapshot.project_risk_responses_snapshot' => ['nullable', 'string', 'max:30000'],
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,91 @@
{
"status": "QA_demonstrated_eligibility_option_quarter_calculation_private_recovery_and_report_not_installed",
"matrix_anchor": "AUD-SIM-INT02",
"scope": "Actividade habitual ISPC2026/MZN, enquadramento/opção, cálculo trimestral e retenção12(3–4) delimitada. Não é encerramento de operações ocasionais próprias ou formalidades sem correspondência de modelo.",
"source": {
"file": "docs/investmoz/simulations/source-archive/BR-248-I-Suplemento-1-2025.pdf",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251",
"citation": "Lei9/2025,republicaçãoISPC,arts8–12;PDF11/p2180(11),enquadramento2–5PDF10",
"application": "8(1)a selecciona taxa3/4/5 pelo volume anual2026 declarado e9 aplica-a à base trimestral; não repartir limites anuais por4 nem copiar acesso2025. Serviços12/15; cumulação usa taxa maior8(2).20%somenteparcela acima limite anual4.000.000 com acumulado anterior; cálculos racionais exactos."
},
"new_implementation": [
"Livro trimestral por contexto; receitas de cada trimestre e suporte explícitos,volume global do sujeito passivo confirmado; previsão anual distinta de ano encerrado reconciliado.",
"Elegibilidade actual e opção documentada reutilizadas; preparação apenas simula; opção posterior ao trimestre não retroage automaticamente.",
"Imposto/prestação/obrigação declarativa separados; inferior500 dispensa pagamento, não declaração;igual500 mantém pagamento. Não acumular dispensas nem deduzir custos/IVA.",
"Retenção5%separada para aquisições ocasionais a pessoa singular não inscrita3(3–4),ligadasàactividade,limiteglobalanual2.500.000;acima limiteindeterminado,semtruncar. Sem crédito contraimpostopróprio,mínimo500não aplicadoàretenção.",
"Gravação/recuperação mantém outros livros e históricos;alterações conservam resultado congelado até nova versão;relatório financeiro inclui grupoISPC."
],
"verification": {
"prior_proofs": "L4-A12testes eL1/L2/L3/P001não repetidos;inventário eaceitações reutilizados",
"new_frontend": "13distinctpassed:10quarter/3withholding;frontend-final.txt",
"private_API": "1test/21assertions passed;loopback55441/simulator_fiscal_delta_20261021_test,DatabaseTransactions rollback;otheraccount404;api.txt",
"UI": "Componentesreais:avaliar/opçãoguardada→calcular→guardarficheiroQA→recuperar→relatório;persistênciaprivadaconferidaemAPIseparadamente;ui-recovered-report.txt/png",
"report_fix": "GrupoISPCmapeadoàsecçãofinanceira;testeactualdoexportadorincluiimposto/opção;ausênciaidentificadanademonstraçãoecorrigidaantesdeconcluir.",
"types": "exit0;types-final.txt",
"build": "exit0;build-final.txt",
"inventory": "outputs/ispc-l4b-20261025/preservation-before-tests.json;reutiliza8143ficheirosinventariadoseL1fechados"
},
"example": {
"context": "opportunity:375;SYNTHETIC QA",
"option": "documentada2026-01-01",
"quarter": "2026/T2",
"prior_turnover_MZN": "100000",
"quarter_base_MZN": "200000",
"rate_percent": 12,
"tax_MZN": "24000",
"payment_MZN": "24000",
"declaration": "mantida",
"other_fiscal_books": "exactamente preservados"
},
"remaining_specific": [
"Operações ocasionais próprias3(3–4)enquanto sujeito passivo,distintas da retenção do adquirente;mantidas indeterminadas no percurso específico.",
"Aquisições acima limiteglobal2.500.000:correspondência do tratamento próprio;nãoliquidar5%porpresunção.",
"Formulário/modelo,instruções eprocedimentos da regulamentação2026;relatório depreparação não édeclaraçãosubmetida. Aviso primário do Governo confirma aprovação de novo regulamento,mas não contém articulado/modelos: https://portaldogoverno.gov.mz/governo-introduz-alteracoes-nos-regulamentos-fiscais-para-reforcar-eficiencia-tributaria/ . Sem impor segunda validação jurídica ou repetir pesquisa sem nova evidência."
],
"active_changes": false,
"schema_changes": false,
"rules_published_or_activated": 0,
"residuals": "P001/P058nãointerrompem;P084/P085fechados;L3residuaisapenasbloqueiamcasosdependentes;estatísticas/IAadiadas.",
"runtime_hashes": {
"resources/js/lib/ispc-quarter.ts": "f66bd52e9cdfe1ddaa6b00a931465862b3d890b9be216b7a056740f027f24129",
"resources/js/lib/ispc-withholding.ts": "6c31b240299edd3262efa28f7f3d5aee21123f94e30ef4ab90e26c35777cb6e4",
"resources/js/components/simulation-ispc-quarter.tsx": "0b950091e9204b2b20823694ea16dc94e4863914080542253966367a5580d62d",
"resources/js/components/simulation-ispc-withholding.tsx": "e688a8d6a2e1e20c1e10a85d33152d58a5c14867672cf4ffb834980ec1732f08",
"resources/js/lib/project-dossier-report.ts": "0db9f5fcb2929fd8340894bd13b74ee7c400af25e483ddfe5651002fd7160f49"
},
"proof_hashes": {
"outputs/ispc-l4b-20261025/frontend-final.txt": "2b0ec25bb83505ec9ce8ace02e0860faeeac4ce233083859f9a502069944f49f",
"outputs/ispc-l4b-20261025/api.txt": "2a770d07561a1475973795d5bac01ce5d94ee8a91be1d57d9b0702c621b8284d",
"outputs/ispc-l4b-20261025/ui-recovered-report.txt": "234bae0f17ef84dd9928197bfa38ad4a8a05c2dae18051e1ea9bd88852bb84fa",
"outputs/ispc-l4b-20261025/build-final.txt": "9683e783fd6e457c89a747d4a1a6deb10ba00a034f7891cf69e4c1a0cb1f0073",
"outputs/ispc-l4b-20261025/types-final.txt": "5346ac8a6566c1c38cb0bbda6a029579df58cd78af78e2c4845d9c82b5d1d76c",
"tests/frontend/fixtures/ispc-quarter-preserved.json": "30266584de9cacb0e4d771a9cc9c38838b62a3472583792e13effcd094247c39"
},
"compatible_QA_preparation": {
"branch": "codex/ispc-l4-quarterly-qa-20261025",
"path": "C:\\laragon\\www\\portal-investidor-ispc-qa-20261025",
"base": "fa32a2b9",
"runtime_files": [
"resources/js/components/simulation-form.tsx",
"resources/js/components/simulation-ispc-eligibility.tsx",
"resources/js/components/simulation-ispc-quarter.tsx",
"resources/js/components/simulation-ispc-withholding.tsx",
"resources/js/lib/ispc-eligibility.ts",
"resources/js/lib/ispc-quarter.ts",
"resources/js/lib/ispc-withholding.ts",
"resources/js/lib/project-dossier.ts",
"resources/js/lib/project-dossier-report.ts"
],
"runtime_hashes_match_accepted_QA": true,
"P001_runtime": "fa32a2b9 unchanged; experimental d1551dab runtime excluded",
"compatible_build": "exit0;outputs/ispc-l4b-20261025/compatible-build.txt",
"compatible_types": "exit0;outputs/ispc-l4b-20261025/compatible-types.txt",
"functional_proofs": "13frontend/API1-21/UIreport reused; no new functional round",
"installed": false,
"functional_source_commits": [
"479b6681",
"1b7ccfee"
],
"candidate_commit": "49b448eb47df9ded3f906996e36c1d5ebd855741"
}
}
@@ -0,0 +1,50 @@
{
"status": "QA_partial_eligibility_and_separate_option_not_installed",
"matrix_anchor": "AUD-SIM-INT02",
"authorization": "Tempo25/10: preparar entrega compatível L3, reconciliar saldo e avançar L4 ISPC; P001 residual não bloqueia trabalho independente.",
"source": {
"path": "docs/investmoz/simulations/source-archive/BR-248-I-Suplemento-1-2025.pdf",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251",
"law": "Lei9/2025, republicação ISPC; arts2–5,9-A/13; PDF10–11; vigência2026art6/PDF9",
"acceptance": "Fonte oficial aceite pela Tempo; sem segunda validação de proveniência ou aprovação genérica Fiscalista."
},
"scope": [
"Condições preliminares de acesso habitual em2026/MZN; pessoa,actividade nacional,volume anterior2025 ou previsão de início2026,contabilidade obrigatória e exclusões3(2).",
"Limite4.000.000 inclusivo; desconhecido permanece indeterminado e não vira zero; operação ocasional tem percurso próprio ainda não implementado.",
"Serviços liberais8(1)c:183dias versus184 à mesma entidade; não aplicar esta exclusão aos serviços8(1)b.",
"Opção separada de elegibilidade; seleccionarISPC não adopta regime nem alteraIVA/IRPS/IRPC.",
"Reutilização de perfil com diferenças e confirmação; nenhuma inferência de categoria,volume anual anterior ou opção a partir de vendas correntes.",
"Livro por contexto no snapshot existente; preserva mapas fiscais,histórico e resultados congelados; relatório do dossier inclui enquadramento e opção."
],
"verification": {
"inventory_before_tests": "outputs/ispc-l4a-20261025/preservation-before-tests.json",
"new_frontend_tests": 12,
"frontend_result": "12 passed/0failed; outputs/ispc-l4a-20261025/frontend.txt",
"types": "exit0;outputs/ispc-l4a-20261025/types.txt",
"build": "exit0;outputs/ispc-l4a-20261025/build.txt",
"persistence": "serialização/recuperação e preservação dos livros/históricos cobertas nos novos testes; transporte privado existente reutilizado,sem nova rondaAPI",
"UI": "componente integrado;sem demonstração visual nova nesta passagem",
"synthetic_fixture": "outputs/ispc-l4a-20261025/calculated.json; não importada no activo"
},
"remaining_L4": [
"Apuramento trimestral e aplicação dos escalões3/4/5%,serviços12%,liberal15%,excesso20% e actividades mistas8; identificar correspondência exacta anual/trimestral antes do cálculo.",
"Mínimo trimestral500 e obrigação declarativa; retenção5% nas aquisições ocasionais próprias,limite2.500.000 e modelo; sem reutilizar taxa deIVA.",
"Percurso ocasional3(3–4),formalidades,modelos e prazos do regulamento aplicável; conferir apenas correspondências concretas necessárias,sem nova validação genérica.",
"Demonstração visual integrada e gravação privada deste incremento antes de propor entregaL4."
],
"preserved": {
"L1": "131entregues;P001residual;P058parcial com exclusões",
"P084_P085": "fechados no âmbito operacional Tempo;sem pesquisa",
"L3": "candidata0f4df8a4 preparada,não instalada;saldo próprio não encerraL3",
"E_original": "16MZN documental/zero dedução nesta via/12 reconhecidos/7recebidos/5porreceber",
"statistics_AI": "adiadas"
},
"active_changes": false,
"schema_changes": false,
"runtime_hashes": {
"resources/js/lib/ispc-eligibility.ts": "1828cb2d696a6bd852078fc3f1cf90a6649c1f3a0df5bec0a72ac1d1f175b2eb",
"resources/js/components/simulation-ispc-eligibility.tsx": "38ebe2b2fd340e269ba6fdeec96f0d39d0594892b9cb968ec094b2c165346b42",
"resources/js/components/simulation-form.tsx": "5090175a3fee965795fb47ac7f673c5aafc3641c25d323be0be631178afae775",
"resources/js/lib/project-dossier.ts": "de70672560162ef94f1e5429f70c2466a8347e73b2d800da013c7c50e480091c"
}
}
@@ -0,0 +1,232 @@
{
"implementation_commit": "7e6e462e12a50aab6ba0043740ffeecb414cbedf",
"status": "delivered_P131_P132_partial_P104_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P131": [
"goods_available",
"goods_transport",
"goods_installation",
"service_completed",
"service_early_charge",
"import_clearance",
"import_auction",
"continuous_period",
"contract_effects"
],
"AUD-SIM-L1-P132": [
"own_goods",
"own_services",
"commission_delivery",
"consignment_deadline",
"advance_payment"
]
},
"coverage_partial": {
"AUD-SIM-L1-P104": "Preparação e simulação cambial condicionada,gravação/recuperação/histórico/relatório;moeda original,taxa,direcção,data,fonte e pressuposto explícitos. Não fechaP104 e não confirma base fiscal. Falta obter/cotejar disposição de conversão da Lei2/2006 referida em15(8),seu momento/regra e correspondência em2026."
},
"branch_count_complete": 2,
"event_treatment_count": 14,
"conditional_scenario_count": 1,
"source": "CIVA Lei13/2016:7(1)–(7),PDF8/p1426(266);8,PDF9/p1426(267);15(8),PDF14/p1426(272),páginas visualmente conferidas.Lei22/2022 eLei10/2025 não alteram7/8;15(8)mantido.RIVADecreto7/2008,21,PDF4:regra histórica5dias úteis e excepções;prazo actual não automatizado,exige disposição/calendário/âmbito identificados.",
"meaning": {
"P131": "Eventos7(1)a/b/c,7(2),7(3),7(7):disponibilização,início transporte,instalação/montagem concluída,serviço realizado/cobrado ou debitado antecipadamente pelo montante respectivo,desembaraço/arrematação/venda na importação,termo do período sucessivo,efeitos translativos com excepções3(3)a/b. Facto gerador separado de exigibilidade8;factura comercial não desloca evento aduaneiro.",
"P132": "Eventos7(4)/(5)/(6) e8c:afectações/transmissões assimiladas3(3)e/f,serviços4(2),disponibilização pelo comissário,termo180dias de mercadorias à consignação3(3)d e pagamentos anteriores à factura. Corrigida remissão a consignação,não embalagensP102.8a/b/c separam parcela recebida e restante,sem dupla contagem."
},
"scope": "2026contexto;facto gerador7 e exigibilidade8 por data/âmbito;uma parcela de recebimento e restante por linha,ou parcelas de âmbitos distintos,sem agregação de totais entre linhas. Prazo de emissão é parâmetro legal identificado,não calendário presumido;importação segue7c. P104parcial não aplica câmbio fiscal.Sem nova base/IVA,taxa,dedução,campo11,regularização ou totaisModeloA;P133regimes suspensivos/viagens mantém âmbito separado.",
"documentary_research_delimited": {
"P104": {
"finding": "Remissão15(8) para Lei2/2006 identificada;artigo de conversão e parâmetros ainda não cotejados em exemplar íntegro.",
"attempts": [
"Acervo local seisPDF semLei2/2006",
"Pesquisa Lei2/2006/CIP identificaBR12-I22/03/2006",
"PDF primário platformchinaplp devolveu404;DLA recusou/timeout;archiveBR2006 devolveu403"
],
"next_action": "Obter exemplar íntegroLei2/2006 e identificar disposição de conversão/momento/regra;reutilizar rascunhos,sem validação jurídica genérica."
},
"RIVA21": {
"primary_notice": "https://portaldogoverno.gov.mz/governo-introduz-alteracoes-nos-regulamentos-fiscais-para-reforcar-eficiencia-tributaria/",
"finding": "Anúncio governamental inclui alteração21;anúncio não substitui texto normativo/publicação. Prazo não presumido5dias úteis por defeito;campo exige termo/disposição/calendário aplicáveis.",
"next_action": "Localizar texto publicado da alteração21 para eventual automatização do prazo;motor8já opera com parâmetro concreto identificado."
}
},
"technical_choices": "currencyEvents poroportunidade nosnapshot/API/dossier existentes. Exporta/reutiliza convertCents já existente,no mesmo algoritmo,sem alteração dos cálculos financeiros anteriores;BigInt6casas/taxa8casas,arredondamento de cenário à6. DatasUTC/histórico existentes;nenhum relógioactual/taxacorrente ou feriado por defeito. Alterações de percurso conservam campos ocultos e exigem rever confirmações.",
"verification": {
"frontend": {
"tests": 19,
"passed": 19,
"failed": 0,
"coverage": "15percursos/exemplos:14eventos+1câmbiocondicionado;factura pontual/tardia/ausente,pagamento parcial/integral,termo prazo,restantependente,eventofuturo/pagamento anterior,importação7c,consignação180dias,moedainversa/arredondamento/parametros;persistência/histórico/relatório/preservação"
},
"privateAPI": {
"tests": 1,
"assertions": 65,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-currency-events-20261025\\phpunit.xml"
},
"types": "passed",
"build": "passed;existingplugin timingwarnings",
"UI": "Edge/CUA:referência prazo vazia conserva facto gerador e deixa exigibilidade indeterminada;restauro egravação/recuperação/relatório.Fixturefinal regenerada após separarimportação7c;15linhas/1versãoanterior,P104conditional64500MZN/P132pagamento200+restante800,importação2026-12-10.Dadossintéticos,nãoaceitaçãomanualTempo.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-currency-events-20261025\\qa-recovered-report.png"
},
"preservation": {
"base": "7a3ac43224843f0f39900645bc901475275b18be",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P087",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P092",
"AUD-SIM-L1-P093",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P123",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P125",
"AUD-SIM-L1-P126",
"AUD-SIM-L1-P127",
"AUD-SIM-L1-P128"
],
"confirmed_losses": [],
"accepted_delivery": "92eaa935/7a3ac432;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-currency-events-preserved.json",
"sha256": "79972e699d32cea2be74f36c244825e47c63d20e6d1d3c14052ba564c4a63c93",
"scope": "P104partial/P131/P132QA;allpriorbooks/history immutable;noactivewrites"
},
"runtime_delta": {
"resources/js/lib/iva-currency-events.ts": "7133d1df2cf4171495bd145f5b8350938f0a3b4230af824c223d2b03cf0d9bb1",
"resources/js/components/simulation-currency-events.tsx": "d103234361d57d0461d19a0f1fb9cbc5a714dbd566000478fad9aced585f32fa",
"resources/js/components/simulation-monthly-iva.tsx": "44901ef5fc9def8ebd6c251d4af65f36a1cb330f5ed7d44db4a52d98753f18ff",
"resources/js/lib/project-dossier.ts": "1712be726c868d182a2ddf405331dcc1f55bf0c3ce72ad32ab758c15afef2f4a",
"resources/js/lib/business-financial-plan.ts": "c20274722d1ffcd0360f041a6cacb5d868fe0621cb27a1aca6e06826612c3ebb"
},
"counts_current": {
"delivered": 118,
"QA": 2,
"functional_pending": 12,
"P001": 1,
"total": 133
},
"homologation_unchanged": "92eaa935",
"remaining": "Entrega conjuntaP131/P132;P104incluídoapenascomopreparação/simulaçãocondicionada,seconstarnomanifesto,nãofecho. RestamP002/P046/P047/P058/P059/P084/P085/P104/P121/P129/P130/P133comimpedimentosnamesmamatriz.",
"limits": "L1aberto;P00105/06;bebidasL2/L3;Estatísticas/IAadiadas",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-currency-events-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_P131_P132_partial_P104_not_delivered",
"delivery_followup": {
"served_commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"receipt": "l1-currency-events-delivery-20261025.json",
"record": "iva_l1_currency_events_P131_P132_partial_P104_homologation_20261025",
"counts": {
"delivered": 120,
"QA": 0,
"functional_pending": 12,
"documentary": 1,
"total": 133
},
"P104_closure": false
}
}
@@ -0,0 +1,153 @@
{
"implementation_commit": "5f088e341125124077bc420a0b1c8ef0e8c28173",
"status": "delivered_demonstrated_scope_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P121": [
"web",
"software_service",
"information",
"media",
"teaching",
"analogous"
],
"AUD-SIM-L1-P130": [
"software_asset",
"content_asset",
"data_asset",
"crypto_asset",
"ebook_asset",
"profile_asset",
"access_asset",
"other_asset"
]
},
"branch_count_complete": 2,
"treatment_count": 14,
"standard_examples": 42,
"additional_examples": 4,
"source": "Lei10/2025, localPDF12–14/p2180(12–14),3(2)/(7),6(7)k/(8)/(9),23(2),25(7),26(4),32(1)c,33(2); Lei13/2016 localPDF8/p1426(266),6(7)k i–v, ePDF17/p1426(275),26(1–3). Páginas visualmente conferidas. Inventário de sete exemplares com hash preservado.",
"source_link": "https://miramar.co.mz/wp-content/uploads/2026/01/Tax_Update_Key_Amendments_to_Mozambican_Tax_Legislation_1767376440.pdf",
"scope": "Natureza digital, localização e responsável; gravação, recuperação, histórico e relatório. Não calcula taxa/base/IVA/dedução/campo11 ou totais; não envia declaração nem inicia pagamento. Software/acesso/licenciamento não decidem natureza apenas pelo título.",
"rules": {
"inbound": "Fornecedor estrangeiro e adquirente nacional: localização6(7)k.26(4) atribui obrigações ao adquirente sujeito passivo nacional identificado; qualidade desconhecida não apaga localização.25(7) declaração mensal/mapa;32(1)c referência até dia10 do mês seguinte.",
"outbound": "Adquirente estabelecido/domiciliado no estrangeiro:6(8), sem isenção ou IVAzero presumidos.",
"domestic": "Serviços6(3); bens3(2)/(7) equiparados a corpóreos,6(1) exige local na colocação à disposição demonstrado, sem inferência por servidor/IP/domicílio.",
"other_nonresident": "26(1)/(2): representante residente/poderes/comunicação anterior;26(3): falta de representante e actividade comercial/industrial/profissional comprovadas. Não atribui retenção automaticamente a consumidor.33(2)26(1–3) separado de26(4)."
},
"documentary_limits": {
"procedure": "Modelos/formalidades de25(7)/26(4) não cotejados neste incremento. A pesquisa oficial delimitada encontrou anúncio governamental de30/09/2026, não o texto normativo de execução. Isto não declara inexistência de regulamentação nem bloqueia classificação e preparação. Nenhum modelo, taxa de retenção, aprovador ou formulário inventado.",
"official_notice": "https://portaldogoverno.gov.mz/governo-introduz-alteracoes-nos-regulamentos-fiscais-para-reforcar-eficiencia-tributaria/",
"next_action": "Cotejar texto publicado e modelos aplicáveis antes de automatizar formalidades/submissão; manter preparação, localização e atribuição legal demonstrada.",
"P104": "Mantém pendência de escolha da taxa/data; conversão condicionada preservada, sem dependência efectiva destes percursos.",
"P084_P085": "Preparação/simulação condicionada preservadas; benefícios não encerrados."
},
"verification": {
"frontend": {
"tests": 57,
"passed": 57,
"failed": 0,
"digital_tests": 49,
"P002_adapter_compatibility_tests": 8
},
"privateAPI": {
"tests": 1,
"assertions": 209,
"database": "simulator_fiscal_delta_20261021_test:55441",
"transaction": "rollback",
"examples": 46
},
"types": "passed",
"build": "passed",
"browser": "Edge: qualidade do adquirente Sim→Por esclarecer mantém localização Moçambique e responsável indeterminado; reposta, classificada, gravada, recuperada e relatório aberto. Resultado versão4, três versões históricas.",
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-digital-20261025\\qa-recovered-report.png",
"preservation": "Comparação integral dos livros e históricos congelados:120entregues e P002QA preservados; sem perdas confirmadas ou escrita activa."
},
"integration_preparation": {
"branches": [
"P002",
"P121",
"P130"
],
"accepted_P002_candidate": "e4c490b3",
"ancestor_confirmed": true,
"local_main": "7ccf62adec52e574fdcc75ea2e3852833e3dba10",
"local_main_ancestor": true,
"merge_tree": "76a7356e225e3e9a857f3aa744f151a3a692c8f4",
"conflicts": false,
"strategy": "Uma entrega compatível pelo processo Git existente; reutilizar provas por ramo. Revalidar main/destino fresco e conferir somente delta instalado na entrega autorizada. Nenhuma integração no activo ou push neste incremento.",
"homologation_baseline": "e8b5ae43",
"runtime_delta_from_baseline": [
{
"file": "resources/js/lib/iva-digital.ts",
"sha256_lf": "623165a4e36e161776fea115ee7f8b9b61b4e5766831daa404badf8397eae271"
},
{
"file": "resources/js/components/simulation-digital.tsx",
"sha256_lf": "7c6cc9a4a79e385f7554ac43a0dd6310c8b890b162fd3a224378c55127b3844c"
},
{
"file": "resources/js/lib/iva-foreign-operations.ts",
"sha256_lf": "b2735b9071aac41f9ddf0ae0c81d3943c870adccfa315ec01432388fec4a7de8"
},
{
"file": "resources/js/components/simulation-foreign-operations.tsx",
"sha256_lf": "5276d81afd97cd40df63973fcfdca27d80903464af078f67deb3e45c7bb90948"
},
{
"file": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_lf": "19269934dc83f2cb3c36b1677f0bcdf066dc0ffd2af889730bd92acb54532587"
},
{
"file": "resources/js/lib/project-dossier.ts",
"sha256_lf": "f0428b411146e030bbf952428faffab6ac26178d09aa3a6437daa9363bc75a46"
},
{
"file": "resources/js/lib/iva-currency-events.ts",
"sha256_lf": "fa99e217e96bc6601ebfe0ac48a8ad3395ce85d57218c23888e6eece5a7405fa"
}
]
},
"balance": {
"delivered": 120,
"QA": 3,
"functional_pending": 9,
"P001": 1,
"total": 133
},
"pending_by_dependency": {
"documentary_specific": [
"P104",
"P084",
"P085",
"P001"
],
"travel_events": [
"P129",
"P133"
],
"imports_benefits": [
"P046",
"P047",
"P058",
"P059"
]
},
"homologation": "e8b5ae43",
"preservation_before_tests": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-digital-20261025\\preservation-before-tests.json",
"source_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-digital-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_P121_P130_not_delivered",
"delivery_followup": {
"served_commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"receipt": "l1-foreign-digital-delivery-20261025.json",
"record": "iva_l1_foreign_digital_P002_P121_P130_homologation_20261025",
"counts": {
"delivered": 123,
"QA": 0,
"functional_pending": 9,
"documentary": 1,
"total": 133
},
"digital_coverage_integral": false,
"P104_closure": false
}
}
@@ -0,0 +1,110 @@
{
"implementation_commit": "86970cd507795acb8ff7d942923d84e54e2d3331",
"status": "delivered_demonstrated_scope_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P002": [
"goods",
"services",
"listed_services",
"foreign_transport_portion"
]
},
"branch_count_complete": 1,
"examples": 7,
"meaning": "Localização estrangeira reutilizada; enquadramento potencial CIVA19(1)bii. Não concede nem calcula dedução/campo11, IVA, base ou totais. Hipótese interna e exclusões19(2) explícitas; localização nacional não equivale a isenção. Digital mantém âmbito próprio pendente.",
"coverage_partial": {
"AUD-SIM-L1-P104": "Exemplar integral Lei 2/2006 obtido: BR 12-I de 22/03/2006. Artigo 106(5), PDF18/página impressa66, conferido visualmente: facturação em moeda nacional. Não identifiquei no exemplar a regra de escolha da taxa/data cambial. P104 continua conversão condicionada, sem confirmação de base fiscal."
},
"documentary_research": {
"P104": {
"finding": "Exemplar integral Lei 2/2006 obtido: BR 12-I de 22/03/2006. Artigo 106(5), PDF18/página impressa66, conferido visualmente: facturação em moeda nacional. Não identifiquei no exemplar a regra de escolha da taxa/data cambial. P104 continua conversão condicionada, sem confirmação de base fiscal.",
"next_action": "Localizar a disposição aplicável que concretiza a remissão do CIVA 15(8), especificando taxa e momento de conversão; conservar moeda, taxa, direcção, data e fonte. Sem taxa corrente por defeito nem nova validação genérica.",
"source": {
"file": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-foreign-operations-20261025\\Lei-2-2006-BR-12-I.pdf",
"sha256": "efe00dbb9d9712d719f11d38a55be028c4d82315960ddfcc7786fdf9bdf133cb",
"pages": 36,
"origin": "https://www.dlapiperafrica.com/export/sites/africa/mozambique/insights/legislation-series/tax/downloads/Lei-n_2.2006.pdf_2063068952.pdf",
"official_identity": "BR12-I22/03/2006;Lei2/2006",
"publication": "Localresearchonly;notautomaticallypublishedorusedasFXrule"
}
}
},
"verification": {
"frontend": {
"tests": 8,
"passed": 8,
"failed": 0
},
"privateAPI": {
"tests": 1,
"assertions": 47,
"database": "simulator_fiscal_delta_20261021_test:55441",
"transaction": "rollback"
},
"types": "passed",
"build": "passed",
"browser": "Edge: alteração para hipótese interna desconhecida conserva território e produz indeterminação; reposição, gravação, recuperação e relatório; 7 linhas, versão4, 3 versões históricas",
"preservation": "120 fechos inventariados antes dos testes. Comparação integral dos livros anteriores congelados, excluindo apenas novos contextos sintéticos e novo livro P002. Nenhuma perda confirmada.",
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-foreign-operations-20261025\\qa-recovered-report.png"
},
"runtime_delta": [
{
"file": "resources/js/lib/iva-foreign-operations.ts",
"sha256_lf": "33ac9467a0c667d80cb5f66bad43ec567cd96207702579d57a9cbb15cc30d5f8"
},
{
"file": "resources/js/components/simulation-foreign-operations.tsx",
"sha256_lf": "5e7eddbd4bd7c9388fc55956baee90c74f673fef6f0d4555cf6f5331e98f8d62"
},
{
"file": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_lf": "3072660e5f91668fc69761ddeead00ac9f5e3e752c72537c637cf07993b3ffd3"
},
{
"file": "resources/js/lib/project-dossier.ts",
"sha256_lf": "3edb5682d7c8ca6e61e504eab67ca169f18ddcb07050c62fb58f57d3206b9829"
},
{
"file": "resources/js/lib/iva-currency-events.ts",
"sha256_lf": "fa99e217e96bc6601ebfe0ac48a8ad3395ce85d57218c23888e6eece5a7405fa"
}
],
"scope": "QA isolada; sem escrita no activo, publicação de documentos, migração ou instalação. iva-currency-events.ts altera apenas explicação documental de P104.",
"balance": {
"delivered": 120,
"QA": 1,
"functional_pending": 11,
"P001": 1,
"total": 133
},
"homologation": "e8b5ae43",
"pending": [
"P104",
"P121",
"P130",
"P129",
"P133",
"P046",
"P047",
"P058",
"P059",
"P084",
"P085"
],
"preservation_receipt": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-foreign-operations-20261025\\preservation-before-tests.json",
"qa_status_preserved": "QA_complete_P002_P104_pending_cotejo_documented_not_delivered",
"delivery_followup": {
"served_commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"receipt": "l1-foreign-digital-delivery-20261025.json",
"record": "iva_l1_foreign_digital_P002_P121_P130_homologation_20261025",
"counts": {
"delivered": 123,
"QA": 0,
"functional_pending": 9,
"documentary": 1,
"total": 133
},
"digital_coverage_integral": false,
"P104_closure": false
}
}
@@ -0,0 +1,191 @@
{
"implementation_commit": "2b592ded669f400e2322c183947a045bb3790c73",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P122": [
"goods_sale_commission",
"goods_purchase_commission"
],
"AUD-SIM-L1-P128": [
"service_sale_mandate",
"service_purchase_mandate"
]
},
"branch_count": 2,
"treatment_count": 4,
"source": "CIVA3(3)c,Lei13/2016PDF6/p1426(264);4(3),PDF7/p1426(265). Lei22/2022não altera3/4;Lei10/2025PDF12mantém3(3)c e não altera4. Base15(2)e/P091já entregue permanece independente;sem nova aplicação da base neste incremento.",
"meaning": {
"P122": "Transferências de bens em execução de contrato de comissão,incluindo consignação;na venda comissário considerado comprador,na compra comitente considerado comprador. Venda:comitente→comissário→terceiro;compra:terceiro→comissário→comitente. Contraprestações e referências das duas relações separadas.",
"P128": "Serviço efectuado por intervenção de mandatário emnome próprio:mandatário considerado adquirente eprestador sucessivamente4(3). Venda/prestação:mandante→mandatário→terceiro;compra/aquisição:terceiro→mandatário→mandante. Não é mera intermediação emnome de outrem ou base15(2)e de bens."
},
"formula": "Classifytwo successive relations bykind/direction;keep eachoriginalconsideration separate;no monetaryaggregation or taxcalculation.",
"scope": "2026,circuitos emnome próprio,partes/contratos/objectos econtraprestações originais das duas relações. Sem soma/compensação automática,base tributável nova,localização,isenção,taxa,IVA,dedução/campo11 ou totaisModeloA. Sem conversão cambial;moeda original identificada e coerente com contexto. P091preservado,sem repetir aceitação/cálculo.",
"technical_choices": "NewownNames opportunity-scoped book in existingmodelo_a snapshot/API/dossier,no schema/permissions. Switchretainsallhiddenrefs/values andclearsownconfirmations,keepscommon. Originaldecimalstrings up to15integer/6fractiondigits retained;no rounding/conversion. References or explicitassumptions reused,no certificates/approvers invented. OptionalexistingBaseRef notprerequisite;doesnotmodifyP091.",
"verification": {
"frontend": {
"tests": 6,
"passed": 6,
"failed": 0,
"by_treatment": "Four circuits:ownconditions unknown/no,direction/parties,separate originals,dates/refs/currency,zero vsunknown",
"additional": "Switchretainsvalues/refs andclearsownconfirmations;nonmonetarytaxfields remainnull;allpriorbooks includingP091 unchanged,history/report/currentkey/corruptwriteguards"
},
"privateAPI": {
"tests": 1,
"assertions": 37,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g10-own-name-20261025\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Edge/CUArealcomponent:ownNameunknown makescircuitindeterminate;restoredconfirmation andsave/recover/report4circuitswith2relations each and1000.25/1100.75MZN keptseparate,no totals,newbase/VAT/ratenull,3previousversions. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g10-own-name-20261025\\qa-recovered-report.png"
},
"preservation": {
"base": "5837f34a2cc64a94f91f038ffcb0c62f5fb5ba6a",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120"
],
"confirmed_losses": [],
"accepted_delivery": "2fdca863/5837f34a;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-g10-own-name-preserved.json",
"sha256": "03defa4a680af33e1bcd05770d619343704d448d295142263b21c40e516b2a5d",
"scope": "P122/P128QA;all priorbooks/history includingP105–110 andpartialP084/P085 immutable;no activewrites"
},
"runtime_delta": {
"resources/js/lib/iva-own-name.ts": "c36509de24d31d747d91630a31ce7d72baa749e9928b718a944556348fc54f85",
"resources/js/components/simulation-own-name.tsx": "6e142242aa29ae07e36b4d8d0be7d78f770d701e0a92e1a6e9832fcb794c17cf",
"resources/js/components/simulation-monthly-iva.tsx": "9718dc440aa98497011775d8bd03049d7857fa3badf27f4467d6d434f642defd",
"resources/js/lib/project-dossier.ts": "099dc307a86c763a9509516f6d59cc5c454b1f81189cc04b919d8d6045baf9dc"
},
"counts_current": {
"delivered": 107,
"QA": 2,
"functional_pending": 23,
"P001": 1,
"total": 133
},
"homologation_unchanged": "2fdca863",
"remaining": "OnejointGit delivery forP122/P128,freshbackup/realisolatedrestore,acceptedQA reused,installeddeltaonly. No individualbranch deployment.",
"limits": "L1open;deductionoutsideincrement;P00105/06;P121digital/P084/P085pending;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g10-own-name-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"receipt": "l1-g10-own-name-delivery-20261025.json",
"record": "iva_l1_g10_own_name_P122_P128_homologation_20261025",
"counts": {
"delivered": 109,
"QA": 0,
"functional_pending": 23,
"documentary": 1,
"total": 133
}
}
}
@@ -1,6 +1,6 @@
{
"candidate": "1565aa4ffb13fae75e925ccdb2b7553a9b111dd5",
"status": "P052 demonstratedQA;notinstalled;P084/P085 drafts preserved,benefits pending",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P052": [
"ship_provisions_import",
@@ -144,5 +144,18 @@
},
"active": "2d889a21/e3269079unchanged;no push/install/migration",
"P084_P085": "ModelI.1diploma checked jointly;Despacho06/01/2010->Decreto56/2009art2->CBFLei4/2009;no direct14(3)correspondence found inreadRegulation1–16;scenario mapping recorded separately;drafts5ec2f198preservedexactly",
"limits": "L1open;P001only05/06;beveragesL2/L3;Statistics/AIdeferred;closingL1doesnotrequireL2/L3/alltaxes"
"limits": "L1open;P001only05/06;beveragesL2/L3;Statistics/AIdeferred;closingL1doesnotrequireL2/L3/alltaxes",
"qa_status_preserved": "P052 demonstratedQA;notinstalled;P084/P085 drafts preserved,benefits pending",
"delivery_followup": {
"served_commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"receipt": "l1-g6e-delivery-20261024.json",
"record": "iva_l1_g6e_P052_homologation_20261024",
"counts": {
"delivered": 75,
"QA": 0,
"functional_pending": 57,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,159 @@
{
"candidate": "29e708ba2dca2450eaff8eff6f5e19079ffc7f8e",
"implementation_commit": "f9fb04f9",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P050": [
"service_in_customs_value",
"accessory_service_first_destination"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA12(1)(e),Lei13/2016PDF11/p1426(269);16(1)/16(1)(b)/16(2),PDF14/p1426(272);2022PDF1–2/2025PDF12–13maintain12e byreference,notchange16;2020/2025May9(13)scopes reused",
"meaning": "Servicefullvalueincluded in importtaxbase,eitheralreadyincustomsvalue oraddedaccessorycharge untilfirstdestination;destinationfromtransportdocument or,initsabsence,firstbreakbulk inland. Two technicalprofiles,notnewbusinessconditions.",
"tax_separation": "serviceVat0.00 onlywhenownconditions;importVat remainsnull forP050,no customsbase/duties/importedgoodstaxcalculation,normalratepresumption,invoicecorrection orfield11deduction",
"new_inputs": "OptionalserviceImportRef,serviceBaseRef,serviceFirstDestination(onlyaccessoryprofile),serviceProvider. Servicevalue/reference/context requiredforclassification;not newmandatoryfields onoldgoods. HidegoodsCode/originCountry forservices;preserve hiddenanswers across profilechange.",
"reference_reuse": "P050services filteredout from importedgoods references ofP084/P085;no newtaxbenefit or goodsconversion",
"verification": {
"frontend": {
"new_tests": 4,
"passed": 4,
"failed": 0,
"scope": "allownconditions,missing/failednotzero,ownfirstdestination,switchpreservation,service/importVATseparation,27priorfiscalbooks+946fc089drafts exact,currentoldkeys,report,malformedservicewriteguard,no service-as-goods reuse",
"record": "latestnode:test outputthissession;acceptedoldproofs reused,not rerun"
},
"privateAPI": {
"tests": 1,
"assertions": 30,
"target": "simulator_fiscal_delta_20261021_test:55441",
"rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6f-services-20261024\\api-tests.xml"
},
"types_final": "passed",
"production_build_final": "passed,existingplugin/chunkwarnings",
"synthetic_QA_storage": "1passed includingmultibyteUTF8bufferboundary",
"UI": "CodexEdgeCUArealcomponent:inclusionunknown->indeterminate,no->nonapplication,yes->serviceexemption;servicefieldsownrefs;goodsfields hidden,firstdestination onlyaccessory;save/recover/report2rows/opportunity336/Manica/2026-12/document14Nov2026/5historyversions;notmanualTempoacceptance"
},
"integrity_fix": "Newmalformedoptionalreference test initially detected savepath lacked validating newencodedbook;now validatesbefore returning/onChange,no original overwritten;validoldbooks/keys preserved",
"preservation": {
"base": "77d1290258a925a104b616dc4648db33d43064ea",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086"
],
"confirmed_losses": [],
"preservation": "Reuse acceptedG6Ec1314cdf/536559d6:174tables/369files/29published/28relations/408geometries;code/schema/data/config/permissions delta accepted;no active query/write in this QA task",
"frozen": "tests\\frontend\\fixtures\\iva-offer-paths-inputs.json",
"sha256": "78125d82172cda05c16b10e74ac2fdfd4eaaa25bd99cd3bde33281c2bfdd01e6",
"books": "27fiscalbooks+offerbook;requeststates/scopes/normal-conditionalscenarios/history946fc089preservedexactly",
"counts_before": {
"delivered": 75,
"QA": 0,
"functional_pending": 57,
"P001": 1,
"total": 133
}
},
"counts": {
"delivered": 75,
"QA": 1,
"functional_pending": 56,
"documentary": 1,
"total": 133
},
"active": "Unchangedc1314cdf/536559d6;no push/install/activequeries/schema/data/config/permissionchange",
"P084_P085": {
"authorized_partial_candidate": "946fc089",
"next_delivery_scope": "Preparation/requeststates/scopeddecisions/humanitarianpurpose/normalandconditionalhypotheticalscenarios,notconfirmedbenefit/notclosing2branches",
"documentary_scope": "IdentifyexpressapplicableCIVA14(3)procedure/link and amendments;distinguishP084internal/import andP085acquisition. ModelI.1/Despacho/CBFcotejo reused,not repeated;do notinventcertificates/approvers orclaimregulation nonexistent",
"preserved": "Allrows,scopeversions,deliberateedits,normal/conditionalinputs andhistory exactlyequalfrozenfixture"
},
"limits": "L1open;P001only05/06;beveragesL2/L3;classificationseparatefromfield11;Statistics/AIdeferred;L1closuredoesnotrequireL2/L3/alltaxes",
"qa_status_preserved": "P050 demonstratedQA,notinstalled;P084/P085 partialpreparation/scenarios includedinancestry andauthorizedfornextdelivery,notbenefitclosure",
"delivery_followup": {
"served_commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"receipt": "l1-g6f-delivery-20261024.json",
"record": "iva_l1_g6f_P050_with_partial_P084_P085_homologation_20261024",
"counts": {
"delivered": 76,
"QA": 0,
"functional_pending": 56,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,161 @@
{
"implementation_commit": "9783c54b2c70b2d91fefd08a394a21b0690af5ba",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P056": [
"authorized_investment_equipment"
]
},
"branch_count": 1,
"treatment_count": 1,
"condition_count": 4,
"source": "CIVA12(1)(k),Lei13/2016PDF11/p1426(269);Lei22/2022PDF2/p2252(26),Lei10/2025PDF13/p2180(13)maintain k by remissão;2017rectificationPDF1 concerns6/14/annexes,not12k",
"meaning": "Imported equipment classified K,destined to investment in undertaking authorized under InvestmentLaw/regulation;authorization reference and applicable scope,not authorization request or automatic class lookup",
"source_links": [
"https://www.inm.gov.mz/pt-br/content/suplemento-n%C2%BA-10-de-301216-pag-1426-259-290-br-n%C2%BA-156-boletim-da-rep%C3%BAblica-i-serie",
"https://pt.apiex.gov.mz/investir/"
],
"technical_choices": "Dedicated optional reference/scope fields required only for newP056 classification;traceability of statutory conditions,not additional certificate/approver or official-source revalidation;reuse importer,documents,value,period,evidence and opportunity",
"scope": "2026/MZN,classification of import VAT only;no customsbase/duties,automatic authorization or goodsclassification,domestic purchaseexemption,deduction/field11/ModeloA totals",
"result": "0.00 only ownconditions yes+reference/scope;projected assumption expressly labelled;missing=indeterminate;no=notapplicable and no presumed ordinaryrate",
"verification": {
"frontend": {
"tests": 3,
"passed": 3,
"failed": 0,
"scope": "own conditions,mistyped writes,switch retention,context invalidation,all delivered books unchanged,serviceVAT separate,partial offers unchanged,history,report"
},
"privateAPI": {
"tests": 1,
"assertions": 25,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6g-investment-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Real component in Edge/CUA:unknown/no/yes authorization triad,own fields,save/recover/report one row,5 prior versions;synthetic only,not manual Tempo acceptance",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6g-investment-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "0f9f7e3409bdea1d4d6c351a572e7c37b3a09b4e",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086"
],
"confirmed_losses": [],
"accepted_delivery": "78c9f4a3/0f9f7e34;174 tables/369 files;29 published fiches/28 relations/408 geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g6g-preserved-inputs.json",
"sha256": "43b5060803730e940bc1afa5e75dac16e634da2cf3ea80ce71cab9ef6185e51d",
"counts_before": {
"delivered": 76,
"QA": 0,
"functional_pending": 56,
"P001": 1,
"total": 133
},
"scope": "P056 only; preserve P050 service VAT separately and P084/P085 preparation/conditional simulation without closing benefits; no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-import-exemptions.ts": "1b4fda4e7e363e68f951eca14a415a93d08b06aaa49b41e639b44fc5c9cee488",
"resources/js/components/simulation-import-exemptions.tsx": "c6f36defc756eac0bb21f17e7165bb84efbbbfd120ea3be83787ffe368b7f1b1"
},
"counts_current": {
"delivered": 76,
"QA": 1,
"functional_pending": 55,
"P001": 1,
"total": 133
},
"homologation_unchanged": "78c9f4a3",
"remaining": "Integrate/deliver by existingGit process with manifest,fresh backup/isolatedrestore and installeddelta;no push in this QA task",
"limits": "P084/P085 partial only,pending;P00105/06;L1open;beveragesL2/L3;Stats/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6g-investment-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"receipt": "l1-g6g-delivery-20261024.json",
"record": "iva_l1_g6g_P056_homologation_20261024",
"counts": {
"delivered": 77,
"QA": 0,
"functional_pending": 55,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,164 @@
{
"implementation_commit": "69b6c49a600c02352fdb9d10b0f756dca6c500a5",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P060": [
"un_development_exemption",
"un_development_reduction"
]
},
"branch_count": 1,
"treatment_count": 2,
"conditions": "Seven common statutory conditions and one own customs-relief condition per treatment;not16 treatments",
"source": "CIVA12(2)(c),Lei13/2016PDF11/p1426(269),12(4)PDF12/p1426(270);Lei22/2022PDF2–3 andLei10/2025PDF13 maintain2/4 by remissão;2017rectification does notchange12(2)c/4",
"source_links": [
"https://www.parlamento.mz/?post_documents=boletim-da-republica-i-serie-nr-250-quarta-feira-28-de-dezembro-de-2022",
"https://www.inm.gov.mz/pt-br/content/suplemento-n%C2%BA-10-de-301216-pag-1426-259-290-br-n%C2%BA-156-boletim-da-rep%C3%BAblica-i-serie"
],
"meaning": "Materials/equipment for development projects funded by UN agencies/specialized institutions accredited with MozambiqueGovernment;exclusive project implementation;favourableFinanceMinisterdecision following priorrequest/list/importplan and customsconformity with approvedlist/plan;request is not grant",
"technical_choices": "Dedicated optional document references shown/required only for P060 classification;reuse importer,goods,document,date,period,evidence,opportunity;keep all answers across treatment switches. Reference fields trace statutory conditions,not newcertificate/approver or revalidation of officialsources. Exact decimal arithmetic via integers with up to6inputfractiondigits/14outputfractiondigits,no assumed fiscalrounding;negative/malformed/unknown inputs not zero. Newversion only books containingP060,oldkeys exactlycurrent.",
"scope": "2026/MZN,classification of own import VAT and application of expressly supplied rights-relief proportion to expressly supplied normalVAT. No customsbase/duties/normalVAT-rate calculation;no deduction/field11/ModeloA totals/serviceVAT alteration. Not automatically extend decisions/list/plan scope.",
"formula": "normalVAT × (100 − rightsReductionPercent)/100;partial percentage strictly between0and100;100requires ownfull-exemptiontreatment;0notapplicable;explicitnormalVAT0 distinctfrommissing",
"result": "Full customs exemption plus ownconditions -> importVat0.00;partial reduction -> statusreduced and exactresult;missing=indeterminate,no=notapplicable,no presumedordinarytax. Effective-declared versus projected-assumptions explicit.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Every owncondition missing/no;references and full/partial boundaries;exact fractions/large numbers/zero;malformedwriteguard;switch/context/referenceinvalidation;history;priorbooks/partialoffers exactlypreserved;report"
},
"privateAPI": {
"tests": 1,
"assertions": 34,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6h-development-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:decision unknown/no/assumed;normalVATmissing indeterminate;800with25%=600,50%=400;full0.00;save/recover/report2rows and5priorversions;scope/list/plan/decision/references retained. Synthetic only,not manualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6h-development-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "163e090ea547d0c046bddecc0b4f5db150910d7d",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086"
],
"confirmed_losses": [],
"accepted_delivery": "9b26217d/163e090e;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions verified at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g6h-preserved-inputs.json",
"sha256": "0eec529d197507a74d63a046761604fa31d10d8908d4d27b79719a1d116524d8",
"counts_before": {
"delivered": 77,
"QA": 0,
"functional_pending": 55,
"P001": 1,
"total": 133
},
"scope": "P060 only;preserve P056 authorization scope,P050 serviceVAT,and partial P084/P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-import-exemptions.ts": "799e9a0020e805af9f67387bfa36608c4973f15c4427d1b82c3f6b6398aed129",
"resources/js/components/simulation-import-exemptions.tsx": "89ab431fa6810c1f56897f203a817a41722c4a9df0cb075561dee6208e8730d1"
},
"counts_current": {
"delivered": 77,
"QA": 1,
"functional_pending": 54,
"P001": 1,
"total": 133
},
"homologation_unchanged": "9b26217d",
"remaining": "Integrate/deliver by existingGit with manifest,freshbackup/realisolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085 partial,pending;P00105/06;L1open;beveragesL2/L3;Stats/AI deferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6h-development-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"receipt": "l1-g6h-delivery-20261024.json",
"record": "iva_l1_g6h_P060_homologation_20261024",
"counts": {
"delivered": 78,
"QA": 0,
"functional_pending": 54,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,214 @@
{
"implementation_commit": "67a96085c8828231bb7e44ca26a4acb7b915ecee",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P096": [
"regulated_energy"
],
"AUD-SIM-L1-P097": [
"aeronautical_fees"
],
"AUD-SIM-L1-P098": [
"public_works"
],
"AUD-SIM-L1-P099": [
"public_water"
]
},
"branch_count": 4,
"treatment_count": 4,
"source": "CIVA15(2)j/k/l/m,15(1)/(5)/(6)/(9),Lei13/2016PDF13–14/p1426(271–272);Lei22/2022PDF3mantém15(2)j–m;Lei10/2025não altera15,adita18(6),PDF13:dedução do imposto suportado relativo a essas operações na mesma proporção da base reduzida.",
"meaning": {
"P096": {
"treatment": "regulated_energy",
"formula": "contraprestação total antes redução,sempróprioIVA ×62%",
"conditions": "Transmissão de energia com preço fixado porAutoridadePública,referência/âmbito/intervalo aplicáveis."
},
"P097": {
"treatment": "aeronautical_fees",
"formula": "contraprestação total antes redução,sempróprioIVA ×85%",
"conditions": "Preço doserviço fixado através de taxas aeronáuticas. Não aplicar a comunicações/saneamento/telecomunicações genericamente pelo título histórico da matriz;é necessário demonstrar o preço fixado através de taxa aeronáutica15(2)k."
},
"P098": {
"treatment": "public_works",
"formula": "contraprestação total antes redução,sempróprioIVA ×40%(redução60%,não base60%)",
"conditions": "Construção/reabilitação de obras públicas abrangidas15(2)l/15(9),projecto/contrato/categoria/âmbito identificados;estradas,pontes,infraestrutura água/saneamento,electrificação rural emprojectos públicos e hidráulicaagrícola noâmbito definido. Não exigir preço regulado a esta alínea."
},
"P099": {
"treatment": "public_water",
"formula": "contraprestação total antes redução,sempróprioIVA ×75%",
"conditions": "Água potável através derede pública,preço fixado porAutoridadePública comreferência/âmbito/intervalo aplicáveis."
}
},
"formula": "Base=fullconsideration before reduction excludingownVAT ×branchpercentage once;exactdecimal retained,no fiscalrounding assumed.",
"scope": "2026/MZN,base apenas. Percentagens62/85/40/75 são de base,não taxasIVA. Proporção18(6)registada sem calcular/conceder dedução/campo11;dedução permanece nas condições/lotes próprios. Sem taxaIVA,IVA,isenção ou totaisModeloA. Não dividir bruto comIVA sem composição esclarecida,nem reduzir montante já reduzido.",
"technical_choices": "NewregulatedReducedBases opportunity-scoped book in existingmodelo_a snapshot/API/dossier,no schema/permissions. Switchretainshiddenprice/projectrefs andclearsownconditions;sharedconditions retained. Inputs15integer/6fractiondigits,BigInt×percentage,outputupto8fractiondigits. Existingrefs or explicitassumptions,no certificates/approvers invented.",
"verification": {
"frontend": {
"tests": 6,
"passed": 6,
"failed": 0,
"by_branch": {
"AUD-SIM-L1-P096": "Ownconditions unknown/no,source/scope/date/currency,exactpercentage/base,zero vsunknown passed",
"AUD-SIM-L1-P097": "Ownconditions unknown/no,source/scope/date/currency,exactpercentage/base,zero vsunknown passed",
"AUD-SIM-L1-P098": "Ownconditions unknown/no,source/scope/date/currency,exactpercentage/base,zero vsunknown passed",
"AUD-SIM-L1-P099": "Ownconditions unknown/no,source/scope/date/currency,exactpercentage/base,zero vsunknown passed"
},
"additional": "Eightfractiondigit exactresults from6fractioninput,no float/fiscalrounding;works40not60,pricefields irrelevanttoworks,project/categories guard,switchhiddenretention,allpreviousbooks/history/report/corruptwriteguards"
},
"privateAPI": {
"tests": 1,
"assertions": 27,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7-reduced-bases-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Edge/CUArealcomponent:unknown full-before-reduction composition makesenergybaseindeterminate;unknown workscategory makesworksbaseindeterminate;restore confirms620.155/850.2125/400.10/750.1875MZN,proportion62/85/40/75%,VAT/ratenull. Save/recover/report4rows+3previousversions. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7-reduced-bases-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "b0e01ef737d26a991474e7fcc5d77cd330f20815",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120"
],
"confirmed_losses": [],
"accepted_delivery": "2a725440/b0e01ef7;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-g7-reduced-preserved.json",
"sha256": "0f106010eb54921462d64f42bf44ac551ef2ab614f6fe0eb063908d858529b01",
"scope": "P096–P099QA;all priorbooks/history includingP111–P120 andpartialP084/P085 immutable;no activewrites"
},
"runtime_delta": {
"resources/js/lib/iva-reduced-bases.ts": "4fc79388066a4d012b9af279ef53212ee963ae43d858307155e9ae8a140b5285",
"resources/js/components/simulation-reduced-bases.tsx": "00f1e0f1490240f578401c3a6e10b6812ee5b7978bbf7d7e5c9c1a81124bc6d1",
"resources/js/components/simulation-monthly-iva.tsx": "6032b9605703e7e29d5fb45cc158e8da57b9af4980d312f3326ddf18ee1e8814",
"resources/js/lib/project-dossier.ts": "ab044a0952cc4753925768f5ba7fd422637cfb9d826c1e8c26d21d7616b6dacf"
},
"counts_current": {
"delivered": 103,
"QA": 4,
"functional_pending": 25,
"P001": 1,
"total": 133
},
"homologation_unchanged": "2a725440",
"remaining": "OnejointGit delivery forfourcompatiblebranches,onebackup/realisolatedrestore,perbranchQAproofsreused,installeddeltaonly. No individualbranch deployment.",
"limits": "P121digital/P084/P085pending;L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7-reduced-bases-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"receipt": "l1-g7-reduced-delivery-20261024.json",
"record": "iva_l1_g7_reduced_P096_P099_homologation_20261024",
"counts": {
"delivered": 107,
"QA": 0,
"functional_pending": 25,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,165 @@
{
"implementation_commit": "1dda6ea25858f9fd35304458b09b8e6ab899ebb8",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P090": [
"public_authority_indemnity",
"public_authority_compensation"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(2)(d),Lei13/2016PDF13/p1426(271);15(3)/(4)/(5)/(6),PDF14/p1426(272);Lei22/2022PDF3maintains2d/3–6,Lei10/2025doesnotamend15. Statutory public-act compensation distinct from judicial contract-breach indemnity15(6)(a).",
"source_links": [
"https://www.inm.gov.mz/pt-br/content/suplemento-n%C2%BA-10-de-301216-pag-1426-259-290-br-n%C2%BA-156-boletim-da-rep%C3%BAblica-i-serie",
"https://www.parlamento.mz/?post_documents=boletim-da-republica-i-serie-nr-250-quarta-feira-28-de-dezembro-de-2022"
],
"meaning": "Determine the tax base for an identified taxable domestic supply of goods/services resulting from a public-authority act,using indemnity or other compensation;do not infer taxability from compensation/publicentity alone. Judicial contract-breach indemnity is not included by analogy.",
"technical_choices": "New opportunity-scoped publicAuthorityBases book inside existing modelo_a_snapshot;no schema/API/permissions change. Existing dossier/report and monthlyIVA components extended incrementally. Cash/nonmonetary/mixed form hides irrelevant fields but retains edits. Exact decimal sums with integers,up to6fractiondigits per input;no fiscalrounding assumption. Normalvalue explicitly supplied with valuationreference,not appraised by portal. References/conditions trace source,not newcertificate/approver or revalidation of officialsource.",
"scope": "2026/MZN;P090baseonly. BaseAmount independent from vat/rate,which alwaysremainnull. No determination of incidence,rate,exemption,tax,customsbase,deduction/field11/ModeloA totals orautomaticposting toother fiscalbooks. Components supplied netofIVA with applicable15(5)/(6)composition identified.",
"formula": "base = applicable net monetary component + applicable net nonmonetary normalvalue;form explicitly selects applicablecomponents;missing/invalid applicableamount orvaluationref staysnull,explicitzero is allowed;hiddenvalues not erased.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Ownconditions unknown/no;judicialexclusion;money/in-kind/mixed;exactlarge/fractionalamounts/zero;missingrefs;context/version/history;malformedwriteguard;allpriorbooks unchanged;report"
},
"privateAPI": {
"tests": 1,
"assertions": 29,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7a-public-base-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings;final build after Portuguese report-label adjustment",
"UI": "Realcomponent Edge/CUA:unknownact/missingvaluation indeterminate;judicialcontractbreach notapplicable;switchmoney->mixed retains250.20and1500.25,base1750.45;finalbases1500.25/1250.30withVATnull;save/recover/report2rows+5priorversions;documents/act/value/compositionrefs retained. Synthetic only,not manualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7a-public-base-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "0a80f1c457cd5670110d153e90962671c73535f4",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086"
],
"confirmed_losses": [],
"accepted_delivery": "eb9294ef/0a80f1c4;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions checked at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7a-preserved-inputs.json",
"sha256": "418c1825be1cb6e0851d3bc9b8a6c03335349645bda5e73792fc3ff2c3bf28da",
"counts_before": {
"delivered": 78,
"QA": 0,
"functional_pending": 54,
"P001": 1,
"total": 133
},
"scope": "P090 only;preserve P060decision/list/plan/scope and proportional results,P056authorization/P050serviceVAT/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-public-authority-base.ts": "667704ba8c2d26421993f5e7e2c6599afb2912e052b27a96e423cb8d01a21d85",
"resources/js/components/simulation-public-authority-base.tsx": "7aa05785fdb6fcb7de4c0345e9c09073ebdbb3a8b39f1bd2610da08abc8c8a89",
"resources/js/components/simulation-monthly-iva.tsx": "db5b4431351766f8f86b4e60195381dab17c077ca3db72de48f2fb7e0f2a320b",
"resources/js/lib/project-dossier.ts": "60a9dd9f4eed5884b16c7097906bc438958b3b1407976e10f4699d35c1c68b19"
},
"counts_current": {
"delivered": 78,
"QA": 1,
"functional_pending": 53,
"P001": 1,
"total": 133
},
"homologation_unchanged": "eb9294ef",
"remaining": "Integrate/deliver by existingGit with manifest,freshbackup/realisolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Stats/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7a-public-base-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"receipt": "l1-g7a-delivery-20261024.json",
"record": "iva_l1_g7a_P090_homologation_20261024",
"counts": {
"delivered": 79,
"QA": 0,
"functional_pending": 53,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,169 @@
{
"implementation_commit": "948621a65caf1395230bfed3ddfab59e94cddda0",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P091": [
"commission_sale_transfer",
"commission_purchase_transfer"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(2)(e),Lei13/2016PDF13/p1426(271);3(3)(c)PDF6/p1426(264);15(5)/(6)PDF14/p1426(272);Lei22/2022PDF3maintains15e,Lei10/2025PDF12maintains3c byremissão anddoesnotamend15;2017rectification doesnotamendthoseprovisions. Specialauction15(2)(g)notreplaced.",
"source_links": [
"https://www.inm.gov.mz/pt-br/content/suplemento-n%C2%BA-10-de-301216-pag-1426-259-290-br-n%C2%BA-156-boletim-da-rep%C3%BAblica-i-serie",
"https://www.parlamento.mz/?post_documents=boletim-da-republica-i-serie-nr-250-quarta-feira-28-de-dezembro-de-2022"
],
"meaning": "Goods transferred under commissioncontract,includingconsignment whereapplicable;principal-to-agent sale commission usesagentagreed saleprice minuscommission;agent-to-principal purchase commission usesagentagreed purchaseprice pluscommission. Notanycommissionpayment orautonomousbrokerageservice.",
"technical_choices": "Newopportunity-scoped commissionBases bookinside existingmodelo_a_snapshot;incrementalexistingmonthlyIVA/dossier/report/API integration,no schema/permissionschange. Price/commission/compositionreferences netofIVA,beforeoneadjustment. Exactdecimalintegerarithmetic,upto6inputfractiondigits,noassumedfiscalrounding. Directionchange retainsallvalues/parties/documents but clearsdirectionconfirmation asintegritychoice,notneworganizationalrule. Negativedifference isdisplayed arithmetically with fiscalbaseindeterminate inthisrecorte,nozero-floor/absolutevalue,newtaxrate orapprover. Unknownamount/commissionpercentage notdefaultzero.",
"scope": "2026/MZN;P091baseonly. BaseAmount separatefromvat/rate(alwaysnull);no incidence,rate,tax,commissionserviceVAT,exemption,deduction/field11/ModeloAtotals orautomaticposting intootherfiscalbooks. Statutorycondition references notnewcertificates/approvers orrevalidationofacceptedofficialsources.",
"formula": {
"commission_sale_transfer": "agent agreed sale price − commission",
"commission_purchase_transfer": "agent agreed purchase price + commission"
},
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Everyowncondition missing/no;references;subtract/addonce;fractional/large/zero/negativearithmetic;directionchangeconfirmation;missingamount;context/version/history;malformedwriteguard;allpriorbooks/currentkeys preserved;report"
},
"privateAPI": {
"tests": 1,
"assertions": 29,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7b-commissions-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existingplugin timingwarnings",
"UI": "Realcomponent Edge/CUA:unknowncontract/missingcommission indeterminate;directionswitchchangesprice label/clearsconfirmation while retaining1000.25/100.10androles/references;specialauctionnotapplicable;finalsale900.15/purchase1100.35,VATnull;save/recover/report2rows+5priorversions. Syntheticonly,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7b-commissions-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "50463ca716b74a669f8e1e72354ac0dfdc80d030",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090"
],
"confirmed_losses": [],
"accepted_delivery": "4193056b/50463ca7;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions checked at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7b-preserved-inputs.json",
"sha256": "2f8e5c92cc3ce422af09631e717eaaee31b8427ada60493f0f18aeda97596a78",
"counts_before": {
"delivered": 79,
"QA": 0,
"functional_pending": 53,
"P001": 1,
"total": 133
},
"scope": "P091only;preserve P090base/VATseparation/history,P060decision/list/plan/scope/proportion,P056authorization/P050serviceVAT/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-commission-base.ts": "3be1331f4da40e6292fa7f5dcfba28355af6d931a7d24f44eb081c6f16c8efb2",
"resources/js/components/simulation-commission-base.tsx": "5bfbb95d2dd22106d7d416fd3af0f7ae0778f22ae9d23da15ba9dd45882cfc94",
"resources/js/components/simulation-monthly-iva.tsx": "16c95f5eaf5d5a308c93b30523292e52ccafed9d4e7f897f8559459116fbf4ae",
"resources/js/lib/project-dossier.ts": "945a9e2a4a9aa6a26f7108f95d4fd237c0551dbf884cec41bcaa3eba592acc4a"
},
"counts_current": {
"delivered": 79,
"QA": 1,
"functional_pending": 52,
"P001": 1,
"total": 133
},
"homologation_unchanged": "4193056b",
"remaining": "Integrate/deliver by existingGit withmanifest,freshbackup/realisolatedrestore andinstalleddelta;no pushinQAtask",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7b-commissions-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"receipt": "l1-g7b-delivery-20261024.json",
"record": "iva_l1_g7b_P091_homologation_20261024",
"counts": {
"delivered": 80,
"QA": 0,
"functional_pending": 52,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,162 @@
{
"implementation_commit": "4672789f2bf1fcce0726936e9e5bec05fb18c448",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P094": [
"act_sale_amount",
"act_normal_value"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(2)(h),Lei13/2016PDF13/p1426(271);15(4)/(5)/(6)PDF14/p1426(272). Lei22/2022PDF3maintains15h/4–6 by remissão;Lei10/2025doesnotamend15. Rectificação2017doesnotamend15h.",
"meaning": "Goods transferred as result of auction,judicial/administrative sale,conciliation or settlement;value at which auction/sale effected or,where applicable,normal value. Five act kinds are contexts,not five branches. No automatic lower value or normal-value fallback.",
"technical_choices": "New opportunity-scoped actSaleBases book in existing modelo_a_snapshot/API/dossier;no schema/permissions change. Chosen net value and composition references,up to6fractiondigits exactly preserved,no assumed fiscal rounding. Changing act/valuation retains both values/documents and clears corresponding applicability confirmation as integrity choice,not new organizational requirement. Reuse existing documents or explicit projection assumptions;no invented certificate,appraiser or approver.",
"scope": "2026/MZN,P094baseonly;normal value supplied with identified basis/scope,not appraised automatically. No incidence,rate,VAT,deduction/field11/ModeloAtotals or substitution of special auctioncommission15g. Unknown values remain indeterminate,explicit zero distinguished.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "All5actkinds and2valuations;ownconditions missing/no;references/date/currency;no minimum/fallback;exactdecimal/zero;switch retention/cleared confirmation;context/history;corruptwriteguard;old books/currentkeys preserved;report"
},
"privateAPI": {
"tests": 1,
"assertions": 28,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7c-act-bases-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:missing applicability and valuation reference yield indeterminate;switch to normal retains2200.50;confirming yields2200.50 instead of1500.25;specialauction condition no yields notapplicable/noIVAzero;finalact1500.25/normal2200.50,VATnull;save/recover/report2rows+5priorversions. Synthetic QA,not manual Tempo acceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7c-act-bases-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "15894f4b0493423fda5edde7d016a270fd137a30",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091"
],
"confirmed_losses": [],
"accepted_delivery": "e62b7dfd/15894f4b;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions checked at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7c-preserved-inputs.json",
"sha256": "2ffcdb0f42ac1011aa29fde5b72532c99a3c75210e754442e38af587489d542c",
"counts_before": {
"delivered": 80,
"QA": 0,
"functional_pending": 52,
"P001": 1,
"total": 133
},
"scope": "P094only;preserve P091directions/references/baseVAT,P090,P060scope,P056,P050,partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-act-sale-base.ts": "ed555c826427a0964995144c59d4e801bfeebce5219a63a612f31bb977788d00",
"resources/js/components/simulation-act-sale-base.tsx": "384e17aa18ed5ed9a8c6c47773577e87f211c2bccb3acbe3943269a08de1485a",
"resources/js/components/simulation-monthly-iva.tsx": "3b2a24fde6db625c350f7366ec789b5aa7e86aa08645409203b5e96d02dc1ff3",
"resources/js/lib/project-dossier.ts": "852ceaf59b95d92ff57d3b711dc2bc13eb4b547e7d9f1516eb543ece83247c09"
},
"counts_current": {
"delivered": 80,
"QA": 1,
"functional_pending": 51,
"P001": 1,
"total": 133
},
"homologation_unchanged": "e62b7dfd",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7c-act-bases-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"receipt": "l1-g7c-delivery-20261024.json",
"record": "iva_l1_g7c_P094_homologation_20261024",
"counts": {
"delivered": 81,
"QA": 0,
"functional_pending": 51,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,167 @@
{
"implementation_commit": "3bcd98e78ee42c3034cee452b8570a72cd89020e",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P095": [
"fuel_tax_included",
"fuel_tax_excluded"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(2)(i),Lei13/2016PDF13/p1426(271);15(1)/(5)/(6),PDF13–14/p1426(271–272);Lei22/2022PDF3maintains15i/1/5/6 by remissão;Lei10/2025doesnotamend15;2017rectificationdoesnotamend15i.",
"meaning": "Transmissions of fuel with price fixed by public authority,effected by resellers;consideration under15(1)/(5) excludes FuelTax(TC). Two input-composition treatments in one branch,not two legal benefits.",
"formula": {
"fuel_tax_included": "consideration net of own VAT but including TC minus exact TC amount",
"fuel_tax_excluded": "consideration already net of own VAT and TC,unchanged;no second subtraction"
},
"technical_choices": "New regulatedFuelBases opportunity-scoped book in existingmodelo_a_snapshot/API/dossier;no schema/permissions change. Exactdecimal up to6fractiondigits,no assumed fiscalrounding. Explicit reference/scope/interval of price with operation date/month checked;end optional if no fixedterm and temporal correspondence confirmed,not invented mandatory expiry. Source/projection assumptions reused;no certification/approver. Treatment change retains amounts/documents but clears composition confirmation as integrity choice.",
"scope": "2026/MZN,P095baseonly;no automatic price,TC rate/amount,IVA/incidence/rate/deduction/field11/ModeloAtotals. Not general fuel purchases/services or unregulated price. Unknown TC/price parameters indeterminate;zero only explicit. TC exceeding consideration remains indeterminate,not negative/flooredzero.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Ownconditions missing/no;price/reference/scope/date interval including openend/boundaries;exactdecimal subtractonce/zero/excess;switch retention/clearedconfirmation;corruptwriteguard;oldbooks/currentkeys/history/report"
},
"privateAPI": {
"tests": 1,
"assertions": 30,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7d-fuel-base-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:TCunknown and operation afterpriceinterval indeterminate;composition switch hidesTC/clearsconfirmation,retains100.10;alreadyexcluded preserves1500.25;pricefixed no yields notapplicable/noIVAzero;finalincluded1400.15/excluded1500.25,VATnull. Save/recover/report2rows+6priorversions. SyntheticQA,not manualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7d-fuel-base-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "960088016944bbdd24e7479a7c08499809cb42fe",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094"
],
"confirmed_losses": [],
"accepted_delivery": "df7cb7fa/96008801;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7d-preserved-inputs.json",
"sha256": "eafc5db6d2b8c0c50f29564eefd2af15fcc77b93d030adae2feb2e75e7a86894",
"counts_before": {
"delivered": 81,
"QA": 0,
"functional_pending": 51,
"P001": 1,
"total": 133
},
"scope": "P095 only;all previousbooks immutable including P094/91/90/P060/P050 and partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-fuel-base.ts": "3e00b285b2bfd4e0cdd7106be5f8ebd86dbc17b4dd83e36ccba844b6d6a7a9d2",
"resources/js/components/simulation-fuel-base.tsx": "d55f8ede39ed42114c9eed473684cf1a764420e63cdb0faf2af4906773b8cfd9",
"resources/js/components/simulation-monthly-iva.tsx": "11988f00f562c8d86db442cd7996a6640e8916feea11230f6105521985d83720",
"resources/js/lib/project-dossier.ts": "85ca23ac160e7e06c0e605bfc0dc1a4ed2678df94136eaaa21ccfcba883a7e7c"
},
"counts_current": {
"delivered": 81,
"QA": 1,
"functional_pending": 50,
"P001": 1,
"total": 133
},
"homologation_unchanged": "df7cb7fa",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7d-fuel-base-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"receipt": "l1-g7d-delivery-20261024.json",
"record": "iva_l1_g7d_P095_homologation_20261024",
"counts": {
"delivered": 82,
"QA": 0,
"functional_pending": 50,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,168 @@
{
"implementation_commit": "9f053ac9d3f332c432420fd5b5d31cdfb7936071",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P100": [
"noncash_only",
"cash_and_noncash"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(3)/(4),Lei13/2016PDF14/p1426(272);composition15(5)/(6);Lei22/2022PDF3maintains15(3–6)byremissão;Lei10/2025doesnotamend15;2017rectificationdoesnotamend15(3)/(4).",
"meaning": "Consideration not wholly or partly defined in money:money received/receivable plus normalvalue of goods/services given in exchange as consideration for identified operation. Entirely noncash only with express composition confirmation,not inferred from emptycash field.",
"formula": {
"noncash_only": "normalvalue,absence of monetary consideration explicitly confirmed",
"cash_and_noncash": "cashamount received/receivable + normalvalue of goods/services given in exchange"
},
"technical_choices": "New noncashBases opportunity-scoped book in existingmodelo_a_snapshot/API/dossier;no schema/permissionschange. Exactdecimal up to6fractiondigits,no assumed fiscalrounding. Composition change retains cash/reference/normalvalue/documents but clears corresponding confirmation as integrity choice. Hidden cash is preserved but not summed in noncash_only. Normalvalue supplied with15(4)basis/scope,composition15(5)/(6)netofownVAT;no automatic appraisal/certificate/appraiser/approver.",
"scope": "2026/MZN,baseonly;no currencyconversion,automatic normalvaluation,incidence/rate/VAT/deduction/field11/ModeloAtotals. Unknown monetary share not inferredzero;explicitzero differentiated. Otherbranches and prior normalvalue contexts unchanged.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Ownconditions missing/no;exchange/agreement/normalvalue basis/scope/references;exactadditiononce/zero/largefractionalamounts;switchretention;hidden cash excluded;corruptwriteguard;alloldbooks/currentkeys/history/report"
},
"privateAPI": {
"tests": 1,
"assertions": 29,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7e-noncash-base-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:normalvalue basis/moneyunknown indeterminate;switch mixed→noncash hidescash/clearsconfirmation;confirmed noncash uses2200.50 despite retained500.25;switchback recovers500.25;finalnoncash2200.50/mixed2700.75,VATnull;save/recover/report2rows+5priorversions. SyntheticQA,not manualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7e-noncash-base-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "6234d3439285f0251af90694c9347f1936cb4f7f",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095"
],
"confirmed_losses": [],
"accepted_delivery": "92a7418c/6234d343;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7e-preserved-inputs.json",
"sha256": "825dd90f48540c83bd7c9ca8b234e0dd558a12aca19d394cfa91b32a17d0edb7",
"counts_before": {
"delivered": 82,
"QA": 0,
"functional_pending": 50,
"P001": 1,
"total": 133
},
"scope": "P100 only;allpreviousbooks immutable including P095TC/P094valuation/P091/P090/P060/P050/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-noncash-base.ts": "d07cbefec4d54cffe41626093832972b31b8eacf0021a146655c79b189f25434",
"resources/js/components/simulation-noncash-base.tsx": "e8d5dd905d9c6b75ed7589e4ecf7b708bb288ba59285d409f444e799f9f09c35",
"resources/js/components/simulation-monthly-iva.tsx": "bc1005d31306c859dfa325f8d63e8bac98073b38f6d65ab22f736537629d4752",
"resources/js/lib/project-dossier.ts": "84d3c968dfa0a644f1767c09dd266fbe32b086117da0416564681e4a51e8d7f6"
},
"counts_current": {
"delivered": 82,
"QA": 1,
"functional_pending": 49,
"P001": 1,
"total": 133
},
"homologation_unchanged": "92a7418c",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7e-noncash-base-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"receipt": "l1-g7e-delivery-20261024.json",
"record": "iva_l1_g7e_P100_homologation_20261024",
"counts": {
"delivered": 83,
"QA": 0,
"functional_pending": 49,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,166 @@
{
"implementation_commit": "e3caf553616da59222dbc2bd2327dfae602ad3db",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P101": [
"tax_component",
"accessory_component"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(5)(a)/(b),Lei13/2016PDF14/p1426(272);15(1)/(2)/(6);Lei22/2022PDF3maintains15(5)byremissão;Lei10/2025doesnotamend15;2017rectificationdoesnotamend15(5).",
"meaning": "Include taxes,duties,fees/otherimpositions excludingownVAT;accessory expenses charged forcommissions,packaging,transport/insurance onclientaccount. Both component treatments form one base peroperation,not parallelbases.",
"formula": "initial amount netofownVAT/applicableexclusions + sum of applicable components notalreadyincluded;alreadyincluded components retained without secondsum",
"technical_choices": "New considerationCompositions opportunity-scoped book in existingmodelo_a_snapshot/API/dossier;operations with nested components,ids and immutableinput/history/report. No schema/permissionschange. Exactdecimal up to6fractiondigits,no assumed fiscalrounding. Componenttreatmentchange preservesamount/reference/inclusion but clearsnatureconfirmation as integritychoice. Idduplicates/malformednestedwrite guarded. References reuse documents/projectionassumptions,no newcertificates/approvers.",
"scope": "2026/MZN,P101compositiononly;no incidence/taxrates/IVA/deduction/field11/ModeloAtotals. Initialamount explicitlynetofownIVA and applicable15(6)exclusions;specialbases15(2)respected includingP095TCexclusion. DetailedP102exclusions notclosed by thisrecorte. Unknowncomponentamount/inclusion notassumedzero or missing;ownIVA not added ascomponent.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Ownoperationandcomponentconditions unknown/no;tax/accessory separately andtogether;ownIVA;references;addmissingonly/alreadyincluded unchanged;exactdecimal/zero;switchretention;duplicateparts/malformednestedwrite;oldbooks/currentkeys/history/report"
},
"privateAPI": {
"tests": 1,
"assertions": 31,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7f-composition-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:unknown inclusion indeterminate;tax100.10alreadyincluded plusaccessory50.25 produces1050.50 from1000.25;ownIVAcondition no yields notapplicable/noIVAzero;finalbothnotincluded1150.60,VATnull;save/recover/report1operation/2components/6priorversions. SyntheticQA,not manualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7f-composition-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "0bef805ede26c9878f5e040aafbd65186ddb56f2",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100"
],
"confirmed_losses": [],
"accepted_delivery": "70b4a640/0bef805e;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7f-preserved-inputs.json",
"sha256": "6f22015f78ed08c36234b5a19ad574fbc2662d6854c1f85112e1c2bd635ec325",
"counts_before": {
"delivered": 83,
"QA": 0,
"functional_pending": 49,
"P001": 1,
"total": 133
},
"scope": "P101 only;allpreviousbooks immutable including P100normalvalue/P095TC/P094/P091/P060/P050/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-composition-base.ts": "557d6b4b5ed2c534b69e5edf43c9e4014cdfb7362bf164829cd16e4deeabbf73",
"resources/js/components/simulation-composition-base.tsx": "3507c14f15e40bf018089520a46b7e22002ddbd9bffa64d179f085b0d933ae0e",
"resources/js/components/simulation-monthly-iva.tsx": "82694be2d0a5ac097b64d68dceeda1df239bb2bf2bce193e8112d3dadad79a95",
"resources/js/lib/project-dossier.ts": "c640883680629049ea851a63e28e967a70297257a55e5d885df8e32f4b81e871"
},
"counts_current": {
"delivered": 83,
"QA": 1,
"functional_pending": 48,
"P001": 1,
"total": 133
},
"homologation_unchanged": "70b4a640",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7f-composition-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"receipt": "l1-g7f-delivery-20261024.json",
"record": "iva_l1_g7f_P101_homologation_20261024",
"counts": {
"delivered": 84,
"QA": 0,
"functional_pending": 48,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,169 @@
{
"implementation_commit": "acc633bf088c66042a8442d356076bdbb508ac53",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P102": [
"judicial_indemnity",
"granted_discount",
"third_party_payment",
"returnable_packaging"
]
},
"branch_count": 1,
"treatment_count": 4,
"source": "CIVA15(6)(a–d),2016PDF14/p1426(272);27(5)(b),PDF17/p1426(275);2022PDF3maintains15(6);2025PDF14maintains27(5)(b),amends27(10),not15;2017rectificationdoesnotamendtheseprovisions.",
"meaning": "Four exclusions:judicial indemnity for total/partial contractbreach;granteddiscount/abatement/bonus;payment inname/onaccount of purchaser/recipient recorded inappropriate thirdpartyaccounts;packaging notactuallytransacted withseparateinvoiceindication/express agreedreturnmention.",
"formula": "initialamount netofownVAT with15(5)inclusions minus only exclusions stillincluded;alreadyexcluded retained without secondsubtraction",
"technical_choices": "New considerationExclusions opportunity-scoped book,operations with nestedparts and ownconditions/references/scope. Exactdecimal up to6fractiondigits,no assumedrounding. Typechange preservesamount/reference/scope/hiddenaccounts/invoiceexcerpt butclears ownconditions. No newcertificates/approvers. References identify judicialdeclaration/contract,discountgrant,thirdpartyaccounts/recipient,invoicepackagingmention or explicit projectionassumptions.",
"scope": "2026/MZN,P102baseonly;no IVA/incidence/rate/deduction/field11/regularisations/ModeloAtotals. No automaticlegaldecision orpriorperiodposting. Packagingrequiresagreedreturnmention,notactualreturn. Unknownconditions/amount/inclusion indeterminate;failedcondition yields notapplicable,notzero;exclusionsexceedinginitialamount notnegative/flooredzero.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Allfour treatments ownconditions unknown/no;judicial/contract/grant/account/recipient/invoice/scope references;subtractincludedonly/alreadyexcluded;exactdecimal/zero/excess;typechange retains hiddenvalues andclears ownconditions;corruptnestedguard;allpreviousbooks/currentkeys/history/report"
},
"privateAPI": {
"tests": 1,
"assertions": 34,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7g-exclusions-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:judicialdeclarationunknown;discountnotgranted;thirdpartyaccountconditionunknown;packagingreturnmentionunknown allpreventexclusion. Alreadyexcluded indemnity100.10notresubtracted=>899.80. Finalallincluded:1000.25−200.55=799.70,VATnull;save/recover/report1operation/4parts/8priorversions. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7g-exclusions-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "a89f9eca8cb388512d97aebf5e2e1ff267756dd6",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101"
],
"confirmed_losses": [],
"accepted_delivery": "7e5710eb/a89f9eca;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7g-preserved-inputs.json",
"sha256": "7bc9a3a0b2a37dbb6f342dde26c6463e2f5ce62228796e44fc0e0e213a03dfa0",
"counts_before": {
"delivered": 84,
"QA": 0,
"functional_pending": 48,
"P001": 1,
"total": 133
},
"scope": "P102only;allpreviousbooks immutable including P101/P100/P095/P094/P091/P060/P050/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-exclusion-base.ts": "2d4d2f607eb4e24e617a5640b239d14ab4958e364cc6f3cda36a407b8b1d782f",
"resources/js/components/simulation-exclusion-base.tsx": "4c69345d9e49c96756727cbf909bf1d5949fa9db14c346157413dd1885258520",
"resources/js/components/simulation-monthly-iva.tsx": "81be9e69aeab5d544a2fb8aadcf487bb6f04ae0ab06861759709912afe9c82bf",
"resources/js/lib/project-dossier.ts": "af10643db841e08f14a9ef534ccf7367fe5b05e20c58b770e3a4cf51aa0192e8"
},
"counts_current": {
"delivered": 84,
"QA": 1,
"functional_pending": 47,
"P001": 1,
"total": 133
},
"homologation_unchanged": "7e5710eb",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7g-exclusions-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"receipt": "l1-g7g-delivery-20261024.json",
"record": "iva_l1_g7g_P102_homologation_20261024",
"counts": {
"delivered": 85,
"QA": 0,
"functional_pending": 47,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,171 @@
{
"implementation_commit": "67b8b5814955ebce761b2123969958c9f2c8bf0f",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P103": [
"price_comparison",
"referenced_correction"
]
},
"branch_count": 1,
"treatment_count": 2,
"source": "CIVA15(7),2016PDF14/p1426(272),15(1)/(5)/(6);2022PDF3maintains15(7);2025doesnotamend15;2017rectificationdoesnotamend15(7).",
"meaning": "AT may correct consideration below current/normal factorygate/wholesale/retail/serviceprice,considering natureoftransmission. Comparison doesnot exerciseATpower or automaticallysubstitute referenceprice. Recordedcorrection in effective declareddata or expresslyconditional projectedscenario retains ownamount/ref/date/scope.",
"formula": {
"price_comparison": "compare exactdeclared/reference values;retain declaredbase withoutautomaticcorrection",
"referenced_correction": "if15(7)belowtrigger andscopeconfirmed,use explicitlyreferenced correctedamount;no max/defaultreference"
},
"technical_choices": "New valueReviews opportunity-scoped book in existingmodelo_a_snapshot/API/dossier;exactdecimal up to6fractiondigits,no assumedrounding. Context/percourse/origin changes preserve values/references butclear affected confirmation;projected→effective cannotreuse assumedcorrectionconfirmation. No newcertificates/appraisers/approvers. Currentkeys/history/immutableinputs/report retained.",
"scope": "2026/MZN,P103baseonly;no automaticvaluation/legalcorrection,incidence/rate/VAT/deduction/field11/regularisation/ModeloAtotals oractiveauthorityaction. Referencecontext/scope and equivalentcomposition required. Unknowncorrectionamount notdefaultreference;no inventedfloor/maximum. Projectedcorrection clearlyconditional,notATdecision. Notbelowdoesnotdemonstrate15(7)trigger.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Allfourpricecontexts;ownconditions/references;below/equal/above;no automaticreference substitution;correctionamount/ref/date/scope/application;projected/effective distinction;exactdecimal/zero;context/percourse/originswitch retention/clearedconfirmation;oldbooks/currentkeys/history/report;corruptwriteguard"
},
"privateAPI": {
"tests": 1,
"assertions": 33,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7h-value-review-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:pricereference/missingcorrectedamount indeterminate;comparisonbelow retains1000.25 against1500.50;projected→effective clearsapplicationconfirmation;outofscope no preventsapplication;returnprojected/confirmed producesconditional1400.75,not1500.50. Save/recover/report2rows+5priorversions,VATnull. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7h-value-review-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "adb849d4fc6d840eec1123e8fc90c4c34a008da4",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102"
],
"confirmed_losses": [],
"accepted_delivery": "5d5f3b41/adb849d4;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7h-preserved-inputs.json",
"sha256": "d2e25976ee432238fa90791db01c124f24c0cfb805e213af73d4c7dab4f25f31",
"counts_before": {
"delivered": 85,
"QA": 0,
"functional_pending": 47,
"P001": 1,
"total": 133
},
"scope": "P103only;allpreviousbooks immutable including P102/P101/P100/P095/P060/P050/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-value-review.ts": "411aa0506868afd112bac0e27571db1978b21bd8375051dc36abbe55dfad7876",
"resources/js/components/simulation-value-review.tsx": "ff3fc2ad0e0082a931341ae51b63d6abe2bfee00b90e5891fc4dce742e84a017",
"resources/js/components/simulation-monthly-iva.tsx": "c7f6a45a8533f6ce4128c912511b7712011fc365b99dfbe675d6cb2b455dfca1",
"resources/js/lib/project-dossier.ts": "89ee4a4abfa36c4d159edd71c936d718e2a6e99c9c8a83be669451fb309c5d2c"
},
"counts_current": {
"delivered": 85,
"QA": 1,
"functional_pending": 46,
"P001": 1,
"total": 133
},
"homologation_unchanged": "5d5f3b41",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7h-value-review-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"receipt": "l1-g7h-delivery-20261024.json",
"record": "iva_l1_g7h_P103_homologation_20261024",
"counts": {
"delivered": 86,
"QA": 0,
"functional_pending": 46,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,170 @@
{
"implementation_commit": "90b31c677f9f541364a2fdddc98d01280d4371f1",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P089": [
"free_company_service",
"private_company_asset_use",
"exempt_sector_asset_use"
]
},
"branch_count": 1,
"treatment_count": 3,
"source": "CIVA15(2)(c),2016PDF13/p1426(271),4(2)(a)/(b)PDF7/p1426(265),15(4)/(5)/(6)PDF14;2022doesnotamend4,maintains15c/4–6;2025doesnotamend4/15;2017rectificationdoesnotamendtheseprovisions.",
"meaning": "Free services bycompany forprivate/nonbusinesspurpose4(2)(a);useofcompanygoods forprivate/nonbusinesspurpose or in exemptsector4(2)(b). Previous total/partialdeduction ongoods/elements requiredonlyfor4(2)(b),not4(2)(a). Use distinctfrompermanentgoods transferP088.",
"formula": "normalvalue ofservice under15(4),identifiedbasis/scope andcomposition15(5)/(6),netofownVAT",
"technical_choices": "New serviceNormals opportunity-scoped book in existingmodelo_a_snapshot/API/dossier;exactdecimal up to6fractiondigits,no assumedrounding. Treatment change retains amounts/documents/asset/prior deduction references butclears ownconditions,keepingcommonconditions;hiddenvalues notimposed onfree_service. References reused or explicitprojectionassumptions,no newcertificate/appraiser/approver.",
"scope": "2026/MZN,P089baseonly;no automaticnormalvaluation orsubstitution byassetpurchaseprice/cost;no IVA/incidence/rate/deduction/field11/regularisation/ModeloAtotals. Prior deductionfact/reference doesnot calculateorgrant deduction. Unknownconditions/normalvalue indeterminate,explicitno notapplicable notzero. Otherbooks includingP103/102/101/095unchanged.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Allthree treatments ownconditions unknown/no;free_service no priorDeduction prerequisite;assetuse requiresasset/deduction reference;normalvalue basis/scope/date/currency;exactdecimal/zero;switch preserveshiddenrefs/clearsownconditions;oldbooks/currentkeys/history/report;corruptwriteguard"
},
"privateAPI": {
"tests": 1,
"assertions": 29,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7i-service-normal-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:missingnormalvaluebasis indeterminate;privateassetuse priorDeductionno notapplicable,unknown indeterminate;switchprivateuse→free hidesasset/deductionrefs andclearsownconditions,free succeedswithoutprior deduction;switchback recoversrefs andrequiresownconditions. Save/recover/report500.25/700.50/900.75,VATnull,3rows+5priorversions. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7i-service-normal-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "33cc971a122be5334b865cb5b3b92c93485f59a0",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103"
],
"confirmed_losses": [],
"accepted_delivery": "cd530b24/33cc971a;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g7i-preserved-inputs.json",
"sha256": "f563b21e8c75ab7db66bd5c9545f539f304449877796dd71f08c9ded8ee385d0",
"counts_before": {
"delivered": 86,
"QA": 0,
"functional_pending": 46,
"P001": 1,
"total": 133
},
"scope": "P089only;allpreviousbooks immutable including P103/P102/P101/P100/P095/P060/P050/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-service-normal.ts": "e10fa8131534982eae17ce72849fb794a8e0438c85719b872571a33c53e5f019",
"resources/js/components/simulation-service-normal.tsx": "b7838cc7dadd058906a3997e218deb79792d587a6daf67f7f3139ff22a0668a5",
"resources/js/components/simulation-monthly-iva.tsx": "8581d037947c9d764400e99627952524bcf28ed8b5bf865ba4a1cb4b74acd7ac",
"resources/js/lib/project-dossier.ts": "aa15412c46064a9cff6dbe2dba086e1acfe79fe50f313280ccb9ee7c89484c99"
},
"counts_current": {
"delivered": 86,
"QA": 1,
"functional_pending": 45,
"P001": 1,
"total": 133
},
"homologation_unchanged": "cd530b24",
"remaining": "Integrate/deliver through existingGit withmanifest,freshbackup/real isolatedrestore and installeddelta;no push in QA task",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g7i-service-normal-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"receipt": "l1-g7i-delivery-20261024.json",
"record": "iva_l1_g7i_P089_homologation_20261024",
"counts": {
"delivered": 87,
"QA": 0,
"functional_pending": 45,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,189 @@
{
"implementation_commit": "ec33fb5be2934f34d06349b84bf8e5316f90960e",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P106": [
"general_service"
],
"AUD-SIM-L1-P107": [
"immovable_service"
],
"AUD-SIM-L1-P108": [
"movable_work"
],
"AUD-SIM-L1-P109": [
"activity_service"
],
"AUD-SIM-L1-P110": [
"transport_service"
]
},
"branch_count": 5,
"treatment_count": 5,
"QA_example_count": 10,
"source": "CIVA6(3),6(4)/(5)a–d,6(6),Lei13/2016 PDF7–8/p1426(265–266);Aviso BR89-I,de08/06/2017,PDF1,rectifica expressamente6(5)c/d:actividades nacionais e transporte pela distância nacional;Lei10/2025 PDF12mantém6(3–6),altera7–9digitais.",
"meaning": {
"P106": "Sede/EP/domicílio do prestador a partir do qual o serviço é prestado,sem regras especiais aplicáveis. Não usar endereço/nacionalidade do cliente.",
"P107": "Local do imóvel e relação do serviço,incluindo preparação/coordenação de trabalhos imobiliários,peritos/agentes. Independente da sede do prestador.",
"P108": "Execução total ou essencial dos trabalhos/peritagens em bens móveis corpóreos. Independente da sede do prestador.",
"P109": "Local material de actividades artísticas,científicas,desportivas,recreativas,ensino/similares,organizadores e serviços acessórios;6(5)c rectificado2017.",
"P110": "Distância nacional6(5)d rectificada2017;partida/chegada nacionais incluem percurso fora do país6(6);ida/volta são dois trajectos. Identificar distância total/nacional na mesma unidade,sem apuramento monetário."
},
"formula": "Territorial classification only;P110 exact distances retained as numerator/denominator with6(6)deemednational override,no monetaryapportionment/rounding.",
"scope": "Recorte2026,classificação territorial de serviços por factos próprios;sem base,taxa,IVA,isenção,dedução/campo11 ou totaisModeloA. Digital/outros6(7)/(8)exigem percursos próprios,não classificados automaticamente. P002transversal não encerrado.",
"technical_choices": "NewserviceLocations opportunity-scoped book in existingmodelo_a snapshot/API/dossier;no schema/permissions. Switch preserveshiddenrefs/locations/routes but clearsownconditions,keepscommon. Decimaldistance up to18integer/6fractiondigits,BigInt comparison,no float/no assumedzero. References or explicitprojectedassumptions reused,no certificates/approvers invented.",
"verification": {
"frontend": {
"tests": 7,
"passed": 7,
"failed": 0,
"by_branch": {
"AUD-SIM-L1-P106": "own conditions unknown/no,dates/references,domestic/foreign cases passed",
"AUD-SIM-L1-P107": "own conditions unknown/no,dates/references,domestic/foreign cases passed",
"AUD-SIM-L1-P108": "own conditions unknown/no,dates/references,domestic/foreign cases passed",
"AUD-SIM-L1-P109": "own conditions unknown/no,dates/references,domestic/foreign cases passed",
"AUD-SIM-L1-P110": "own conditions unknown/no,dates/references,domestic/foreign cases passed"
},
"additional": "Preservation of all oldbooks includingP105 and partialP084/P085;switch hiddenretention/ownconditions reset;scope/history/report;transport mixed route,deemed national route,zero vs unknown,invalid/decimal exact distances."
},
"privateAPI": {
"tests": 1,
"assertions": 48,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g8-services-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:unknown providercountry makesP106 indeterminate;restoration producesnational. P110 departureMZ/arrivalforeign yieldsnationalportion80.25of100.50. Saved/recovered/report10rows+3previousversions across5branches;VAT/base/rate alwaysnull. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g8-services-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "aac3f463067e9178e15219262027fcb976566a2a",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105"
],
"confirmed_losses": [],
"accepted_delivery": "8f14f5dd/aac3f463;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-g8-services-preserved.json",
"sha256": "bed8a17fc6bf961dc15eccc46a8c336270752728470cf196cb2c2c901085c186",
"scope": "P106–109 QA only;P105 and all previous books/history immutable;no active writes"
},
"runtime_delta": {
"resources/js/lib/iva-service-location.ts": "abf13bd0f6f8aed209b38f3fd8d5906b96572de2d13f87b0d742ee3f31095a19",
"resources/js/components/simulation-service-location.tsx": "ede4923dc4343949821cdd1c540837261cf816afee3069d031053cac73da5339",
"resources/js/components/simulation-monthly-iva.tsx": "dd102e122a243f58c85db0dcde889877066c5aac9c873eb0f8f93905a6d0d848",
"resources/js/lib/project-dossier.ts": "03bfad1ac2a443ee4fd0a7c0091f5b3e34e17a9c8b2b75d1249ac0c96729d643"
},
"counts_current": {
"delivered": 88,
"QA": 5,
"functional_pending": 39,
"P001": 1,
"total": 133
},
"homologation_unchanged": "8f14f5dd",
"remaining": "One jointGit integration/delivery forfivecompatiblebranches,one backup/realrestore,individualQAproofsreused,installeddelta only. No individualbranch deployment.",
"limits": "P084/P085partial,pending;L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g8-services-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"receipt": "l1-g8-services-delivery-20261024.json",
"record": "iva_l1_g8_services_P106_P110_homologation_20261024",
"counts": {
"delivered": 93,
"QA": 0,
"functional_pending": 39,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,171 @@
{
"implementation_commit": "0682ef74e2e1523d5a424b92989de39122677898",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P105": [
"goods_with_transport",
"goods_without_transport",
"goods_before_import"
]
},
"branch_count": 1,
"treatment_count": 3,
"source": "CIVA6(1)/(2),Lei13/2016 PDF7/p1426(265);Lei10/2025 PDF12 mantém1/2 e altera7–9 digitais.",
"meaning": "Local dos bens no início transporte/expedição ou,sem transporte,quando postos à disposição;regra especial do importador/transmissões subsequentes antes da importação nacional. Fora do território não equivale a isenção ou IVA zero.",
"formula": "Classificação territorial pelos factos6(1)/(2),sem cálculo monetário.",
"scope": "2026,bens corpóreos;classificação territorial apenas,sem base,taxa,IVA,isenção,dedução/campo11,direitos ou totaisModeloA. Não abrange digitais/serviços por esta regra.",
"technical_choices": "Livro goodsLocations por oportunidade no snapshot/API/dossier existente;sem schema/permissões. Troca conserva locais/referências ocultos e limpa condições próprias;dados e documentos reutilizáveis ou pressupostos expressos,sem certificados/aprovadores inventados.",
"verification": {
"frontend": {
"tests": 4,
"passed": 4,
"failed": 0,
"scope": "Três percursos,condições desconhecidas/não,referências/datas,local físico e regra6(2),endereço/moeda não determinam território,troca conserva dados ocultos/limpa condições próprias,gravação/histórico/relatório e livros anteriores preservados."
},
"privateAPI": {
"tests": 1,
"assertions": 30,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g8a-goods-location-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Edge/CUA componente real:local desconhecido produz indeterminado;restauradoMZ,gravação/recuperação/relatório confirmam national/outside/national,IVA/base/taxa null,3linhas e4versões anteriores. Dados sintéticos,não aceitação manualTempo.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g8a-goods-location-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "21ce03f65ced0047ae7143e47c76f250b20029d6",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103"
],
"confirmed_losses": [],
"accepted_delivery": "6f1cf7b7/21ce03f6;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared at delivery",
"frozen": "tests\\frontend\\fixtures\\iva-g8a-preserved-inputs.json",
"sha256": "7b0b553abaeb83d891064cedb65ccddc730caac27a227ae2046aa3e4f5d75538",
"counts_before": {
"delivered": 87,
"QA": 0,
"functional_pending": 45,
"P001": 1,
"total": 133
},
"scope": "P105only;allpreviousbooks immutable including P089/P103/P102/P101/P095/P060/P050/partialP084P085;no active query/write"
},
"runtime_delta": {
"resources/js/lib/iva-goods-location.ts": "c187bbaf13d408461e787786dc8cc81504fef6ed60a848f62ebffe31cfa86e6d",
"resources/js/components/simulation-goods-location.tsx": "e4440c1315a1b1009d9b51ced99d7e6a2fc65a3ebac05d6b5bde1d41a796784f",
"resources/js/components/simulation-monthly-iva.tsx": "ca7c2185d9fcf8ffc8374be4a99d3102c7e1326372859ac678603da90b3de913",
"resources/js/lib/project-dossier.ts": "c95bbd7e307ab2c7dcec42fc9d280709f0ecb7c9be174977ae571cc4447bf5b9"
},
"counts_current": {
"delivered": 87,
"QA": 1,
"functional_pending": 44,
"P001": 1,
"total": 133
},
"homologation_unchanged": "6f1cf7b7",
"remaining": "Integrar/disponibilizar pelo processoGit existente com manifesto,backup/restauro e delta instalado;sem push nesta tarefaQA.",
"limits": "P084/P085 parciais e pendentes;L1aberto;P00105/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g8a-goods-location-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"receipt": "l1-g8a-delivery-20261024.json",
"record": "iva_l1_g8a_P105_homologation_20261024",
"counts": {
"delivered": 88,
"QA": 0,
"functional_pending": 44,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,264 @@
{
"implementation_commit": "6cffa1188f8f0f43d8d161cf97b7a08a885055f6",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P111": [
"rights_service"
],
"AUD-SIM-L1-P112": [
"advertising_service"
],
"AUD-SIM-L1-P113": [
"telecom_service"
],
"AUD-SIM-L1-P114": [
"consulting_service"
],
"AUD-SIM-L1-P115": [
"data_service"
],
"AUD-SIM-L1-P116": [
"finance_service"
],
"AUD-SIM-L1-P117": [
"staff_service"
],
"AUD-SIM-L1-P118": [
"intermediation_service"
],
"AUD-SIM-L1-P119": [
"abstention_service"
],
"AUD-SIM-L1-P120": [
"movable_lease_service"
]
},
"branch_count": 10,
"treatment_count": 10,
"QA_example_count": 30,
"source": "CIVA2(1)a/b,2(2),6(3),6(7)a–j e6(8),Lei13/2016PDF6–8/p1426(264–266);23(1)/(2),25(4),26(1–3),PDF16–17. Lei22/2022não altera estes artigos. Lei10/2025PDF12mantém alíneasa–j ealtera6(7–9);PDF13art23(2)excluik e remete declaração33(2);PDF14mantém26(1–3),adita26(4)digital ealtera33(2).",
"meaning": {
"P111": {
"clause": "6(7)a",
"treatment": "rights_service",
"nature": "Cessão/autorização de direitos de autor,licenças,marcas e análogos"
},
"P112": {
"clause": "6(7)b",
"treatment": "advertising_service",
"nature": "Publicidade"
},
"P113": {
"clause": "6(7)c",
"treatment": "telecom_service",
"nature": "Telecomunicações"
},
"P114": {
"clause": "6(7)d",
"treatment": "consulting_service",
"nature": "Consultores,engenheiros,advogados,economistas,contabilistas/gabinetes de estudos,organização,investigação/desenvolvimento e similares"
},
"P115": {
"clause": "6(7)e",
"treatment": "data_service",
"nature": "Tratamento de dados/fornecimento de informações"
},
"P116": {
"clause": "6(7)f",
"treatment": "finance_service",
"nature": "Operações bancárias,financeiras,seguro/resseguro;eventual isenção independente"
},
"P117": {
"clause": "6(7)g",
"treatment": "staff_service",
"nature": "Colocação de pessoal"
},
"P118": {
"clause": "6(7)h",
"treatment": "intermediation_service",
"nature": "Intermediação em nome epor conta de outrem no fornecimento de serviço enumerado,subjacente identificado"
},
"P119": {
"clause": "6(7)i",
"treatment": "abstention_service",
"nature": "Obrigação de não exercer,mesmo parcialmente,actividade/direito enumerado,subjacente identificado"
},
"P120": {
"clause": "6(7)j",
"treatment": "movable_lease_service",
"nature": "Locação de bens móveis corpóreos,incluindo financeira,bens/contrato identificados"
}
},
"routes": {
"inbound": "Prestador semsede/EP/domicílio nacional a partir do qual presta;adquirente2(1)a/b comEP/domicílio nacional,incluindo exclusivamente isentos semdedução:territórionacional6(7),responsáveladquirente2(2)/23(2),declaração33(2)nos termosa regulamentar;sem pressupor montante/imposto devido.",
"outbound": "Adquirente estabelecido/domiciliado noestrangeiro:6(8)forado âmbitonacional,ainda que prestadortenha sede/EP/domicílio nacional;não isenção/IVAzero nem imposto estrangeiro presumido. Qualidadea/b oculta/conservada,não imposta aestepercurso.",
"domestic": "Prestador nacional apartirdo qualpresta eadquirentenacional,sem regraspróprias:6(3);qualidade prestadorSP/regimegeral ereferência permite identificarprestador23(1),casocontrário responsávelindeterminado sem apagarclassificaçãoterritorial."
},
"formula": "Territorial classification and responsible party only,no monetarycalculation. No righttodeduction prerequisite for6(7);nondigital23(2)excludedigital26(4)/32(1)c routing.",
"scope": "2026,serviços enumerados não digitais;localização e identificação do responsável pelas obrigações. Sem isenção confirmada,base,taxa,IVA,montante a pagar,dedução/campo11 ou totaisModeloA. P121/P130digitais eP002transversal não fechados;outros6(4)/(5)encaminhados para percursos próprios. Não automatiza declaração,pagamento,retenção ou prazo digital32(1)c.",
"technical_choices": "NewlistedServices opportunity-scoped book in existingmodelo_a snapshot/API/dossier;no schema/permissions. Switchpreserveshiddenparty/quality/targetrefs andclearsownconditions,keepscommon. References or explicitprojectedassumptions reused,no certificates/approvers invented. Requiredfactualrefs explainruleapplication,not provenance revalidation.",
"verification": {
"frontend": {
"tests": 12,
"passed": 12,
"failed": 0,
"by_branch": {
"AUD-SIM-L1-P111": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P112": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P113": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P114": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P115": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P116": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P117": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P118": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P119": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed",
"AUD-SIM-L1-P120": "Ownnature,unknown/no,three routes,quality a/b/other,exemptwithoutdeduction allowed,dates/references and separate responsible passed"
},
"additional": "P118/P119 underlyingclauses/refs,selfreference/digitaltarget guard;switchretains hiddenrefs andclearsownconditions;alloldbooks immutable,currentkeys/history/report/corruptwrites."
},
"privateAPI": {
"tests": 1,
"assertions": 109,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g9-nondigital-20261024\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Realcomponent Edge/CUA:recipientqualityunknown andP118underlyingclauseunknown make resultsindeterminate;switch buyerforeign applies6(8)andhidesquality,returnMZ restoresunknown qualityandoriginalref;restorea/subjclause then save/recover/report30rows+4previousversions. VAT/base/ratealwaysnull,responsible acquirer/outside/provider. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g9-nondigital-20261024\\qa-recovered-report.png"
},
"preservation": {
"base": "4853bc7284d3ed3b1fbafa403fd8406705ac3165",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110"
],
"confirmed_losses": [],
"accepted_delivery": "03c26d66/4853bc72;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-g9-nondigital-preserved.json",
"sha256": "3132adfbbbcde4b2d8c7c7c657dfb38f743d7994650b78bab4931c443eaab628",
"scope": "P111–P120QA;all priorbooks/history includingP105–110 andpartialP084/P085 immutable;no activewrites"
},
"runtime_delta": {
"resources/js/lib/iva-listed-services.ts": "fdc05407576a6c68f8158bc797331380c09e84282609a06ae2a7aa2966c54db6",
"resources/js/components/simulation-listed-services.tsx": "77badfa54c3bb6e25fe5153bb852cebc48262b64b4aabc9348a2b1838094917a",
"resources/js/components/simulation-monthly-iva.tsx": "43446ed6a23b0e101d72ea50f73cdbae0242ace92af12d836a0955cc85800d82",
"resources/js/lib/project-dossier.ts": "fea39f530bf7786778dbdadbb6b08678f2a4071bcccc264e3d026155477517c8"
},
"counts_current": {
"delivered": 93,
"QA": 10,
"functional_pending": 29,
"P001": 1,
"total": 133
},
"homologation_unchanged": "03c26d66",
"remaining": "OnejointGit integration/delivery for tencompatiblebranches,onebackup/realisolatedrestore,individualQAproofsreused,installeddeltaonly. No individualbranch deployment.",
"limits": "P084/P085partial,pending;L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g9-nondigital-20261024\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"receipt": "l1-g9-nondigital-delivery-20261024.json",
"record": "iva_l1_g9_nondigital_P111_P120_homologation_20261024",
"counts": {
"delivered": 103,
"QA": 0,
"functional_pending": 29,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,198 @@
{
"implementation_commit": "9b95e5e7a8d129d6256f8df1b62423b8a94c4477",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P088": [
"permanent_private_goods",
"free_goods_transfer",
"exempt_sector_goods",
"fixed_asset_20a"
],
"AUD-SIM-L1-P124": [
"permanent_private_goods",
"free_goods_transfer",
"exempt_sector_goods",
"fixed_asset_20a"
]
},
"branch_count": 2,
"treatment_count": 4,
"shared_operations_not_double_counted": true,
"source": "CIVA3(3)e/f,Lei13/2016PDF6–7/p1426(264–265);15(2)b,PDF13/p1426(271);20(1)a,PDF15/p1426(273). Lei22/2022PDF3mantém15(2)b e20(1)a;Lei10/2025PDF12mantém3(3)e/f e não altera15/20.",
"meaning": {
"P124": "Classificação da afectação permanente de bens a uso próprio/particular/alheio,transmissão gratuita,afectação a sector isento ou aoactivo imobilizado de bens20(1)a. Exige dedução anterior total/parcial nos bens/elementos;em3e conferir excepção de amostras/ofertas depequeno valor,sem limiar inventado. Facto histórico de dedução,não nova dedução.",
"P088": "Base15(2)b:preço aquisição ou,na sua falta demonstrada,preço custo,reportados ao momento da operação. ClassificaçãoP124 pode estar identificada ebaseP088 indeterminada;sem custo por defeito para preço aquisição desconhecido."
},
"formula": "15(2)b:current acquisitionprice;only if absent,currentcost.No automaticvaluation/update/depreciation/deduction.",
"scope": "2026/MZN,quatro tratamentos partilhados entre dois requisitos sobre a mesma operação,registada uma vez. Distinto de uso temporário de bens como serviçoP089. Sem nova dedução/campo11,regularização,taxaIVA,IVA ou totaisModeloA;dedução anterior apenas facto histórico. Excepçãoamostras/ofertas fica fora deste percurso quando aplicável;desconhecido permanece indeterminado.",
"technical_choices": "NewregulatedGoodsAllocations opportunity-scoped book in existingmodelo_a snapshot/API/dossier;oneoperation jointlycoversP124facts/P088base,no duplicatedentry/aggregation. Switchretains hiddenprices/refs andrequiresreviewownfacts/valuation. Money15integer/6fractiondigits,BigInt,no float/rounding. Existingrefs or explicitassumptions,no certificates/approvers/newthresholds. valuationDate meansmomenttowhichpriceisreported,not compulsorynewdocumentissue date.",
"verification": {
"frontend": {
"tests": 7,
"passed": 7,
"failed": 0,
"by_treatment": "Four ownfact paths,priorDeduction unknown/no,scope/refs/date,exactcurrent acquisition/cost and no VAT",
"additional": "P124classification separatedfromP088missingbase;costfallback requires explicitabsence ofacquisitionprice,currentmoment,date/scope;switchretains hiddenprices/refs andclearsconfirmations;zero vsunknown;allpreviousbooks/history/report/corruptwriteguards"
},
"privateAPI": {
"tests": 1,
"assertions": 27,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-goods-allocation-20261025\\api-tests.xml"
},
"types": "passed",
"build": "passed,existing plugin timing warnings",
"UI": "Edge/CUArealcomponent:acquisitionabsenceunknown retainsassimilatedclassification butcostbaseindeterminate;priorDeductionunknown makesclassificationindeterminate;restorefacts,saved/recovered/report4operations1000.25/800.15/1000.25/800.15MZN and4previousversions,VAT/ratenull. SyntheticQA,notmanualTempoacceptance.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-goods-allocation-20261025\\qa-recovered-report.png"
},
"preservation": {
"base": "1b67fa85ff91174a45c171a6cf6af821727acca5",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P128"
],
"confirmed_losses": [],
"accepted_delivery": "63cc3367/1b67fa85;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-goods-allocation-preserved.json",
"sha256": "724929bfda23475531c373f2bf5a88951c192e7ecb930e1d38249d6e2cbefd14",
"scope": "P088/P124QA;all priorbooks/history includingP105–110 andpartialP084/P085 immutable;no activewrites"
},
"runtime_delta": {
"resources/js/lib/iva-goods-allocation.ts": "6646a2054ebd4e6731b60719d36ce922ed50f2e062e0f980190eb20ce8c23d20",
"resources/js/components/simulation-goods-allocation.tsx": "08c84f4b9af21e46cd9d5af6f6bee9e12c14b111438f1649a694a27f36d14180",
"resources/js/components/simulation-monthly-iva.tsx": "1b27e8d3a6c79c6f8769bf5158ed8be45718f655b13cdf23b517bdb44c5a6951",
"resources/js/lib/project-dossier.ts": "c5de565ff7ded1fcf4d1f3a025694d3e2af4ff75e55266463758e8c1c5fcc314"
},
"counts_current": {
"delivered": 109,
"QA": 2,
"functional_pending": 21,
"P001": 1,
"total": 133
},
"homologation_unchanged": "63cc3367",
"remaining": "OnejointGit delivery forP088/P124,freshbackup/realisolatedrestore,acceptedQA reused,installeddeltaonly. No individualbranch deployment.",
"limits": "L1open;newdeduction/regularisationoutsideincrement;P00105/06;P121digital/P084/P085pending;beveragesL2/L3;Statistics/AIdeferred",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-goods-allocation-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"receipt": "l1-goods-allocation-delivery-20261025.json",
"record": "iva_l1_goods_allocation_P088_P124_homologation_20261025",
"counts": {
"delivered": 111,
"QA": 0,
"functional_pending": 21,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,197 @@
{
"implementation_commit": "f640e193706dd44f74a5d864d73e26c4212c0d88",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P123": [
"consignment_180"
],
"AUD-SIM-L1-P126": [
"missing_goods",
"excess_consumption",
"found_goods"
]
},
"branch_count": 2,
"treatment_count": 4,
"source": "CIVA Lei13/2016,3(3)d,PDF6/p1426(264);3(4),PDF7/p1426(265),páginas digitalizadas visualmente conferidas.Lei22/2022 não altera3;Lei10/2025 PDF12 mantém3(3)d/3(4).Rectificação2017 não altera estas disposições. Acervo completo seisPDF inventariado e hashes conferidos.",
"meaning": {
"P123": "Mercadorias enviadas à consignação não devolvidas em180dias da entrega ao destinatário,3(3)d. Data de entrega/destinatário,conjunto não devolvido e data de conferência identificados;prazo de180dias calculado. No dia180 o prazo ainda decorre;após o prazo,a transmissão é identificada neste recorte,sem calcular exigibilidade/base/IVA.",
"P126": "Presunções ilidíveis3(4):transmissão de bens adquiridos/importados/produzidos não localizados nos estabelecimentos,ou consumo excessivo face ao volume de produção;e aquisição dos bens encontrados nesses locais. Levantamento,estabelecimentos,conjunto/período e prova em contrário separados. Desconhecido indeterminado;prova identificada afasta presunção apenas no âmbito declarado,sem concessão de isenção."
},
"scope": "2026,data de conferência/âmbito identificados;classificação da operação,prazo e presunções,não base/exigibilidade/taxa/IVA,nova dedução/regularização/campo11 ou totaisModeloA.P123 não são embalagensP102;P126 não comprova aquisição efectiva/factura ou elegibilidade para margemP092/P093/P125.Devoluções parciais separadas por conjunto;devolução posterior não apaga histórico.",
"matrix_correction": "P123 antes designado embalagens retornáveis não devolvidas,mas180dias3(3)d corresponde a mercadorias enviadas à consignação.Designação corrigida na mesma matriz com histórico.P102 e114fechos preservados;nenhum requisito novo.",
"technical_choices": "goodsPresumptions poroportunidade no snapshot/API/dossier existentes;UTCdiascivis,dataentrega+180dias,dia180atéfimdia,sem calendárioinventado. Condições ereferências próprias,não certificados/aprovadores;consumoexcessivo qualitativamente fundamentado faceprodução,sempercentageminventada.Troca conserva camposocultos eexigereverconfirmações. Classificação independentes dosmontantes.",
"verification": {
"frontend": {
"tests": 7,
"passed": 7,
"failed": 0,
"coverage": "4percursos;factos/referências/datas;fronteira179/180/181dias,passagemdeano;provaemcontrário desconhecida/semref/referenciada;quantidade semlimiar;trocaconservadados;persistência/histórico/relatório/preservação"
},
"privateAPI": {
"tests": 1,
"assertions": 30,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-goods-presumptions-20261025\\phpunit.xml"
},
"types": "passed",
"build": "passed;existingplugin timingwarnings",
"UI": "Edge/CUAcomponente real:P126 prova desconhecida deixaindeterminado;prova referenciada afasta presunção semisenção;restauro dosfactos,gravação/recuperação/relatório4operações,4versõesanteriores,P123194dias/limite2026-11-28;montantesnull.Histórico indeterminado/afastado preservado.Dadossintéticos,nãoaceitação manualTempo.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-goods-presumptions-20261025\\qa-recovered-report.png"
},
"preservation": {
"base": "4ef7be3d6f651d8fb00ce95ae059772d284cd73a",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P092",
"AUD-SIM-L1-P093",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P125",
"AUD-SIM-L1-P128"
],
"confirmed_losses": [],
"accepted_delivery": "019bcbad/4ef7be3d;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-goods-presumptions-preserved.json",
"sha256": "adb410b8e6c6d8f743497193f679c9eae7215b2f1343c36078c0e40183dd369d",
"scope": "P123/P126QA;allpriorbooks/history immutable;noactivewrites"
},
"runtime_delta": {
"resources/js/lib/iva-goods-presumptions.ts": "16047a0a2e7c052a42e83e3983dab7465a2ae5f1d66966896220f27625ab6f17",
"resources/js/components/simulation-goods-presumptions.tsx": "1dcb1d5a057d3b7a3a33beb36a912b90ea258cbc00d74a8140512b82b9b5a589",
"resources/js/components/simulation-monthly-iva.tsx": "ec9b9ea5fa3f044fd76bf30cac2ee54304a58d502888bf28c705e189f4135d4c",
"resources/js/lib/project-dossier.ts": "2c8eb800c1366614521e33930e49b66c4c9efa4a48c90a784bd4d1bf80b06c7a"
},
"counts_current": {
"delivered": 114,
"QA": 2,
"functional_pending": 16,
"P001": 1,
"total": 133
},
"homologation_unchanged": "019bcbad",
"remaining": "Uma entrega conjuntaP123/P126 pelo processoGit,backup/restauro fresco,provasQA reutilizadas e apenasdeltainstalado.",
"limits": "L1aberto;P00105/06;P121digital/P084/P085pendentes;bebidasL2/L3;Estatísticas/IAadiadas",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-goods-presumptions-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"receipt": "l1-goods-presumptions-delivery-20261025.json",
"record": "iva_l1_goods_presumptions_P123_P126_homologation_20261025",
"counts": {
"delivered": 116,
"QA": 0,
"functional_pending": 16,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,146 @@
{
"implementation_commit": "4e550c389216649a72db38cf8f5e3c644223357a",
"status": "delivered_demonstrated_scope_QA_proofs_preserved",
"branch_count_complete": 1,
"treatments": 8,
"examples": 9,
"coverage": {
"baggage": "Bagagem pessoal,quantidades razoáveis,sem fins comerciais;Lei2/2011,2(1)a;Decreto3/2011,1b/3a",
"monthly": "Remessa mensal,valor da linha e total do âmbito com outras remessas;15.000MZN nos exemplares cotejados",
"accumulated": "Remessas por empresa autorizada,janela e saldo não reutilizados,até seis meses;transição2025/2026 suportada",
"appliance": "Um electrodoméstico por tipo/ano;histórico inclui operações externas ao dossier",
"vehicle": "Veículo automóvel ou tractor/alfaias;direito e histórico identificados,cinco anos e restrição de alienação",
"return_baggage": "Fim do contrato e regresso definitivo;prazo do pedido e prorrogação expressa quando necessária",
"return_vehicle": "Veículo/tractor como bagagem no regresso;estadia de pelo menos um ano,direito disponível,pedido e prazos",
"separate_vehicle": "Substituição excepcional por veículo separado da bagagem:50%de redução,estadia curta só com autorização/pressuposto6(7);IVA normal informado com referência e aritmética decimal exacta",
"heirs": "Transversal aos direitos não usados,bens adquiridos em vida,herdeiro legal e pedido dentro de um ano do óbito;pedido7 não recebe automaticamente o prazo de90dias do pedido do mineiro6(5)"
},
"reference_correction": [
{
"diploma": "Lei n.º 2/2011, de 11 de Janeiro",
"title": "Regime Aduaneiro Aplicável aos Mineiros na República da África do Sul",
"issue": "BR n.º 1, I Série, 4.º suplemento, 11/01/2011",
"file": "docs\\investmoz\\simulations\\source-archive\\Lei-2-2011-BR-1-4-suplemento-MCNet.pdf",
"sha256": "a7543a68cc3287a46a83c39a04821b40f649dd06c4e9b5dc51ff0b47fba08899",
"url_working_copy": "https://tr-jue.mcnet.co.mz/mcnet/portal/faq/category/149/faqsdoclink",
"previous_url": "https://www.pgr.gov.mz/index.php/por/content/download/5617/40390/version/1/file/Lei%2Bdo%2BVoluntariado.pdf",
"previous_url_access": "PGR DNS unavailable to local download in this round;does not invalidate accepted official content. MCNet original obtained and rendered. No claim of byte equality with an unavailable PGR download.",
"articles": [
{
"articles": "1;2(1)(a–d);2(2–5);3;4",
"pdf_page": 1,
"printed_page": "not printed on this opening page",
"meaning": "Scope,goods,quotas,non-alienation,return,heirs,possible limit revision,alcohol/tobacco exclusion,regulation"
},
{
"articles": "5",
"pdf_page": 2,
"printed_page": "110-(8)",
"meaning": "Entry into force01/01/2011"
}
],
"other_acts": "Full original has10pages and also contains Lei7/2011(Legal Regime of Volunteering). Neither original filename nor that other act is the authority for P059."
},
{
"diploma": "Decreto n.º 3/2011, de 16 de Março",
"title": "Regulamento do Regime Aduaneiro Aplicável aos Mineiros Moçambicanos em Serviço na República da África do Sul",
"issue": "BR n.º11,I Série,16/03/2011",
"file": "docs\\investmoz\\simulations\\source-archive\\Decreto-3-2011-BR-11-I-mineiros.pdf",
"sha256": "5bca1133666ba9c69870b89823420175b7b5b8d0eccb667ecdf5c29716f3b6be",
"articles": [
{
"articles": "1(definitions),2(scope),3(benefits),4(beginning)",
"pdf_page": 2,
"printed_page": "152"
},
{
"articles": "4(continuation),5(temporary licence),6(return),7(heirs),8(procedural moment)",
"pdf_page": 3,
"printed_page": "153"
}
]
},
{
"diploma": "CIVA republicado pela Lei13/2016",
"article": "12(2),alínea b);proportionality in opening sentence12(2)",
"file": "docs/investmoz/simulations/source-archive/Lei-13-2016-CIVA-BR-156-10-suplemento.pdf",
"pdf_page": 11,
"printed_page": "1426-(269)",
"subsequent_cotejo": "Lei22/2022PDF2–3 andLei10/2025PDF13 maintain12(2) by reference;no new expanded text in these changes."
}
],
"source_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-miners-returnees-20261025\\source-archive-inventory.json",
"verification": {
"frontend": {
"tests": 15,
"passed": 15,
"failed": 0,
"scope": "All8paths,heirs,missing/negative facts,limit boundaries,one/six month windows,year boundary,one/five year entitlements,90days/six months,exact50%arithmetic,overlapping quotas,history,isolated contexts and complete preservation of P046/125accepted branches"
},
"privateAPI": {
"tests": 1,
"assertions": 51,
"database": "simulator_fiscal_delta_20261021_test:55441",
"transaction": "rollback"
},
"types": "passed",
"build": "passed",
"browser": "Edge:monthly total15000→15001keeps IVA indeterminate;restored and versioned. Separate vehicle treatment confirmed→unknown keeps IVA indeterminate;restored gives160.123456×50%=80.061728. Version6/history5 saved,recovered,and actual dossier report opened. Fields without application hidden;originals/history preserved.",
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-miners-returnees-20261025\\qa-recovered-report.png",
"preservation": "125 delivered branches and P046 QA inventoried before tests. Full snapshot comparison after removing only new minerImports book. No confirmed loss,no active writes,no repeated accepted proofs."
},
"counts_current": {
"delivered": 125,
"QA": 2,
"functional_pending": 5,
"P001": 1,
"total": 133
},
"compatible_QA": [
"P046",
"P059"
],
"homologation_unchanged": "a48e9749",
"runtime_delta": {
"resources/js/lib/iva-miners.ts": "96cade3d3b85dde4e098a802825d52b3abfbde66722f83348fc0f1ca0216138f",
"resources/js/components/simulation-miners.tsx": "40abf151b369b4dae599ca768fe8849466ce0a7122ef62c18e3b4179c095e90b",
"resources/js/components/simulation-monthly-iva.tsx": "25b9ec77328c57ae787388d6222eb6e4df3e15e44be6b61bce90fc389931e024",
"resources/js/lib/project-dossier.ts": "d4dec167e09b7be9477e806d28a3490b620650909859c13da53109747c93cb09"
},
"limitations_balance": {
"scope": "P059 demonstrado para mineiros moçambicanos naRSA,2026/MZN;outros países/fundamentos não são declarados automaticamente isentos nem excluídos de todo o CIVA.",
"monthly_limit": "Cobertura dos exemplares:15.000MZN/mês;valores superiores permanecem indeterminados,não se presume revisão do limite pelo Governo2(5),nem benefício parcial sobre o excesso.",
"customs": "Classificação segundo factos declarados/pressupostos expressos;portal não concede autorização,não emite DU,licença ou despacho,não calcula direitos/base aduaneira/ICE,sem dedução/campo11 ou lançamento automático no ModeloA.",
"temporary": "Licença temporária em férias5 não vira isenção definitiva;encaminhamento para o regime aduaneiro existente,com condições próprias.",
"internal_acquisition": "6(4)também refere aquisição no mercado interno;este incremento aplica apenas IVA informado da importação associada identificada,não calcula IVA da venda interna nem restitui imposições.",
"KAWENA": "OS07/AT/DGA/411.1/2019 permanece procedimento específico;contramarca/SAD500/armazém e outras exigências suas não foram impostas às outras vias.",
"digital": "Formalidades digitais P121/P130 ainda não automatizadas permanecem visíveis;sem cobertura digital integral.",
"travel": "P129/P133 preservados no âmbito margem/eventos,sem IVA devido,dedução42/43d,regularização44,facturação45/modelo46(2);ligação AUD-SIM-INT02 mantida.",
"others": "P084/P085 apenas preparação e simulação condicionada;P104 conversão condicionada;P00105/06;bebidasL2/L3;Estatísticas/IAadiadas;L1aberto."
},
"remaining_ids": {
"P047": "Quatro remissões12(1)b na redacção2022;falta cotejar condições operativas de partidos,mecenato,veículos oficiais diplomáticos/consulares e InstruçõesPreliminaresPauta;sem benefício aduaneiro genérico.",
"P058": "Decreto37/2023 obtido,art57PDF10/p1474 conferido visualmente:57(2)c(funcionários/estudantes,mais de um ano) e d(regresso antecipado por serviço doEstado) já delimitados. 57(2)b remete literalmente a bens do n.º2,mas enumeração de bens está no n.º3:divergência de remissão concreta preservada;concluir correspondência sem a corrigir silenciosamente. Ainda sem implementação/QA dos percursos;veículos não inferidos da lista de bagagem57(3).",
"P084_P085": "Ligação regulamentar14(3)pendente para cada cenário;ModelI.1 epreparação condicionada preservados.",
"P104": "ExemplarLei2/2006 já obtido;falta norma da taxa/data,sem transpor câmbio aduaneiro automaticamente.",
"P001": "Instrução documental doscampos05/06daedição recebida;sem renumeração automática pelos modelos antigos/2019."
},
"next": "P046/P059 formam conjunto compatível em QA. Entrega única após instrução,preservando concorrência e conferindo apenas delta instalado;sem push/instalação neste incremento.",
"qa_status_preserved": "QA_complete_P059_demonstrated_RSA_scope_not_delivered",
"delivery_followup": {
"served_commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"receipt": "l1-objective-miners-delivery-20261025.json",
"record": "iva_l1_objective_miners_P046_P059_homologation_20261025",
"counts": {
"delivered": 127,
"QA": 0,
"functional_pending": 5,
"documentary": 1,
"total": 133
},
"deduction_calculation": false,
"automatic_customs_concession": false,
"P104_closure": false,
"P084_P085_closure": false
}
}
@@ -0,0 +1,140 @@
{
"implementation_commit": "08072015174dcdf8e196f803b16903869af69a4d",
"status": "delivered_demonstrated_scope_QA_proofs_preserved",
"branch_count_complete": 1,
"treatments": 28,
"meaning": "Um ramoP046,28correspondências expressas;enumeração legal exemplificativa. Isenção naimportação distinta de venda,base aduaneira,direitos e dedução. Sem fecho integralL1.",
"verification": {
"frontend": {
"tests": 33,
"passed": 33
},
"privateAPI": {
"tests": 1,
"assertions": 105,
"database": "simulator_fiscal_delta_20261021_test:55441",
"transaction": "rollback"
},
"types": "passed",
"build": "passed",
"browser": "Edge:importação definitivaSim→Por esclarecer deixa IVA indeterminado;reposta condição e nova versão4/histórico3;gravação localQA,recovery,relatório real do dossier aberto. API privada conferida separadamente.",
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-import-source-review-20261025\\qa-recovered-report.png",
"preservation": "125fechos inventariados antes dos testes;nenhuma perda confirmada;comparação integral do snapshot congelado removendo apenas novo livro objectiveImports;provas a48e9749/f0596225 reutilizadas;nenhuma escrita noactivo"
},
"counts_current": {
"delivered": 125,
"QA": 1,
"functional_pending": 6,
"P001": 1,
"total": 133
},
"homologation_unchanged": "a48e9749",
"remaining_cases": {
"P046": {
"treatment": "Importação definitiva de bens com isenção objectiva interna",
"source": "CIVA12(1)a,redacçãoLei10/2025PDF12/p2180(12);art9 e anexosLei22/2022 já entregues",
"existing": "Implementação e QA neste incremento:28correspondências expressas;rascunho,gravação,recuperação,relatório e histórico",
"kind": "QA concluído;por disponibilizar",
"impediment": "Falta integrar numa entrega compatível;outras isenções objectivas não enumeradas não são declaradas excluídas",
"next": "Agrupar com próximo ramo compatível,sem entrega isolada apenas por estar emQA;reutilizar33testes/105asserções e conferir delta instalado"
},
"P047": {
"treatment": "Importações com benefício aduaneiro nas quatro remissões12(1)b",
"source": "Lei22/2022PDF2/p2252(26),12(1)b;Lei10/2025PDF13mantém:Lei7/91alterada14/92(partidos),Lei4/94(mecenato),normasdeveículosoficiaisdeMissõesDiplomáticas/Consulares,InstruçõesPreliminaresPauta",
"existing": "Remissões actualizadas cotejadas;12b não é qualquer benefício aduaneiro genérico",
"kind": "Documentação específica e desenvolvimento",
"impediment": "Falta cotejar as condições operativas de cada uma das quatro remissões e o âmbito do benefício de direitos nesta importação;redacção2016não pode substituir a de2022",
"next": "Obter/cotejar textos completos das quatro famílias e InstruçõesPreliminaresLei17/2022/Lei8/2025;mapear só os percursos demonstrados,sem atribuir IVA isento a toda redução aduaneira"
},
"P058": {
"treatment": "Regresso definitivo de emigrantes,funcionários civis/militares doEstado,estudantes ebolseiros",
"source": "CIVA12(2)a,2016PDF11/p1426(269),mantido2022/2025;legislaçãoaduaneiraremetida",
"existing": "Condição legal de regresso e proporcionalidade doIVA identificadas;nenhum benefício fechado",
"kind": "Cotejo documental específico e desenvolvimento",
"impediment": "Ainda não cotejados no texto integral aplicável os termos/limites aduaneiros por categoria,bens e regresso;orientação informativa genérica não fornece esses parâmetros",
"next": "Conferir RegrasGeraisDecreto37/2023 e alteração27/2026,art14/58/QuadrosV/VI,e legislação específica de cada categoria;conservar proporcionalidade da redução de direitos12(2),sem criar um limite comum inventado"
},
"P059": {
"treatment": "Mineiros moçambicanos em serviço naÁfrica doSul",
"source": "CIVA12(2)b;Lei2/2011arts1–4,BR1-I4suplemento11/01/2011PDF1;Decreto3/2011,BR11-I16/03/2011PDF2–3/p152–153,arts1–8;OS07/AT/DGA/411.1/2019,MCNetPDF1–5",
"existing": "Lei e regulamento concretos localizados;categorias,limites,regresso,separadosdebagagem e transmissão aherdeiros identificados. ProcedimentoDGA localizado paraKAWENA. Sem implementação fiscal nova neste incremento",
"kind": "Cotejo operacional e desenvolvimento por executar;fonte base já localizada",
"impediment": "Falta traduzir e verificar os percursos específicos e a proporcionalidade12(2),sem confundir limite mensal,acumulação,regresso ou benefício de veículo separado;OSKAWENA não demonstra procedimento universal",
"next": "Implementar percursos demonstradosLei2/2011/Decreto3/2011,com exclusão álcool/tabaco,quotas/histórico e condições próprias;registar correspondênciaIVA sem exigir novo despacho genérico apenas porque a matriz antiga o dizia. Não generalizar50%a todos os bens/mineiros"
},
"P084": {
"treatment": "Interesse público e fins sociais:preparação/pedido/decisão com âmbito",
"source": "CIVA14(2)a/14(3);cadeiaModelI.1→Despacho06/01/2010→Decreto56/2009art2→CBFLei4/2009 jácotejada",
"existing": "Rascunhos e cenário condicionado entregues78c9f4a3;estadospreparação/apresentado/deferido/indeferido;âmbitobens/operação/período/condições preservado",
"kind": "Correspondência regulamentar específica pendente",
"impediment": "Cadeia doModelI.1 não demonstra por si a regulamentação14(3);pesquisa delimitada desta ronda não localizou disposição de correspondência adicional",
"next": "Localizar norma ou instrução oficial aplicável a14(3) paraaquisição/importação14(2)a;preservar distinção pedido/decisão e não inventar aprovadores/certificados"
},
"P085": {
"treatment": "Aquisição de bens paraoferta aatenuar calamidadesnaturais",
"source": "CIVA14(2)b/14(3);mesma pesquisa documentalP084,condições distintas",
"existing": "Emergência,finalidade humanitária,bens,destinatário,documentos e simulação condicionada disponíveis;sem benefício confirmado",
"kind": "Correspondência regulamentar específica pendente",
"impediment": "Ainda não demonstrada norma/procedimento de emergência/doação correspondente14(2)b/14(3);ModelI.1 não é concessão. Não estender automaticamente aimportação/serviços",
"next": "Conferir procedimento oficial de emergência/doação e âmbito exacto;aplicar só correspondência demonstrada,sem impor o estado de pedido ordinárioP084 ao percurso de emergência"
},
"P104": {
"treatment": "Conversão de valores expressos emmoeda estrangeira",
"source": "CIVA15(8),2016PDF14/p1426(272),conferido visualmente;Lei2/2006 exemplar integral36p jáobtido,cotejo106(5),PDF18/p66",
"existing": "Conversão condicionada entreguee8b5ae43;original,moeda,taxa,direcção,data e fonte preservados",
"kind": "Parâmetro/norma de escolha de taxa e data pendente",
"impediment": "15(8)remeteLei2/2006;106(5)não estabelece escolha de taxa/data. Exemplar não está em falta;sem norma demonstrada não há base fiscal confirmada",
"next": "Localizar disposição/instrução aplicável à taxa/data para este valor tributável;distinguir câmbio aduaneiro doart16/Pauta e taxa de apresentação,sem os transpor automaticamente a15(8)"
},
"P001": {
"treatment": "Instrução documental doscampos05/06 daediçãoModeloA recebida",
"source": "DOCX62c198e9/63d45fa8/VATReturn9c0b99a8 jáaceites;novoBR72-I15/04/2019PDF1/3,Despacho26/06/2016 eModeloA,p749/751",
"existing": "Candidata544068e8 ecorrespondências recebidas preservadas;novomodelo oficial arquivado ecomparado,semrenumeração",
"kind": "Documental,fora dos132ramosfuncionais",
"impediment": "Modelo publicado2019 tem03vendas isentas comdireito,04remissão18(1)b,05sem direito e06imobilizado;não é a numeração05/06 daedição recebida. Não acompanha instrução que resolva essa distinção",
"next": "Localizar instruções correspondentes àedição recebida que distingam05/06;preservar originais e não copiar numeração de2019 ou daedição antigaAT"
}
},
"source_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-import-source-review-20261025\\source-archive-inventory.json",
"source_urls": {
"BR-11-I-2011-03-16.pdf": "https://archive.gazettes.africa/archive/mz/2011/mz-government-gazette-series-i-dated-2011-03-16-no-11.pdf",
"MCNet-miners-procedure.pdf": "https://jue.mcnet.co.mz/mcnet/portal/faq/category/154/faqsdoclink",
"BR-72-I-2019-04-15.pdf": "https://archive.gazettes.africa/archive/mz/2019/mz-government-gazette-series-i-dated-2019-04-15-no-72.pdf"
},
"additional_primary_sources": {
"Lei2_2011": "https://www.pgr.gov.mz/index.php/por/content/download/5617/40390/version/1/file/Lei%2Bdo%2BVoluntariado.pdf",
"Decreto27_2026_scope_notice": "https://inm.gov.mz/pt-br/content/sum%C3%A1rio-suplemento-n%C2%BA-1-de-010726-pag-1012-1-8-br-n%C2%BA-123-boletim-da-rep%C3%BAblica-i-serie-p%C3%A1g-1"
},
"runtime_delta": {
"resources/js/lib/iva-objective-imports.ts": "859e51700fffa8990b849f0763059e577b3d71fcf3e6c7294f39c944baee8181",
"resources/js/components/simulation-objective-imports.tsx": "b9b07a39f60cdea7e19dda7cac8fc7ad87cafb0972c09a7c747dbaddc7578e39",
"resources/js/components/simulation-monthly-iva.tsx": "c5df5759b742f03b13f1d7921c8cd4db51e71f5d9fa6eb05116c6f4188c3108a",
"resources/js/lib/project-dossier.ts": "b4e117efdcacb266ac1996ea99fc2e7f854d6b14ad7263779f969cee1810942a"
},
"limitations_balance": {
"digital": "P121/P130 formalidades regulamentares,modelos eprocedimentos deentrega/pagamento ainda nãoautomatizados;sem cobertura digital integral",
"travel": "P129/P133 âmbito margem/eventos;sem IVAdevido,dedução42/43d,regularização44,factura45oumodelooficial46(2);ligaçãoAUD-SIM-INT02",
"P104": "Conversão condicionada;sem taxa/data fiscal confirmadas",
"P084_P085": "Preparação/simulação condicionada;sembenefício oufecho",
"P001": "Apenas05/06",
"scope": "L1aberto;bebidasL2/L3;Estatísticas/IAadiadas"
},
"next": "ProsseguirP059comfontesconcretas eQAporramo;P046aguardaentregacompatível. Não efectuarentregaindividual apenasporqueP046ficouemQA. Pesquisaoutroscasosprossegue sembloquearindependentes.",
"qa_status_preserved": "QA_complete_P046_not_delivered",
"delivery_followup": {
"served_commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"receipt": "l1-objective-miners-delivery-20261025.json",
"record": "iva_l1_objective_miners_P046_P059_homologation_20261025",
"counts": {
"delivered": 127,
"QA": 0,
"functional_pending": 5,
"documentary": 1,
"total": 133
},
"deduction_calculation": false,
"automatic_customs_concession": false,
"P104_closure": false,
"P084_P085_closure": false
}
}
@@ -0,0 +1,86 @@
{
"candidate": "946fc089066fa7c7b71648da0de4035f3b8b592f",
"status": "partial_preparation_and_conditional_simulation_delivered_benefits_pending",
"authorization": "ExplicitTempo:distinctP085emergency/humanitarianpurpose andP084requeststates;presentingdoesnotgrant;decisionspreservegoods/operation/period/conditions;normalandconditionalhypotheticalscenarios;documentaryconference stillrequired",
"P084": {
"states": [
"preparation",
"presented",
"granted",
"denied"
],
"scope": "Immutable explicitrequestRecords retain state,goods,operation,period,conditions,decisionreference/date;allrecordedscopes showninUI/report;edits/currentrequest donot replace prior decisions or extend them toother goods/operations/periods/opportunities",
"precision": "Months,exact calendardates,or literaloperation/temporalscope including untilrevocation/withoutend;no artificialenddate orsingleoperation restriction when thedocumentstatesotherwise",
"incomplete": "Draft can save incomplete;recording scopeddecision requires fouruserrequested scopeelements,not a new certificate/approver;document/date optional ifnotavailable",
"not_submission": "No request sent to authority;declaredrecordstate isnot a grant bysimulator"
},
"P085": {
"fields": "Emergency/disaster,nature,humanitarianpurpose,goods,recipient,availabledocuments,mitigation",
"procedure": "Only applyemergency/donation procedurewhen correspondence demonstrated;not appliednow;P085acquisition scope retained,no automaticimport extension orP084status requirement"
},
"scenarios": {
"normal": "User-indicated VAT with documentorprojectionpremise;missing/invalidamountororigin remainsindeterminate,no inferrednormalrate/base",
"conditional": "Explicit hypotheticalassumption+materialconditions/context required;unknown/contradictedconditions giveindeterminate;0.00 onlylabelledhypotheticalconditionalexemption,notgrantedorapplied",
"application": "Never modifies VATresults,field11,ModeloAtotals orrequeststatus;evenrecordeddeferido doesnotautoapply"
},
"reuse": "Existingper-opportunity reference reuse fills emptyfields only;optional availabledocuments canappend primaryreference without overwriting otherdocuments;all27priorfiscalbooks andoldofferhistory/deliberatepurpose preservedexactly",
"verification": {
"frontend": {
"passed": 4,
"failed": 0,
"scope": "requestnotgrant,scopeddecisionhistory includingexact/literalperiods,P085ownpurpose,scenariopremises,save/recover/reportpreservation",
"record": "latestnode:test outputthissession;acceptedoldproofs not rerun"
},
"privateAPI": {
"tests": 1,
"assertions": 31,
"target": "simulator_fiscal_delta_20261021_test:55441",
"rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-offer-paths-20261024\\api-tests.xml"
},
"types_final": "passed",
"production_build_final": "passed;existingplugin/chunkwarnings",
"UI": "CodexEdgeCUA:presentedstate,priorpartialgrantNovemberonly,normal800/conditional0hypothesis;withdrawassumption->indeterminate;incompletescopecannotreplacepriorrecord;P085humanitarianpurpose/normal160;version/save/recover/reportwithallrecords,4historicalversions. Exact/literalperiodvariants coveredbyunit tests,not separateUIclaim;notmanualTempoacceptance"
},
"regulatory_correspondence": {
"status": "Still not demonstrated;not closed or declarednonexistent",
"established_chain": "ModelI.1/Despacho06Jan2010->Decreto56/2009art2->CBFLei4/2009;not demonstrated implementinglinkCIVA14(3)",
"this_session": "Jointtargetedqueries foundno newlyestablishedprimarylink;directATfiscal listing returnedno readabletoolcontent,whichisnot evidenceofabsence;no unreadsources adopted",
"next": "Locate/read specific14(3) implementinglink or expressly applicable procedure,withinternalacquisition/import scope and amendments;onlythenapplyrespectivebenefit",
"no_invented_requirements": "No certificate,taxclearance,projectapproval,newauthorityorapprover created;Tempo productclarification isnotdocumentaryproof"
},
"counts": {
"delivered": 75,
"QA_complete_branches": 0,
"functional_pending": 57,
"P001": 1,
"total": 133
},
"installed": "G6E/P052c1314cdf,receipt536559d6;thisclarification946fc089QAonly,nopush/install",
"preservation_before_tests": {
"frozen": "tests\\frontend\\fixtures\\iva-g6e-inputs.json",
"sha256": "f1ac7bd08994dfcf34f8567dffca98acf945f722093791ce8bbe94d679ac3af5",
"accepted_delivered_before_install": 74,
"accepted_QA": [
"P052"
],
"preserved": "27fiscalbooks+offerbook(2rows,deliberateedits,histories)",
"confirmed_losses": [],
"scope": "Tempo explicitP084requeststates/scopeddecision,P085emergency/humanitarianpurpose,normal/conditionalhypotheticalscenarios;no automaticbenefit/activechange",
"installation_in_progress": "c1314cdf;separateverifiedreceipt"
},
"limits": "L1open;P001only05/06;beveragesL2/L3;Statistics/AIdeferred;classificationdistinctfromdeduction/field11;L1closuredoesnotrequireL2/L3/alltaxes",
"qa_status_preserved": "partial offer-path clarification demonstratedQA,not installed;P084/P085benefits remainpending",
"delivery_followup": {
"served_commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"receipt": "l1-g6f-delivery-20261024.json",
"record": "iva_l1_g6f_P050_with_partial_P084_P085_homologation_20261024",
"counts": {
"delivered": 76,
"QA": 0,
"functional_pending": 56,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,253 @@
{
"status": "P047 delivered in demonstrated scope",
"base": "4f28fac5",
"homologation_unchanged": "e38aa749",
"receipt_preserved": "9019f766",
"counts": {
"delivered": 129,
"QA": 0,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"delivered_preserved": [
"AUD-SIM-L1-P002",
"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-P046",
"AUD-SIM-L1-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P059",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P087",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P092",
"AUD-SIM-L1-P093",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P104",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P121",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P123",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P125",
"AUD-SIM-L1-P126",
"AUD-SIM-L1-P127",
"AUD-SIM-L1-P128",
"AUD-SIM-L1-P129",
"AUD-SIM-L1-P130",
"AUD-SIM-L1-P131",
"AUD-SIM-L1-P132",
"AUD-SIM-L1-P133"
],
"families": {
"party": {
"source": "Lei7/91 art15(1)a/2,PDF11;Lei14/92 PDF23–24 não altera15",
"implemented": "Equipamento necessário ao funcionamento próprio; exclui actividade económica empresarial. Não acrescenta quota diplomática nem aprovação organizacional."
},
"patronage": {
"source": "Lei4/94 art7,PDF2;Decreto29/98 Regulamentoarts1–7,10/11,PDF7–9",
"implemented": "Livros culturais/científicos/escolares e insumos para produção nacional; percurso de liberalidade com comunicações,termo,incompatibilidades,irreversibilidade/confirmação da fonte. Outros bens apenas com disposição expressa,sem isenção por doação genérica. Não calcula incentivos ao rendimento."
},
"diplomatic": {
"source": "Decreto22/2021 arts2–9/11/12,PDF1–2/p425–426;revogação3/83 no13",
"implemented": "Sete categorias;reciprocidade,registo,pedido viaMINEC,limite próprio e histórico;quotas3/2/1,menor limite por reciprocidade,controlo conjunto e janela5anos;agências/organizações segundo acordo identificado,sem transplantar quotas."
},
"ipp": {
"source": "IPP22 Lei17/2022 PDF4–5;Lei8/2025 PDF2–3;Decreto37/2023 arts12(3),27/28/QuadroV;Decreto27/2026 art3PDF4",
"implemented": "30itens e disposição específica identificada;confirmação da correspondência e condições próprias,referências,pedido prévio,uso e decisão de âmbito. Taxa0%,redução e encargos suportados peloEstado não são tratados automaticamente como isenção. Competências pela data da decisão/previsão;transição31/07/2026,30dias após publicação;item30 anterior exige disposição de competência específica."
}
},
"examples": 42,
"verification": {
"frontend": {
"tests": 48,
"passed": 48
},
"API": {
"tests": 1,
"assertions": 208,
"guarded_database": "simulator_fiscal_delta_20261021_test:55441",
"rollback": true,
"all_previous_snapshot_members_equal": true
},
"types": "passed",
"build": "passed",
"UI": "Componente real: campos adaptados por família,quantidade oculta preservada,troca limpa confirmações,gravação/recuperação/relatório; ui-saved-state.json/report-dom.txt/P047-recovered-report.png"
},
"scope_limits": [
"Classifica IVA por remissão apenas com isenção de direitos demonstrada ou pressuposto expresso; não concede benefício aduaneiro.",
"Não automatiza classificação pautal nem todos os procedimentos de cada regime referido. Condições específicas ausentes permanecem indeterminadas.",
"Pedido apresentado não concede;deferimento previsto é apenas cenário condicionado.",
"Sem direitos,ICE,base aduaneira,dedução/campo11,alienação ou soma aos livros anteriores.",
"P058 quatro percursosQA4f28fac5 preservados;três questões residuais permanecem abertas.",
"P084/P085 procedimentoTempo entregue preservado;falta somente correspondência específica de formulário/instrução e mapeamento.",
"P001 limitado05/06 da edição recebida;sem renumeração a partir de outros modelos.",
"Formalidades digitais não automatizadas e cálculo fiscal restante de ramos com âmbito limitado conservados;L1aberto."
],
"source_records": [
{
"file": "docs/investmoz/simulations/source-archive/Lei-7-1991-Partidos-IFES.pdf",
"url": "https://www.ifes.org/sites/default/files/migrate/el00091.pdf",
"sha256": "6b783a0bb3330688ef10660a58060d9724aa2da6a873d234fe902f0eaaeda42d",
"pages": 21,
"origin": "Texto legislativo oficial; IFES reproduz exemplar da Assembleia, BR preservado nos demais."
},
{
"file": "docs/investmoz/simulations/source-archive/Lei-14-1992-BR42.pdf",
"url": "https://archive.gazettes.africa/archive/mz/1992/mz-government-gazette-series-i-supplement-dated-1992-10-14-no-42.pdf",
"sha256": "089fff7423e99a70a230a73ca379e4ea3a91d124703f91016e57ff82794b9e56",
"pages": 24,
"origin": "Texto legislativo oficial; IFES reproduz exemplar da Assembleia, BR preservado nos demais."
},
{
"file": "docs/investmoz/simulations/source-archive/Lei-4-1994-BR37-3-suplemento.pdf",
"url": "https://archive.gazettes.africa/archive/mz/1994/mz-government-gazette-series-i-supplement-no-3-dated-1994-09-13-no-37.pdf",
"sha256": "210df9db8980d0a5690cd187a6eeec7e37a900d743e39062c16f4e0d12215c7e",
"pages": 4,
"origin": "Texto legislativo oficial; IFES reproduz exemplar da Assembleia, BR preservado nos demais."
},
{
"file": "docs/investmoz/simulations/source-archive/Decreto-22-2021-BR70.pdf",
"url": "https://archive.gazettes.africa/archive/mz/2021/mz-government-gazette-series-i-dated-2021-04-14-no-70.pdf",
"sha256": "a8fac38dcfe08f9c7a8e46254cff10e1ec82fc4f7a8d88ad6e4fe7d91ffc21a5",
"pages": 4,
"origin": "Texto legislativo oficial; IFES reproduz exemplar da Assembleia, BR preservado nos demais."
},
{
"file": "docs/investmoz/simulations/source-archive/Decreto-29-1998-BR22-5-suplemento.pdf",
"url": "https://fracessoriasa.co.mz/wp-content/uploads/2021/10/53-Lei-do-Mecenato-Regulamento-patrocinios-e-doacoes.pdf",
"sha256": "6242cbe675faadf085f43f95ec8c7e8868aafe67c3b2ab2bb010992288f954f8",
"pages": 9,
"origin": "BR22-I 5.º suplemento09/06/1998, exemplar completo9p;Decreto29/98 nasp7–9"
}
],
"active_writes": false,
"proposed_group": {
"P047": "um ramo concluído emQA no âmbito acima",
"P058": "quatro percursos de bagagem emQA parcial;semfecho",
"requirements": "Integração compatível commain,preservação concorrente,backup/restauro autenticado e conferência só do delta;nenhuma entrega executada neste incremento."
},
"qa_status_preserved": "Concluído em QA no âmbito demonstrado de CIVA12(1)b; por disponibilizar em conjunto compatível",
"qa_counts_preserved": {
"delivered": 128,
"QA": 1,
"functional_pending": 3,
"P001": 1,
"total": 133
},
"delivery_followup": {
"served_commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"receipt": "l1-p047-baggage-delivery-20261025.json",
"record": "iva_l1_P047_partial_P058_homologation_20261025",
"counts": {
"delivered": 129,
"QA": 0,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"P058_closure": false,
"L1": "open"
}
}
@@ -58,5 +58,11 @@
"P001": 1,
"total": 133
},
"limits": "L1open;P001only05/06;beveragesL2/L3;Statistics/AIdeferred;classification separatefromfield11;L1closure doesnotdepend onL2/L3/alltaxes"
"limits": "L1open;P001only05/06;beveragesL2/L3;Statistics/AIdeferred;classification separatefromfield11;L1closure doesnotdepend onL2/L3/alltaxes",
"draft_delivery_followup": {
"served_commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"receipt": "l1-g6e-delivery-20261024.json",
"status": "Originaldraftpreparationavailable;notfullbenefitclosure",
"new_request_states_scenarios": "Not included;separateQAafterthisrelease"
}
}
@@ -0,0 +1,279 @@
{
"implementation_commit": "5999e35fcbc19605d6037c33018ae0eb3d17854a",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P087": [
"binding_lease"
],
"AUD-SIM-L1-P127": [
"business_onerous",
"business_free"
]
},
"branch_count": 2,
"treatment_count": 3,
"source": "CIVA Lei13/2016:3(3)a PDF6/p1426(264);3(5) PDF7/p1426(265);15(1) PDF13/p1426(271),páginas visualmente conferidas.Lei22/2022PDF3 mantém15(1);Lei10/2025PDF12 mantém3(3)a/3(5),não altera15.Rectificação2017 sem alteração destas disposições.Acervo seisPDF inventariado/hashes conferidos.",
"meaning": {
"P087": "Entrega material de bens em execução de contrato de locação com cláusula vinculante para ambas as partes de transferência da propriedade3(3)a. Classificação separada da base15(1):contraprestação obtida/a obter,sem próprioIVA,com composição/âmbito identificados. Não usar15(2)a da consignação,nem transformar mera opção de compra em cláusula vinculante.",
"P127": "Cessão onerosa ou gratuita de estabelecimento,totalidade ou parte de património susceptível de constituir ramo independente3(5). Adquirente é ou passa pela aquisição a sujeito passivo2(1)a e pratica operações com direito à dedução. Imposto não devido nem exigível no âmbito demonstrado;não isenção genérica,nem base/taxa zero ou nova dedução. Não impor condição autónoma de continuidade além dos factos da fonte."
},
"scope": "2026;P087baseMZN exacta,classificação pode manter-se com base indeterminada.P127classificação própria de não exigibilidade,sem preencher base/IVA comzero.Sem exigibilidade fiscal calculada,nova dedução,campo11,regularização ou totaisModeloA.P125categoria/elegibilidademargem eP123consignação mantidos separados.",
"pending_16_delivery_ids_with_obstacle_next_action": {
"P002": [
"Desenvolvimento/consolidação",
"Falta percurso transversal que reutilize a localização já entregue e distinga direito à dedução.",
"Consolidar6/19 com2025,ligar resultados existentes e implementar classificação estrangeiro sem reabrir provas."
],
"P046": [
"Desenvolvimento/cotejo documental",
"Falta correspondência executável12(1)a com isenções internas em2026.",
"Cotejar lista2025 e regras9 já entregues;implementar importação sem activar benefício só pela descrição."
],
"P047": [
"Dependência documental específica/desenvolvimento",
"Faltam diploma especial e âmbito de cada benefício aduaneiro invocado.",
"Inventariar diplomas aplicáveis12(1)b e recolher regime/documento/bens/limites;implementar só correspondências demonstradas."
],
"P058": [
"Dependência documental específica/desenvolvimento",
"Faltam termos e limites da legislação aduaneira para regresso definitivo12(2)a;isenção/redução na proporção da redução de direitos.",
"Localizar disposições aduaneiras de emigrantes/funcionários/estudantes/bolseiros,condições de regresso e proporção;reutilizar documentos."
],
"P059": [
"Dependência documental específica/desenvolvimento",
"Falta despacho do Ministro das Finanças que fixa termos e condições dos mineiros12(2)b;isenção/redução proporcional à redução de direitos.",
"Localizar despacho referido em12(2)b e implementar beneficiário/serviço no estrangeiro/bens/condições/proporção."
],
"P084": [
"Dependência regulamentar específica;parcial disponível",
"Correspondência14(3) ainda não demonstrada;ModeloI.1 não concede benefício.",
"Localizar diploma que acompanhaModeloI.1,demonstrar alcance aquisição/importação14(2)a;preservar estados/âmbito de decisão."
],
"P085": [
"Dependência regulamentar específica;parcial disponível",
"Correspondência14(3) com procedimento emergência/doação ainda não demonstrada.",
"Pesquisar conjuntamente comP084,demonstrar percurso calamidade14(2)b sem estender automaticamente à importação."
],
"P087": [
"QA concluído;entrega conjunta pendente",
"Desenvolvimento e QA concluídos;falta instalação.",
"Entregar candidata conjuntaP087/P127,reutilizar provas,backup/restauro fresco e delta instalado."
],
"P104": [
"Dependência cambial específica/desenvolvimento",
"Falta regra cambial aplicável15(8)/(9),momento/opção e fonte/data da taxa.",
"Cotejar texto e legislação cambial referida;implementar moeda/taxa/data rastreáveis sem taxa actual por defeito."
],
"P121": [
"Desenvolvimento/cotejo regulamentar digital",
"Falta percurso digital2025 e correspondência das obrigações26/32/33.",
"Consolidar6(7)k/6(9),residência/EP/utilização e responsável;implementar comP130 quando compatível."
],
"P127": [
"QA concluído;entrega conjunta pendente",
"Desenvolvimento e QA concluídos;falta instalação.",
"Entregar candidata conjuntaP087/P127,reutilizar provas,backup/restauro fresco e delta instalado."
],
"P129": [
"Dependência regulamentar específica/desenvolvimento",
"Falta correspondência do regime especial das agências4(5),com componentes da operação.",
"Cotejar RIVA/regulação especial,conta própria/terceiros e custos efectivos;implementar antes de apurar margem."
],
"P130": [
"Desenvolvimento/cotejo regulamentar digital",
"Definição3(7) disponível;falta percurso de transmissão/localização e obrigações aplicáveis.",
"Reutilizar6 e consolidar2025 comP121;separar bens de serviços e não activar tributação só pela categoria."
],
"P131": [
"Desenvolvimento/cotejo de eventos",
"Falta motor de eventos7/8 para entrega,serviço,importação,instalação e operações continuadas.",
"Cotejar datas/excepções e documento/pagamento;implementar por evento e ligar resultados já entregues."
],
"P132": [
"Desenvolvimento/cotejo de eventos",
"Falta exigibilidade dos eventos específicos de uso próprio/comissão/embalagens/adiantamentos.",
"Cotejar7/8 e referências de cada operação;reutilizarP123/P126 sem atribuir exigibilidade pela data de conferência."
],
"P133": [
"Desenvolvimento/dependência de regime",
"Falta motor de saída de regimes suspensivos e evento das viagens,no regime específico.",
"Cotejar7/8/14 e procedimento de saída;alinhar viagens comP129,sem bloquear eventos independentes."
]
},
"technical_choices": "propertyTransfers poroportunidade nosnapshot/API/dossier existentes;BigInt6casas,semfloat ouarredondamento;valorjácomposto semsomar/subtraircomponentesduasvezes.Trocaconservacamposocultos/referências,exigereverconfirmações.Reutilizardocumentos/pressupostos,não certificado/aprovador novo.",
"verification": {
"frontend": {
"tests": 6,
"passed": 6,
"failed": 0,
"coverage": "3tratamentos;condições/referências/datas;P087classificação/base separadas,decimalexacto/zero/desconhecido/semduplasubtracção;P127nãoexigibilidadenãozero;trocapreserva;persistência/histórico/relatório/preservação"
},
"privateAPI": {
"tests": 1,
"assertions": 25,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-property-transfers-20261025\\phpunit.xml"
},
"types": "passed",
"build": "passed;existingplugin timingwarnings",
"UI": "Edge/CUAcomponente real:P087semcontraprestação mantémclassificação/baseindeterminada;restauro1250.123456MZN.P127conjuntoautónomoNão afasta3(5),semisenção/IVAzero;restaurofactos,gravação/recuperação/relatório3tratamentos e5versõesanteriores,VAT/ratenull.Dadossintéticos,nãoaceitaçãomanualTempo.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-property-transfers-20261025\\qa-recovered-report.png"
},
"preservation": {
"base": "5999e35fcbc19605d6037c33018ae0eb3d17854a",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P092",
"AUD-SIM-L1-P093",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P123",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P125",
"AUD-SIM-L1-P126",
"AUD-SIM-L1-P128"
],
"confirmed_losses": [],
"accepted_delivery": "ce9d649f/4cacef23;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-property-transfers-preserved.json",
"sha256": "dbf61446fc3d11dceff2bb5facc1bba8e91b176abc3ae9e4c30bbe7acebc9fb5",
"scope": "P087/P127QA;allpriorbooks/history immutable;noactivewrites"
},
"runtime_delta": {
"resources/js/lib/iva-property-transfers.ts": "0d92edaf29b37cbe58f4d60ad3c61756f4cfdf71b8165e47438e9e3d7c59041e",
"resources/js/components/simulation-property-transfers.tsx": "ca2e125cf814ea3f797db9befbccbe6df3d1e9d91118b10af0cd2302e0e307e8",
"resources/js/components/simulation-monthly-iva.tsx": "2b5a10dfd5a180d008403e5fe27333553d95c373c43c3ff629b4a1b4ff44bdfe",
"resources/js/lib/project-dossier.ts": "d59ab0d244d342d3c4167766529499c3cd0cb866e6680c7e4db0508b9c9e62cb"
},
"counts_current": {
"delivered": 116,
"QA": 2,
"functional_pending": 14,
"P001": 1,
"total": 133
},
"homologation_unchanged": "ce9d649f",
"remaining": "Uma entrega conjuntaP087/P127;14outrosIDs mantidos comimpedimento/próximaacção namesmamatriz/manual,nãonovobacklog.",
"limits": "L1aberto;P00105/06;P121digital/P084/P085pendentes;bebidasL2/L3;Estatísticas/IAadiadas",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-property-transfers-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"receipt": "l1-property-transfers-delivery-20261025.json",
"record": "iva_l1_property_transfers_P087_P127_homologation_20261025",
"counts": {
"delivered": 118,
"QA": 0,
"functional_pending": 14,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,233 @@
{
"base": "9019f766",
"homologation_unchanged": "e38aa749",
"counts": {
"delivered": 129,
"QA": 0,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"scope": "QA parcial de P058; sem alterações no activo; sem encerramento de ramo",
"preserved_delivered_ids": [
"AUD-SIM-L1-P002",
"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-P046",
"AUD-SIM-L1-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P059",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P087",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P092",
"AUD-SIM-L1-P093",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P104",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P121",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P123",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P125",
"AUD-SIM-L1-P126",
"AUD-SIM-L1-P127",
"AUD-SIM-L1-P128",
"AUD-SIM-L1-P129",
"AUD-SIM-L1-P130",
"AUD-SIM-L1-P131",
"AUD-SIM-L1-P132",
"AUD-SIM-L1-P133"
],
"matrix_changed_rows": [
"AUD-SIM-L1-P001",
"AUD-SIM-L1-P047",
"AUD-SIM-L1-P058",
"AUD-SIM-L1-P084",
"AUD-SIM-L1-P085"
],
"residuals": {
"P047": {
"impediment": "Ainda não há implementação específica12(1)b. As quatro remissões estão identificadas;IPP22 integral e alterações2025/2026 já obtidas. Faltam condições executáveis e sua correspondência por família (partidos7/91+14/92,mecenato4/94,veículos oficiais diplomáticos/consulares,IPP),distinguindo isenção integral de direitos,redução e pedido.",
"close": "Percursos por família sustentados nos textos aplicáveis,com bens/beneficiário/operação/período,condições e âmbito do benefício aduaneiro demonstrados;isençãoIVA só na hipótese12(1)b correspondente;desconhecido não zero;gravação,recuperação,relatório eQA por ramo,seguida de entrega compatível.",
"next": "Começar pelos itensIPP22/QuadroV já cotejados;obter/cotejar os trechos específicos das outras três famílias sem condicionar o avanço independente."
},
"P058": {
"impediment": "Veículos já entregues; quatro percursos de bagagem dos artigos 57(2)c/d, 57(3) e 61 agora demonstrados em QA, ainda não instalados. Restam a remissão incoerente de 57(2)b para o próprio n.º 2, o caso de propriedade exactamente 180 dias e a delimitação do artigo 63(2) (arma de caça e até 100 cartuchos) no âmbito dos beneficiários de CIVA 12(2)a. Não falta o Decreto 37/2023 integral.",
"close": "Delimitar e implementar o âmbito residual por categoria e bens; resolver por referência expressa os parâmetros ambíguos ou conservar uma limitação de âmbito expressamente aceite. Demonstrar condições, prazos, cálculo/não aplicação, gravação, recuperação e relatório, sem aplicar exigências de veículos à bagagem; entregar o conjunto compatível. O novo QA parcial não fecha P058.",
"next": "Preparar os quatro percursos de bagagem já testados para entrega compatível; cotejar separadamente 57(2)b, propriedade de 180 dias e a correspondência de 63(2), sem presumir isenção."
},
"P084": {
"impediment": "Procedimento operacionalTempo e acompanhamento pedido→apresentado→decisão com despacho→formulário estão definidos,implementados eentregues. O gerador actual produz pedido/preparação textual ou associa exemplar preenchido;falta correspondência concreta do formulário por aquisição interna/importação e,quando demonstrada,preenchimento/exportação dos seus campos oficiais. ModeloI.1/CBF não demonstra sozinho essa correspondência.",
"close": "Demonstrar formulário/versão aplicável (ou instrução que dispense modelo específico) em cada cenário,com origem identificada;reutilização de entidade,justificação,bens,operação e despacho no exemplar/saída adequados;conservar âmbito e históricos,submissão externa explícita,hipótese antes de deferimento e aplicação só após decisão abrangente.Sem exigir despacho real de produção para substituirQA nem nova aprovação genérica.",
"next": "Cotejo delimitado do formulário/instrução e implementação do mapeamento que daí resultar;manter todo o procedimento operacional já aceite,sem o reabrir como desconhecido."
},
"P085": {
"impediment": "Mesma sequência operacionalTempo já entregue,com calamidade/finalidade humanitária e aquisição próprias. Falta identificar o formulário/instrução aplicável à aquisição para atenuar calamidades e demonstrar a preparação do exemplar concreto,em vez de apenas texto/anexo genérico.Formulário aduaneiro de emergência não prova aquisição interna14(2)b.",
"close": "Correspondência e preparação/exportação do formulário aplicável (ou dispensa de modelo demonstrada),reutilizando emergência,finalidade,bens,destinatário e despacho;pedido não concede e decisão não se estende a outros bens/operações/períodos.Sem importar condiçõesP084 ou estender automaticamente à importação.",
"next": "Pesquisa conjunta comP084 sobre o formulário,com conclusão separada para aquisição/calâmidade;implementar os campos demonstrados,sem inventar aprovadores ou certificados."
},
"P001": {
"impediment": "Falta instrução da edição recebida que distinga05/06. Nessa edição05 já identifica isenção com direito;06 tem remissão18(1)b,que noCIVA cotejado diz respeito aoIVA de importação. Os modelosAT/2019 têm outra numeração e não resolvem a edição recebida;originais e candidato544068e8 não estão em falta.",
"close": "Identificar na instrução correspondente o conteúdo próprio de05 e06 e a remissão aplicável,registar edição/página/trecho e actualizar apenas a correspondência afectada,com prova de não duplicação e preservação dos restantes campos/histórico.",
"next": "Localizar instruções/verso/metadados da edição recebida;conservar05/06 indeterminados onde houver conflito,não renumerar a partir de outra edição."
}
},
"new_baggage_paths": [
"civil_baggage",
"military_baggage",
"student_baggage",
"early_state_baggage"
],
"examples": 11,
"verification": {
"frontend": {
"passed": 21,
"new_baggage_tests": 13,
"previous_vehicle_tests": 8
},
"API": {
"tests": 1,
"assertions": 55,
"database": "simulator_fiscal_delta_20261021_test:55441",
"guarded": true,
"transactions_rolled_back": true
},
"typecheck": "passed",
"production_build": "passed",
"UI": "gravação, recuperação e relatório conferidos; ui-saved-state.json, report-dom.txt, baggage-recovered-report.png"
},
"source_scope": "CIVA12(2)a abrange beneficiários; Decreto37/2023 artigos57/61/63. Artigo63(2) não implementado nem presumido abrangido. Não importar quotas/prazos de veículos para bagagem.",
"limitations_preserved": [
"P047/P058/P084/P085 pendentes",
"P001 limitado a05/06",
"formalidades digitais não automatizadas",
"cálculo fiscal não implementado nos ramos entregues com âmbito limitado",
"deduções/regularizações/restituições em lotes próprios",
"Estatísticas e IA adiadas",
"L1 aberto"
],
"qa_status_preserved": "QA parcial de P058; sem alterações no activo; sem encerramento de ramo",
"qa_counts_preserved": {
"delivered": 128,
"complete_QA": 0,
"functional_pending": 4,
"documentary_P001": 1,
"total": 133
},
"status": "P058 partial baggage delivered without branch closure",
"delivery_followup": {
"served_commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"receipt": "l1-p047-baggage-delivery-20261025.json",
"record": "iva_l1_P047_partial_P058_homologation_20261025",
"counts": {
"delivered": 129,
"QA": 0,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"P058_closure": false,
"L1": "open"
}
}
@@ -0,0 +1,201 @@
{
"implementation_commit": "b0818c01633ed7eab7240fcec5fa4a0a87c15104",
"status": "delivered_with_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P092": [
"reseller_margin"
],
"AUD-SIM-L1-P093": [
"auction_margin"
],
"AUD-SIM-L1-P125": [
"used_goods",
"art",
"collection",
"antique"
]
},
"branch_count": 3,
"treatment_count": 2,
"category_count": 4,
"QA_example_count": 8,
"shared_operations_not_double_counted": true,
"source": "CIVA Lei13/2016:3(3)g/3(6),PDF7,p1426(265);15(2)f/g,PDF13,p1426(271). RIVA Decreto7/2008,BR16-I de16/04/2008,arts47–49,PDF8–9,p106–107. Lei22/2022 PDF3 mantém15f/g e fixa17(1)16%. Lei10/2025 não altera15/17 e revoga regimes35/42;referência antiga não os reactiva. Rectificação2017 sem alteração destas disposições.",
"meaning": {
"P092": "Revendedor: margem individual positiva da contraprestação total com IVA menos preço de compra justificado; dividir por 1.16 e arredondar a base à unidade. Perda conservada no bem, sem compensação entre transmissões. Opção pelo regime normal fica separada.",
"P093": "Organizador em nome próprio por conta do comitente, contrato de comissão e venda em leilão: base = facturado ao comprador menos líquido do comitente menos IVA próprio identificado. Líquido = adjudicação menos comissão. IVA desconhecido não é zero.",
"P125": "Classificação própria: bem usado reutilizável, arte, colecção ou antiguidade superior a 100 anos; critérios de 3(6) conservados. Categoria identificada não activa automaticamente a margem. Tiragem limitada a 200 exemplares e cerâmica única executada/assinada pelo artista nos percursos respectivos."
},
"scope": "2026/MZN,transmissões internas tributáveis e aquisição nacional com qualidade do fornecedor/comitente demonstrada. Duas fórmulas, quatro categorias, oito exemplos e três ramos; uma operação individual, sem dupla contagem. Apenas classificação/base:sem IVA calculado,nova dedução,campo11,regularização ou totaisModeloA. IVA identificado no leilão é componente referenciada. Exportação isenta e opção normal separadas; origens legadas35/42 permanecem indeterminadas.",
"technical_choices": "regulatedSecondhands por oportunidade no snapshot/API/dossier existentes;BigInt com6casas,sem float;arredondamento à unidade mais próxima,empate para cima como escolha técnica explícita;troca conserva campos/referências e exige rever confirmações.Nenhum certificado/aprovador inventado. Prazo49(6)/(7) de5dias úteis identificado,sem calendário de feriados presumido.",
"verification": {
"frontend": {
"tests": 11,
"passed": 11,
"failed": 0,
"coverage": "8 combinações regime/categoria;ausência de factos/referências;opção normal;origem nacional/elegibilidade;limites de tiragem/idade;perdas/arredondamento;trocadecategoria;persistência,histórico,relatório e preservação integral"
},
"privateAPI": {
"tests": 1,
"assertions": 35,
"target": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"xml": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-secondhand-20261025\\phpunit.xml"
},
"types": "passed",
"build": "passed;existing plugin timing warnings",
"UI": "Edge/CUA,componente real:preço compra vazio mantém classificação mas base indeterminada;venda900/compra1000 conserva perda100 ebase0semcompensaroutrosbens;restauro1160/1000base138;gravação/recuperação/relatório8operações,4versõesanteriores,bases138.00x4/344.83x4,IVA/taxanull. Dados sintéticos,não aceitação manual da Tempo.",
"UI_screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-secondhand-20261025\\qa-recovered-report.png"
},
"preservation": {
"base": "ec786f4ae2eb25d9a21cdc46dc883efcf8fb8c02",
"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-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P128"
],
"confirmed_losses": [],
"accepted_delivery": "6c12aabb/ec786f4a;174tables/369files;29published/28relations/408geometries;code/schema/data/config/permissions compared",
"frozen": "tests\\frontend\\fixtures\\iva-secondhand-preserved.json",
"sha256": "f3616dc0b3a333128d08679e0e0949fa3cc425290db8e46bd4f563198f7f8e07",
"scope": "P092/P093/P125QA;all priorbooks/history includingP105–110 andpartialP084/P085 immutable;no activewrites"
},
"runtime_delta": {
"resources/js/lib/iva-secondhand.ts": "de9cab0f8685c0be1072ce0b8b5ae98865383fa52f4487ecb62514ddb28d6fdc",
"resources/js/components/simulation-secondhand.tsx": "7a715a05635137d3b7b8a1eb3d554646c4553430904613235199fc6a254cec20",
"resources/js/components/simulation-monthly-iva.tsx": "338d5c4b9b60b2be6b3f059c543c92127222f621424854cba9a19651d86d2967",
"resources/js/lib/project-dossier.ts": "fe0b12b2acc5d1a59c862abf6c96e2e09c51193fc2e090e475dc0ec8673e23c9"
},
"counts_current": {
"delivered": 111,
"QA": 3,
"functional_pending": 18,
"P001": 1,
"total": 133
},
"homologation_unchanged": "6c12aabb",
"remaining": "Uma entrega conjunta P092/P093/P125 pelo processoGit;backup/restauro isolado fresco e conferência apenas do delta instalado,reutilizando estas provas.",
"limits": "L1aberto;P00105/06;P121digital/P084/P085pendentes;bebidasL2/L3;Estatísticas/IAadiadas",
"sources_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-secondhand-20261025\\source-archive-inventory.json",
"qa_status_preserved": "QA_complete_not_delivered",
"delivery_followup": {
"served_commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"receipt": "l1-secondhand-delivery-20261025.json",
"record": "iva_l1_secondhand_P092_P093_P125_homologation_20261025",
"counts": {
"delivered": 114,
"QA": 0,
"functional_pending": 18,
"documentary": 1,
"total": 133
}
}
}
@@ -0,0 +1,282 @@
{
"date": "2026-10-25",
"status": "P104 delivered operational scope;partial P058/P084/P085 delivered without closure;QA proofs preserved",
"implementation_revision": "9536eb710b4b02650a80b9943e20b3f086dd0893",
"branch": "codex/iva-l1-returnees-qa-20261025",
"homologation_unchanged": "a665ee9c",
"accepted_receipt": "8b3ec2b0",
"counts": {
"delivered": 127,
"QA": 1,
"functional_pending": 4,
"P001": 1,
"total": 133
},
"QA_ids": [
"P104"
],
"partial_ids": [
"P058",
"P084",
"P085"
],
"origin": "Decisões expressas da Tempo25/10/2026 separadas das fontes legais;sem nova aprovação jurídica genérica",
"preserved_ids": [
"AUD-SIM-L1-P002",
"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-P046",
"AUD-SIM-L1-P048",
"AUD-SIM-L1-P049",
"AUD-SIM-L1-P050",
"AUD-SIM-L1-P051",
"AUD-SIM-L1-P052",
"AUD-SIM-L1-P053",
"AUD-SIM-L1-P054",
"AUD-SIM-L1-P055",
"AUD-SIM-L1-P056",
"AUD-SIM-L1-P057",
"AUD-SIM-L1-P059",
"AUD-SIM-L1-P060",
"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-P080",
"AUD-SIM-L1-P081",
"AUD-SIM-L1-P082",
"AUD-SIM-L1-P083",
"AUD-SIM-L1-P086",
"AUD-SIM-L1-P087",
"AUD-SIM-L1-P088",
"AUD-SIM-L1-P089",
"AUD-SIM-L1-P090",
"AUD-SIM-L1-P091",
"AUD-SIM-L1-P092",
"AUD-SIM-L1-P093",
"AUD-SIM-L1-P094",
"AUD-SIM-L1-P095",
"AUD-SIM-L1-P096",
"AUD-SIM-L1-P097",
"AUD-SIM-L1-P098",
"AUD-SIM-L1-P099",
"AUD-SIM-L1-P100",
"AUD-SIM-L1-P101",
"AUD-SIM-L1-P102",
"AUD-SIM-L1-P103",
"AUD-SIM-L1-P105",
"AUD-SIM-L1-P106",
"AUD-SIM-L1-P107",
"AUD-SIM-L1-P108",
"AUD-SIM-L1-P109",
"AUD-SIM-L1-P110",
"AUD-SIM-L1-P111",
"AUD-SIM-L1-P112",
"AUD-SIM-L1-P113",
"AUD-SIM-L1-P114",
"AUD-SIM-L1-P115",
"AUD-SIM-L1-P116",
"AUD-SIM-L1-P117",
"AUD-SIM-L1-P118",
"AUD-SIM-L1-P119",
"AUD-SIM-L1-P120",
"AUD-SIM-L1-P121",
"AUD-SIM-L1-P122",
"AUD-SIM-L1-P123",
"AUD-SIM-L1-P124",
"AUD-SIM-L1-P125",
"AUD-SIM-L1-P126",
"AUD-SIM-L1-P127",
"AUD-SIM-L1-P128",
"AUD-SIM-L1-P129",
"AUD-SIM-L1-P130",
"AUD-SIM-L1-P131",
"AUD-SIM-L1-P132",
"AUD-SIM-L1-P133"
],
"tests": {
"frontend": {
"passed": 75,
"includes": "P104,P058,ofertas,ZIP,legadoP131/P132/P129/P133"
},
"API": {
"passed": 2,
"assertions": 37,
"database": "simulator_fiscal_delta_20261021_test",
"port": 55441,
"rollback": true,
"scope": "upload privado,hash,deduplicação,quarentena/acesso,actor diferente,recuperação exactaP104 e127livros",
"latest_result": {
"tool": "phpunit",
"result": "passed",
"tests": 2,
"passed": 2,
"assertions": 37,
"duration_ms": 10448
}
},
"types": "passed",
"build": "passed",
"UI": {
"save_recover_report": "passed;DOM contains request,decision,form,scope,external submission",
"FX": "client opposite perspective selects Venda64.54 after impact confirmation;200USD→12908MZN;two earlier versions preserved",
"transport": "UI uses real components and synthetic local transport;real API tested separately in rolled-back QA;no authority submission"
}
},
"limits": [
"P104 é procedimento operacional da Tempo,não atribuição àLei2/2006 de uma regra cambial não demonstrada;excepção fiscal identificada por disposição/âmbito/taxa/data",
"Não activa cálculo de IVA,dedução ou reavaliação de livros anteriores;conversão reutiliza aritmética existente a seis casas decimais,sem nova regra de arredondamento fiscal",
"P084/P085 não são fechados por este avanço;ZIP contém preparação e anexos,não recibo de submissão nem formulário oficial inventado",
"Anexos privados reutilizamdocuments/scan existente;sem migração;pendente de scan impede descarga,sem criar certificado fiscal",
"P058 é parcial;bagagem e remissões por concluir;sem extensão das condiçõesP059",
"Formais digitais e cálculo fiscal de viagens/eventos mantêm limitações aceites;bebidasL2/L3,Estatísticas/IAadiadas;L1aberto"
],
"remaining": {
"P047": {
"type": "desenvolvimento e cotejo delimitado",
"exists": "CIVA12(1)b quatro famílias;IPP22 integral localizado no Parlamento,PDF4–5/p2238–2239;Lei8/2025item30 eDecreto27/2026 obtidos. MCNet5/BR251 é exemplar parcial dasIPP,não fonte doart22.",
"next": "Traduzir os âmbitos e condições das quatro famílias,começando pelos itens sustentados doQuadroV;distinguir isenção de direitos,redução e mero pedido;sem generalizar condições."
},
"P058": {
"type": "implementação parcial e cotejo",
"exists": "Três percursos de veículos63 emQA:isenção,80%,50%;60dias+30 excepcional;cincoanos;documentos de titularidade/residência euso28;fonte/hash/datas/valores/histórico. Não usa condiçõesP059.",
"next": "Concluir bagagem/outros bens e tratar a remissão incoerente57(2)b sem correcção presumida;marco do tempo de propriedade deve ser documentado,sem presumir chegada ou despacho;180dias exactos indeterminados."
},
"P084": {
"type": "continuidade operacional demonstrada;correspondência do formulário parcial",
"exists": "ProcedimentoTempo25/10 pedidoMF/AT→apresentado→decisão número/data/emitente/âmbito comanexo→conteúdo/formulário comdespacho;gravação/recuperação/relatório eZIP comhash;benefício só após decisão e linha abrangida.",
"next": "Concluir correspondência concreta do formulário aplicável;ModeloI.1 não é presumido por nome;preservar interesse público/fins sociais e aquisição/importação distintas."
},
"P085": {
"type": "continuidade operacional demonstrada;correspondência do formulário parcial",
"exists": "Mesma sequência operacional definida pelaTempo,com finalidade de atenuar calamidades,finalidade humanitária e aquisição. Pedido apresentado não concede;despacho aplica apenas ao seu âmbito.",
"next": "Concluir formulário/procedimento específico comfonte correspondente;sem estender à importação ou impor condições própriasP084."
},
"P001": {
"type": "dependência documental específica",
"exists": "Edição recebida e candidatos anteriores preservados;formulários2019/eDeclaração têm outra numeração.",
"next": "Instrução correspondente à edição recebida para distinguir apenas05/06;não reabrir outros campos."
}
},
"artifacts": {
"preservation": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\preservation-before-tests.json",
"sources": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\source-archive-inventory.json",
"frontend": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\frontend.txt",
"API": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\api.txt",
"UI_report": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\offer-recovered-report.png",
"UI_FX": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\P104-selection-history.png",
"package_P084": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\P084-pedido-decisao-formulario.zip",
"package_P085": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-returnees-20261025\\P085-pedido-decisao-formulario.zip"
},
"active_actions": {
"push": false,
"migration": false,
"active_DB_write": false,
"new_publication": false
},
"runtime_hashes": {
"app/Http/Controllers/Api/V1/SimulationOfferDocumentController.php": "b7359dcd66fa01e76d55ad729615f7cd4f0eb45ed88ec7b32d7997b8cfcb89c9",
"app/Http/Middleware/EnsureSimulationRecoveryCookie.php": "d10c2f54772233fcffe4f8f24c62a2282537bff1085d43ca7c1e8774070f5316",
"resources/js/components/simulation-currency-events.tsx": "4c81d2cd7e6835ee8102a8323991b494d8b52a21198a816c9f93f973c0da55b6",
"resources/js/components/simulation-fx-selection.tsx": "39bb6d87d404745b0b66349bc11626545a3672ae27321ce9b4658416592059bf",
"resources/js/components/simulation-monthly-iva.tsx": "b695e87089b08f987847e28413cd9bacca12b25f1171db4915f4a5dd082f5180",
"resources/js/components/simulation-offer-preparations.tsx": "9e70725e707ff4236f8edbaa965cb72d42407e010053a23f0e86bae7bbc2eaf7",
"resources/js/components/simulation-offer-workflow.tsx": "4cf2354d01b1f6c60598f1a495ee02946c5e565434078c61928ec7d13fe43cc6",
"resources/js/components/simulation-returnees.tsx": "a8b457344ec93d0db6d7a169b2f0b77dacb916b4943324a19b2580a893191cd4",
"resources/js/components/simulation-travel-events.tsx": "d5690d7abbb2b70653ec6cb42e75260347e7190c5d3a474983e6fd318d0606c4",
"resources/js/lib/iva-currency-events.ts": "cc9f2045d302d7987310da4006cc250fc5c99a27397918d166d649bfc32fab08",
"resources/js/lib/iva-fx-selection.ts": "9aa07ad443bc777b80510a3b5bd6aff9ddb9814d2450f3c690e531e74d71d998",
"resources/js/lib/iva-offer-package.ts": "240b274933e669a8c6def3b2324507c421bcd90ccbca82b58f6aab72cdeba5f5",
"resources/js/lib/iva-offer-preparations.ts": "b57abb97295493d0a9c3bb48941a7bb250f4fbec367a8b575afdbb14c32d1751",
"resources/js/lib/iva-offer-workflow.ts": "6ee9df722441639ab674b2457e5e9a075dc6ef326eab718d20295572297d5f86",
"resources/js/lib/iva-returnees.ts": "f91988669672e92527dba7e374fadebe71973f58a8459181d01e1684f10aab25",
"resources/js/lib/project-dossier.ts": "fc54a64b0e7bc218f30031355497c1ad98c84e5f2faf51945d5aa70e8f115864",
"routes/api.php": "f0b1b2b6943d23d27d54f6ffc58fd5caca46760ecec97a6da85faf477e5fef4e"
},
"artifact_hashes": {
"preservation": "0eb164a48edc3fae0af4b7a226254181e3abc741a8b3b3b79e50d3166d5e0eba",
"sources": "67dacdd502babd2e652d1195d1ce496323ed929a8527400141d8cb8e8ca864c2",
"frontend": "226b324ee59af3fbc1f2dd1ae39f4350fd3402870d26031e02d68b649f9577bd",
"API": "c99483738029ed9de91d493319b8cd3b08a546e2156a05404dc7a35995255c55",
"UI_report": "c3876f226656916fd3cab065346fa70f2f1b412eca13b4cfa4405eccfd24581c",
"UI_FX": "1ff954f1dde55440b9bfb5251856e78ee8504086f077a12422a2dc938496f416",
"package_P084": "65ad2aadbe5a59ddde566a0b5edb2125bdce221503a982bcc7c717235651abff",
"package_P085": "e447fe112b34466fcb7e3fe9c559b16edf6680a17e46c56f47425f4300d40c54"
},
"source_inventory_count": 19,
"qa_status_preserved": "P104 concluído em QA no procedimento operacional da Tempo;P058/P084/P085 parciais,sem fecho",
"delivery_followup": {
"served_commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"receipt": "l1-tempo-offers-fx-delivery-20261025.json",
"record": "iva_l1_tempo_offers_fx_P104_partial_P058_P084_P085_homologation_20261025",
"counts": {
"delivered": 128,
"QA": 0,
"functional_pending": 4,
"documentary": 1,
"total": 133
},
"partial_ids": [
"P058",
"P084",
"P085"
],
"L1": "open"
}
}
@@ -0,0 +1,108 @@
{
"implementation_commit": "c309215d0f2c37ed8c5dfb6b04eb89a2d24a634e",
"implementation_initial": "7986d024",
"status": "delivered_margin_events_only_QA_proofs_preserved",
"coverage": {
"AUD-SIM-L1-P129": [
"third_party_package",
"mixed_means_special_part",
"own_means_general",
"other_name_general",
"retailer_simple_general",
"retailer_new_package",
"foreign_establishment_outside"
],
"AUD-SIM-L1-P133": [
"travel_integral_first",
"travel_start_first",
"same_day_order_not_inferred",
"partial_8c",
"partial_then_full_no_double_count",
"invoice_before_special_event",
"travel_not_started",
"suspensive_exit_14_a_b_c_d",
"regime_still_held"
]
},
"branch_count_complete": 2,
"meaning": {
"P129": "Natureza e âmbito do regime38/39; meios próprios/terceiros e retalhista; margem global por operador/período do registo simulado, custos directos e exclusões41(3), excesso anterior/seguinte e base positiva com divisor1.16 arredondada à unidade. Sem IVA devido, dedução43d/campo11, regularização44 ou factura/modelo oficial emitidos.",
"P133": "Cessação efectiva de regime7(8), distinta de mudança de armazém/transferência; viagens7(9)/RIVA40 pelo primeiro entre integral e início/primeiro serviço, sem subtrair dia nem inferir ordem intradiária. Exigibilidade8 por factura/recebimento separada, incluindo sinal e saldo integral sem dupla soma. Sem montante de imposto, desembaraço, direito ou ICE apurados."
},
"examples": {
"travel_rows": 10,
"global_periods": 5,
"special_event_rows": 12
},
"source": "RIVA Decreto7/2008,38–46,acervoBR16-I16/04/2008PDF6–8/p104–106 (6/7 conferidas visualmente,46(2) texto extraídoPDF8). CIVA Lei13/2016,4(5)/5(2),PDF7/p1426(265);7(8)/(9)/8,PDF9/p1426(267);14(1),PDF13/p1426(271),páginas visualmente conferidas. CIVA17(1),Lei22/2022PDF3,16% usado no divisor da base;Lei10/2025não altera4/7/8/17. Não confundir regime fiscal com licenciamento turístico.",
"source_inventory": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-travel-events-20261025\\source-archive-inventory.json",
"documentary_cotejo": {
"reporting_excess": "41(5) e43a referem excesso e custos de período anterior/seguinte;43bii usa expressão exercício seguinte. Implementado transporte entre períodos por41(5)/43a, sem criar crédito ou dedução anual, com origem e correcção referenciadas e confirmação de divergência.",
"remaining_research": "Pesquisa delimitada de14(3)/calamidades no domínio AT/Governo não localizou ligação regulamentar específica adicional. Resultados de outras jurisdições não foram usados. Não declara inexistência de procedimento; preserva a cadeia documental já aceite de ModeloI.1 e pendênciasP084/P085/P104/P001.",
"official_notice": "https://portaldogoverno.gov.mz/governo-introduz-alteracoes-nos-regulamentos-fiscais-para-reforcar-eficiencia-tributaria/",
"notice_scope": "Anúncio já registado de alteração regulamentar não substitui texto/modelos. Limitações digitais mantidas, sem bloquear viagens/eventos."
},
"verification": {
"frontend": {
"tests": 29,
"passed": 29,
"failed": 0,
"coverage": "Margem global entre pacotes; negativos e reporte; custos excluídos; meios mistos; regimes gerais; datas; parcial/integral/factura; cessação/permanência; desconhecidos; divergência de reporte; isolamento; história e conservação integral dos livros anteriores."
},
"privateAPI": {
"tests": 1,
"assertions": 68,
"database": "simulator_fiscal_delta_20261021_test:55441",
"transaction": "rollback"
},
"types": "passed",
"build": "passed",
"browser": "Edge: registo global completo→parcial deixa base indeterminada, origens/histórico conservados; reposição e nova versão invalidam evento antigo. Pagamento integral→por esclarecer não inventa evento; reposto, gravado, recuperado e relatório aberto. Viagens versão4/histórico3; eventos versão5/histórico4. Relatório omite factos sem aplicação, preservando-os no rascunho/histórico.",
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-travel-events-20261025\\qa-recovered-report.png",
"preservation": "123 fechos inventariados antes dos testes, nenhum perdido; comparação integral do snapshot congelado retirando apenas os dois novos livros. Nenhuma escrita no activo."
},
"technical_choices": "Livros travelOperations/travelSpecialEvents por oportunidade no snapshot privado existente. BigInt6casas; divisor16% apenas para base. Eventos reutilizam motor entregue nos percursos com evento conhecido/adiantamento8c; factura anterior a7(9)mantém facto geradornull. Datas UTC/calendário explicitamente parametrizado. Eventos independem dos montantes da margem, exigem natureza/âmbito fiscal identificados. Referências em falta podem ser reutilizadas sem sobrescrever edições existentes.",
"runtime_delta": {
"resources/js/lib/iva-travel.ts": "253efc133fd968cbec0e0f04530d8757eb5dbf686cc2baa34a92a0efe71ee2fd",
"resources/js/lib/iva-travel-events.ts": "862c2c7c584a10e51626b215b5e23cceda9ed29859180c009be41113e30d30e9",
"resources/js/components/simulation-travel.tsx": "f966a67ed58ad86e7c8f80d1dfd6df2603f291529659bc52c4f32373bfaab93c",
"resources/js/components/simulation-travel-events.tsx": "0d12f7ace5d5c1488756675aab075f957d3833e059e58963cf69e5b1ea315bda",
"resources/js/components/simulation-monthly-iva.tsx": "ed7b32c1838eebf33fbb31366dc313bcc6fe718b3ffca9a990f495fa7a0d253a",
"resources/js/lib/project-dossier.ts": "a63f9ee361b175718ce405a888b8fca4f1525980a3f14bcea53770f49df2aaa0"
},
"limitations_balance": {
"digital": "Formalidades P121/P130: modelos da declaração/mapa de retenções e procedimentos de entrega/pagamento ainda não automatizados; cobertura digital integral não declarada. Mantém-se o limite da entrega df43aeb1.",
"travel": "Cálculo limitado à base da margem do registo simulado declarado, não apuramento integral da organização. Não calcula IVA devido/dedução42/43d, não executa regularização44, não emite factura45 ou modelo oficial46(2).",
"P104": "Conversão condicionada preservada; falta regra aplicável à escolha da taxa/data.",
"P084_P085": "Rascunhos e simulação condicionada preservados; ModeloI.1 não demonstra ligação a14(3) nem benefício concedido.",
"P001": "Pendência documental limitada aos campos05/06.",
"scope": "L1 aberto; bebidas L2/L3; Estatísticas/IA adiadas."
},
"counts_current": {
"delivered": 123,
"QA": 2,
"functional_pending": 7,
"P001": 1,
"total": 133
},
"homologation_unchanged": "df43aeb1",
"remaining": "Uma entrega conjunta compatível após aceitação, provas por ramo reutilizadas e delta instalado apenas. Sem push ou instalação neste incremento.",
"preservation_before_tests": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-travel-events-20261025\\preservation-before-tests.json",
"qa_status_preserved": "QA_complete_P129_P133_demonstrated_scope_not_delivered",
"delivery_followup": {
"served_commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"receipt": "l1-travel-events-delivery-20261025.json",
"record": "iva_l1_travel_events_P129_P133_homologation_20261025",
"counts": {
"delivered": 125,
"QA": 0,
"functional_pending": 7,
"documentary": 1,
"total": 133
},
"IVA_due_calculation": false,
"deduction_calculation": false,
"fiscal_parent_requirement": "AUD-SIM-INT02",
"P104_closure": false
}
}
@@ -0,0 +1,384 @@
{
"status": "installed_P131_P132_partial_P104_delta_verified_L1_open",
"candidate": "0052cd42d2755753b7e54257db05df8fbd9f08bc",
"base_installed": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"coverage_complete_branches": {
"AUD-SIM-L1-P131": [
"goods_available",
"goods_transport",
"goods_installation",
"service_completed",
"service_early_charge",
"import_clearance",
"import_auction",
"continuous_period",
"contract_effects"
],
"AUD-SIM-L1-P132": [
"own_goods",
"own_services",
"commission_delivery",
"consignment_deadline",
"advance_payment"
]
},
"coverage_partial": {
"AUD-SIM-L1-P104": "Preparação e simulação cambial condicionada,gravação/recuperação/histórico/relatório;moeda original,taxa,direcção,data,fonte e pressuposto explícitos. Não fechaP104 e não confirma base fiscal. Falta obter/cotejar disposição de conversão da Lei2/2006 referida em15(8),seu momento/regra e correspondência em2026."
},
"branch_count_complete": 2,
"event_treatment_count": 14,
"conditional_scenario_count": 1,
"runtime_delta": [
{
"path": "resources/js/lib/iva-currency-events.ts",
"sha256_LF": "7133d1df2cf4171495bd145f5b8350938f0a3b4230af824c223d2b03cf0d9bb1"
},
{
"path": "resources/js/components/simulation-currency-events.tsx",
"sha256_LF": "d103234361d57d0461d19a0f1fb9cbc5a714dbd566000478fad9aced585f32fa"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "44901ef5fc9def8ebd6c251d4af65f36a1cb330f5ed7d44db4a52d98753f18ff"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "1712be726c868d182a2ddf405331dcc1f55bf0c3ce72ad32ab758c15afef2f4a"
},
{
"path": "resources/js/lib/business-financial-plan.ts",
"sha256_LF": "c20274722d1ffcd0360f041a6cacb5d868fe0621cb27a1aca6e06826612c3ebb"
}
],
"counts_before": {
"delivered": 118,
"QA": 2,
"functional_pending": 12,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 120,
"QA": 0,
"functional_pending": 12,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 120,
"QA": 0,
"functional_pending": 12,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-currency-events-qa-20261025.json"
],
"authorization": "Tempo explicitly requests one joint delivery0052cd42/P131/P132;P104 may accompany only as conditionalconversion,notfiscalclosure;concurrentchanges preserved,installeddeltaonly",
"scope": "2026contexto;facto gerador7 e exigibilidade8 por data/âmbito;uma parcela de recebimento e restante por linha,ou parcelas de âmbitos distintos,sem agregação de totais entre linhas. Prazo de emissão é parâmetro legal identificado,não calendário presumido;importação segue7c. P104parcial não aplica câmbio fiscal.Sem nova base/IVA,taxa,dedução,campo11,regularização ou totaisModeloA;P133regimes suspensivos/viagens mantém âmbito separado.",
"source": "CIVA Lei13/2016:7(1)–(7),PDF8/p1426(266);8,PDF9/p1426(267);15(8),PDF14/p1426(272),páginas visualmente conferidas.Lei22/2022 eLei10/2025 não alteram7/8;15(8)mantido.RIVADecreto7/2008,21,PDF4:regra histórica5dias úteis e excepções;prazo actual não automatizado,exige disposição/calendário/âmbito identificados.",
"meaning": {
"P131": "Eventos7(1)a/b/c,7(2),7(3),7(7):disponibilização,início transporte,instalação/montagem concluída,serviço realizado/cobrado ou debitado antecipadamente pelo montante respectivo,desembaraço/arrematação/venda na importação,termo do período sucessivo,efeitos translativos com excepções3(3)a/b. Facto gerador separado de exigibilidade8;factura comercial não desloca evento aduaneiro.",
"P132": "Eventos7(4)/(5)/(6) e8c:afectações/transmissões assimiladas3(3)e/f,serviços4(2),disponibilização pelo comissário,termo180dias de mercadorias à consignação3(3)d e pagamentos anteriores à factura. Corrigida remissão a consignação,não embalagensP102.8a/b/c separam parcela recebida e restante,sem dupla contagem."
},
"P104_partial_condition": "Conversão condicionada,sem base fiscal confirmada.Preserva moeda,taxa,direcção,data,fonte e regra/pressuposto.Exemplar/disposição cambialLei2/2006 deve ser cotejado antes de fecharP104.P104continua nos12pendentes.",
"documentary_research_delimited": {
"P104": {
"finding": "Remissão15(8) para Lei2/2006 identificada;artigo de conversão e parâmetros ainda não cotejados em exemplar íntegro.",
"attempts": [
"Acervo local seisPDF semLei2/2006",
"Pesquisa Lei2/2006/CIP identificaBR12-I22/03/2006",
"PDF primário platformchinaplp devolveu404;DLA recusou/timeout;archiveBR2006 devolveu403"
],
"next_action": "Obter exemplar íntegroLei2/2006 e identificar disposição de conversão/momento/regra;reutilizar rascunhos,sem validação jurídica genérica."
},
"RIVA21": {
"primary_notice": "https://portaldogoverno.gov.mz/governo-introduz-alteracoes-nos-regulamentos-fiscais-para-reforcar-eficiencia-tributaria/",
"finding": "Anúncio governamental inclui alteração21;anúncio não substitui texto normativo/publicação. Prazo não presumido5dias úteis por defeito;campo exige termo/disposição/calendário aplicáveis.",
"next_action": "Localizar texto publicado da alteração21 para eventual automatização do prazo;motor8já opera com parâmetro concreto identificado."
}
},
"preservation": "118priorclosures andpartialP084/P085 preserved;one integration/backup/realisolatedrestore/check;QAproofsreused",
"partial_P084_P085": "Preparation/conditional simulation only;benefits pending;no closure",
"limits": "L1aberto;P00105/06;bebidasL2/L3;Estatísticas/IAadiadas",
"containment": "l1-currency-events-readonly-rollback-20261025.patch,checked only,not applied;blocks newP131/P132/conditionalP104calculations,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"previous_release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"release_revision": {
"commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"branch": "main",
"built_at": "2026-10-24T22:52:27.789891+00:00",
"manifest_sha256": "52e638801184578d481f490734a4b98f8f557625e81fd942348a2067bfc0f58b"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-currency-events-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "3bf9ce6052b554884fc9073ef094df83e4061a4acf9698aa4b86746372a933b3",
"files_sha256": "bfdc60b76ce1da29199eeb9f21503350c94da165ba2458fcb26f57c96bde995b",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_currency_events_restore_20261024",
"port": 55441,
"source_dump_sha256": "3bf9ce6052b554884fc9073ef094df83e4061a4acf9698aa4b86746372a933b3",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"previous_release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 5,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "9ffc4c728b779ae65422ece807e747ce"
},
"after": {
"rows": 106,
"checksum": "eb794d5a5c04b738022d307f04aa5885"
}
},
"sessions": {
"before": {
"rows": 108,
"checksum": "6acbafdd2b5cb8f5388e4c45e1c1ec95"
},
"after": {
"rows": 109,
"checksum": "591338e88d2ef2a58a2c1954e7302167"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"branch": "main",
"built_at": "2026-10-24T23:06:53.694897+00:00",
"manifest_sha256": "8679ad3c79f08e7a9505fcff3d72821c924048cb8188c80bb0ad1332adedf248"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"currency-events/1": [
"assets/project-dossier-BNIZIALo.js"
],
"foreign_scenario": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"goods_available": [
"assets/project-dossier-BNIZIALo.js"
],
"goods_transport": [
"assets/project-dossier-BNIZIALo.js"
],
"goods_installation": [
"assets/project-dossier-BNIZIALo.js"
],
"service_completed": [
"assets/project-dossier-BNIZIALo.js"
],
"service_early_charge": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"import_clearance": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"import_auction": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"continuous_period": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"contract_effects": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"own_goods": [
"assets/project-dossier-BNIZIALo.js"
],
"own_services": [
"assets/project-dossier-BNIZIALo.js"
],
"commission_delivery": [
"assets/project-dossier-BNIZIALo.js"
],
"consignment_deadline": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"advance_payment": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"currencyEvents": [
"assets/project-dossier-BNIZIALo.js"
],
"dueEvents": [
"assets/project-dossier-BNIZIALo.js"
],
"scenarioAmount": [
"assets/project-dossier-BNIZIALo.js"
],
"mzn_per_unit": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"units_per_mzn": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"fxRuleRef": [
"assets/project-dossier-BNIZIALo.js",
"assets/services-D8qtC6wy.js"
],
"conversão apenas cenário condicionado": [
"assets/project-dossier-BNIZIALo.js"
],
"sem base fiscal confirmada": [
"assets/project-dossier-BNIZIALo.js"
]
},
"assets": [
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
},
{
"file": "assets/project-dossier-BNIZIALo.js",
"status": 200,
"sha256": "4f735b3ce4315b6fc87afb9f8e30774e9dc664073fa775da9cec640eaa6f0fde"
},
{
"file": "assets/services-D8qtC6wy.js",
"status": 200,
"sha256": "240800ef9ba1c338ac6ceb6f6dbbffce11ce02f8bb52ce385c901632f1d6b681"
},
{
"file": "assets/project-dossier-document-CM7oUIMz.js",
"status": 200,
"sha256": "2a62e4f6e2d7b8058feb67cef817e2d677150e149a3ffe56d6c38120f810634d"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DwkwtDdx.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"previous_release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"previous_release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"e8b5ae43add95be3a7fd437e4488befce76c0a97"
],
"finished_at": "2026-10-24T23:06:56.387937+00:00"
},
"log_file": "1792883102945866022.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 27.52s",
"OK (59 tests, 317 assertions)",
"# tests 463",
"# pass 463",
"# fail 0"
],
"log_bytes": 156709
},
"rollback_executed": false
},
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports",
"P104_closure": false
}
@@ -0,0 +1,9 @@
--- a/resources/js/lib/iva-currency-events.ts
+++ b/resources/js/lib/iva-currency-events.ts
@@ -90,5 +90,5 @@
}
function key(draft:Record<string,unknown>,book:CurrencyEventBook):string{return JSON.stringify({version:currencyEventVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows});}
export function currencyEventCurrent(draft:Record<string,unknown>,book:CurrencyEventBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
-export function recordCurrencyEvents(draft:Record<string,unknown>,book:CurrencyEventBook):CurrencyEventBook{if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique operações com identidades distintas;originais conservados.');const result:CurrencyEventCalculation={version:currencyEventVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:currencyEventSource,inputs:structuredClone(book.rows),rows:book.rows.map(evaluateCurrencyEvent)};const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveCurrencyEventBook(draft,next);return next;}
+export function recordCurrencyEvents(draft:Record<string,unknown>,book:CurrencyEventBook):CurrencyEventBook{throw new Error('Novas versões P131/P132 e cenários condicionados P104 temporariamente suspensos;dados,histórico e relatórios preservados.');if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique operações com identidades distintas;originais conservados.');const result:CurrencyEventCalculation={version:currencyEventVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:currencyEventSource,inputs:structuredClone(book.rows),rows:book.rows.map(evaluateCurrencyEvent)};const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveCurrencyEventBook(draft,next);return next;}
export function currencyEventReportRows(draft:Record<string,unknown>):Array<[string,string,string,string]>{try{const book=currencyEventBook(draft),r=book.result;if(!r)return[];return r.inputs.map((row,i)=>['IVA mensal',`${currencyEventTreatments.find(t=>t.id===row.treatment)?.branch??'Evento'} — ${row.period} — ${row.id}`,`${row.description};${r.rows[i].reason};facto gerador:${r.rows[i].eventDate??'Indeterminado/não apurado'};parcelas:${r.rows[i].dueEvents.map(p=>p.date+': '+(p.amount??'Montante indeterminado')+' '+row.currency+' ('+p.reason+')').join('; ')||'Nenhuma apurada'};restante pendente:${r.rows[i].status==='indeterminate'?'Indeterminado':r.rows[i].remainingPending?'Sim':'Não'};cenário condicionado:${r.rows[i].scenarioAmount??'Indeterminado'};base/IVA:Indeterminados`,`${r.opportunity};${r.location};${currencyEventCurrent(draft,book)?'Resultado actual':'Entradas alteradas;resultado histórico conservado'};versão${r.revision};${r.calculatedAt};${r.source};${row.origin};documento ${row.documentRef},${row.documentDate};ambito ${row.scope};${row.treatment==='foreign_scenario'?`origem ${row.amount} ${row.sourceCurrency};taxa ${row.fxRate},${row.fxDirection},${row.fxDate};fonte ${row.fxSource};pressuposto ${row.fxRuleRef}`:`evento ${row.eventDate},${row.eventRef};outra data ${row.otherDate};conferencia ${row.reviewDate};factura ${row.invoiceRequired},${row.invoiceState},${row.invoiceDate},${row.invoiceRef};prazo ${row.legalDeadline},${row.deadlineRef};recebimento ${row.paymentState},${row.paymentDate},${row.paymentAmount},${row.paymentRef};total do ambito ${row.amount} ${row.currency}`};fundamento ${row.evidence};sem nova dedução/campo11/IVA ou activação cambial nos livros anteriores.`]);}catch{return[['IVA mensal','Moeda/eventos','Dados não recuperáveis','Originais preservados;sem substituição porzero.']];}}
@@ -0,0 +1,392 @@
{
"status": "installed_P002_P121_P130_demonstrated_scope_only_L1_open",
"candidate": "de4b25bbd73f8c0d34549e455ade5639d37cd801",
"accepted_candidates": [
"e4c490b3",
"de4b25bb"
],
"base_installed": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"coverage_complete_branches": {
"AUD-SIM-L1-P002": [
"goods",
"services",
"listed_services",
"foreign_transport_portion"
],
"AUD-SIM-L1-P121": [
"web",
"software_service",
"information",
"media",
"teaching",
"analogous"
],
"AUD-SIM-L1-P130": [
"software_asset",
"content_asset",
"data_asset",
"crypto_asset",
"ebook_asset",
"profile_asset",
"access_asset",
"other_asset"
]
},
"coverage_label": "Três ramos no âmbito demonstrado: P002 enquadramento potencial; P121/P130 natureza/localização/responsável, rascunho/histórico/relatório. Não representa cobertura digital integral.",
"digital_coverage_integral": false,
"digital_formalities_not_automated": [
"Modelos da declaração mensal e do mapa de retenções25(7)",
"Formalidades/procedimentos de entrega e pagamento26(4) ainda não cotejados",
"Submissão, pagamento ou cálculo de imposto/dedução não executados neste incremento"
],
"digital_documentary_limits": {
"procedure": "Modelos/formalidades de25(7)/26(4) não cotejados neste incremento. A pesquisa oficial delimitada encontrou anúncio governamental de30/09/2026, não o texto normativo de execução. Isto não declara inexistência de regulamentação nem bloqueia classificação e preparação. Nenhum modelo, taxa de retenção, aprovador ou formulário inventado.",
"official_notice": "https://portaldogoverno.gov.mz/governo-introduz-alteracoes-nos-regulamentos-fiscais-para-reforcar-eficiencia-tributaria/",
"next_action": "Cotejar texto publicado e modelos aplicáveis antes de automatizar formalidades/submissão; manter preparação, localização e atribuição legal demonstrada.",
"P104": "Mantém pendência de escolha da taxa/data; conversão condicionada preservada, sem dependência efectiva destes percursos.",
"P084_P085": "Preparação/simulação condicionada preservadas; benefícios não encerrados."
},
"UI_delta_from_QA": "Texto explícito de cobertura limitada e formalidades não automatizadas, pedido pela Tempo; nenhuma alteração de regra ou cálculo.",
"branch_count_complete": 3,
"digital_treatment_count": 14,
"digital_examples": 46,
"P002_examples": 7,
"runtime_delta": [
{
"path": "resources/js/lib/iva-digital.ts",
"sha256_LF": "623165a4e36e161776fea115ee7f8b9b61b4e5766831daa404badf8397eae271"
},
{
"path": "resources/js/components/simulation-digital.tsx",
"sha256_LF": "5bf44510481d1739e0a81f0326c14c8e2f477ac9a7e02b694c3b3173a92dcd78"
},
{
"path": "resources/js/lib/iva-foreign-operations.ts",
"sha256_LF": "b2735b9071aac41f9ddf0ae0c81d3943c870adccfa315ec01432388fec4a7de8"
},
{
"path": "resources/js/components/simulation-foreign-operations.tsx",
"sha256_LF": "5276d81afd97cd40df63973fcfdca27d80903464af078f67deb3e45c7bb90948"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "19269934dc83f2cb3c36b1677f0bcdf066dc0ffd2af889730bd92acb54532587"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "f0428b411146e030bbf952428faffab6ac26178d09aa3a6437daa9363bc75a46"
},
{
"path": "resources/js/lib/iva-currency-events.ts",
"sha256_LF": "fa99e217e96bc6601ebfe0ac48a8ad3395ce85d57218c23888e6eece5a7405fa"
}
],
"counts_before": {
"delivered": 120,
"QA": 3,
"functional_pending": 9,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 123,
"QA": 0,
"functional_pending": 9,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 123,
"QA": 0,
"functional_pending": 9,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-foreign-operations-qa-20261025.json",
"iva-l1-digital-qa-20261025.json"
],
"authorization": "Tempo solicita uma única disponibilização P002/P121/P130 no âmbito demonstrado, com alterações concorrentes preservadas e somente delta instalado conferido.",
"preservation": "120 fechos, P104 condicionado, P084/P085 parciais, dados, históricos, permissões e acessos preservados. P104 não encerrado.",
"scope": "Natureza digital, localização e responsável; gravação, recuperação, histórico e relatório. Não calcula taxa/base/IVA/dedução/campo11 ou totais; não envia declaração nem inicia pagamento. Software/acesso/licenciamento não decidem natureza apenas pelo título.",
"P104_closure": false,
"limits": "L1 aberto; P001 apenas05/06; P084/P085 benefícios pendentes; bebidas L2/L3; Estatísticas/IA adiadas.",
"containment": "l1-foreign-digital-readonly-rollback-20261025.patch; conferir sem aplicar: suspende apenas novas versões P002/digital, preservando leitores/histórico/outros ramos.",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"previous_release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"release_revision": {
"commit": "e8b5ae43add95be3a7fd437e4488befce76c0a97",
"branch": "main",
"built_at": "2026-10-24T23:06:53.694897+00:00",
"manifest_sha256": "8679ad3c79f08e7a9505fcff3d72821c924048cb8188c80bb0ad1332adedf248"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-foreign-digital-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "4325b559ab0e7e4a2904a4dc2235b79260a04095e401a3d0231b46e64afb16a9",
"files_sha256": "d69622a7179b7bfdfc4599714a9093f47f28c6fcc96b38d1856cfbd38775ef4b",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_foreign_digital_restore_20261024",
"port": 55441,
"source_dump_sha256": "4325b559ab0e7e4a2904a4dc2235b79260a04095e401a3d0231b46e64afb16a9",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"previous_release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 7,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "72e3df5d5b6a9ae0a1711e5e7dba713e"
},
"after": {
"rows": 106,
"checksum": "b32e95b044290f27169a56415ade43f7"
}
},
"sessions": {
"before": {
"rows": 111,
"checksum": "ea3379188d08dd9e272dccd89cff3845"
},
"after": {
"rows": 112,
"checksum": "874bf4e3d6aef4a7d76d37bf0076c889"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"branch": "main",
"built_at": "2026-10-24T23:29:21.431835+00:00",
"manifest_sha256": "42fcfc7d2fa7e7adae795927245582d1d140dd2a4fdc77164056b33de94f21e1"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"digital-operations/1": [
"assets/project-dossier-CGYWZtgD.js"
],
"foreign-operations/1": [
"assets/project-dossier-CGYWZtgD.js"
],
"digitalOperations": [
"assets/project-dossier-CGYWZtgD.js"
],
"foreignOperations": [
"assets/project-dossier-CGYWZtgD.js"
],
"software_asset": [
"assets/project-dossier-CGYWZtgD.js"
],
"crypto_asset": [
"assets/project-dossier-CGYWZtgD.js"
],
"ebook_asset": [
"assets/project-dossier-CGYWZtgD.js"
],
"profile_asset": [
"assets/project-dossier-CGYWZtgD.js"
],
"access_asset": [
"assets/project-dossier-CGYWZtgD.js"
],
"other_asset": [
"assets/project-dossier-CGYWZtgD.js"
],
"software_service": [
"assets/project-dossier-CGYWZtgD.js"
],
"analogous": [
"assets/project-dossier-CGYWZtgD.js"
],
"digitalAsset": [
"assets/project-dossier-CGYWZtgD.js"
],
"digitalService": [
"assets/project-dossier-CGYWZtgD.js"
],
"declarationReferenceDate": [
"assets/project-dossier-CGYWZtgD.js"
],
"representativeRef": [
"assets/project-dossier-CGYWZtgD.js",
"assets/services-OpXmisSI.js"
],
"communicationPrior": [
"assets/project-dossier-CGYWZtgD.js",
"assets/services-OpXmisSI.js"
],
"businessUse": [
"assets/project-dossier-CGYWZtgD.js",
"assets/services-OpXmisSI.js"
],
"potential": [
"assets/project-dossier-CGYWZtgD.js"
],
"excluded_19_2": [
"assets/project-dossier-CGYWZtgD.js"
],
"Cobertura digital deste incremento:": [
"assets/services-OpXmisSI.js"
],
"não estão automatizadas": [
"assets/services-OpXmisSI.js"
],
"Não representa cobertura digital integral": [
"assets/services-OpXmisSI.js"
],
"modelos da declaração e do mapa de retenções": [
"assets/services-OpXmisSI.js"
],
"P104": [
"assets/project-dossier-CGYWZtgD.js",
"assets/services-OpXmisSI.js"
],
"sem base fiscal confirmada": [
"assets/project-dossier-CGYWZtgD.js"
]
},
"assets": [
{
"file": "assets/project-dossier-CGYWZtgD.js",
"status": 200,
"sha256": "14111c559c18321a5e70b8dfe0e4d1d774116bc8f43a4857a52a6d09b85758ba"
},
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
},
{
"file": "assets/project-dossier-document-C8UzSjvU.js",
"status": 200,
"sha256": "c165aa0ff95ac6dce620300b3e989f69f087fe85cd760a854874c1579c0d5a81"
},
{
"file": "assets/services-OpXmisSI.js",
"status": 200,
"sha256": "cd8ff9052961f612706806290f34b3823f18c67128cab2f23b9f3f5c611c4ce5"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BJtmUrd_.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"previous_release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"previous_release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"df43aeb1e583e65af854ac71f46ddaa1f49b0b7c"
],
"finished_at": "2026-10-24T23:29:24.177941+00:00"
},
"log_file": "1792884448718297106.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 27.80s",
"OK (59 tests, 317 assertions)",
"# tests 520",
"# pass 520",
"# fail 0"
],
"log_bytes": 168294
},
"rollback_executed": false
},
"activation": "One joint Git fast-forward/webhook/installer; zero migrations/imports; accepted QA proofs reused"
}
@@ -0,0 +1,20 @@
--- a/resources/js/lib/iva-digital.ts
+++ b/resources/js/lib/iva-digital.ts
@@ -76,7 +76,7 @@
}
function key(draft:Record<string,unknown>,book:DigitalBook):string{return JSON.stringify({version:digitalVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows});}
export function digitalCurrent(draft:Record<string,unknown>,book:DigitalBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
-export function recordDigital(draft:Record<string,unknown>,book:DigitalBook):DigitalBook{
+export function recordDigital(draft:Record<string,unknown>,book:DigitalBook):DigitalBook{throw new Error('Novas versões P121/P130 temporariamente suspensas; dados, histórico e relatórios conservados.');
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Identifique operações distintas; originais conservados.');
const result:DigitalCalculation={version:digitalVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:digitalSource,inputs:structuredClone(book.rows),rows:book.rows.map(evaluateDigital)};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveDigitalBook(draft,next);return next;
--- a/resources/js/lib/iva-foreign-operations.ts
+++ b/resources/js/lib/iva-foreign-operations.ts
@@ -46,5 +46,5 @@
}
function key(draft:Record<string,unknown>,book:ForeignOperationBook):string{return JSON.stringify({version:foreignOperationVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows,dependencies:book.rows.map(row=>({source:foreignSources(draft,row.sourceKind).find(s=>s.id===row.sourceRowId),event:row.eventRowId?foreignEvents(draft).find(e=>e.id===row.eventRowId):null}))});}
export function foreignOperationCurrent(draft:Record<string,unknown>,book:ForeignOperationBook):boolean{try{return!!book.result&&book.result.sourceKey===key(draft,book);}catch{return false;}}
-export function recordForeignOperations(draft:Record<string,unknown>,book:ForeignOperationBook):ForeignOperationBook{if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique identidades distintas;originais conservados.');const result:ForeignOperationCalculation={version:foreignOperationVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:foreignOperationSource,inputs:structuredClone(book.rows),rows:book.rows.map(r=>evaluateForeignOperation(draft,r))};const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveForeignOperationBook(draft,next);return next;}
+export function recordForeignOperations(draft:Record<string,unknown>,book:ForeignOperationBook):ForeignOperationBook{throw new Error('Novas versões P002 temporariamente suspensas; dados, histórico e relatórios conservados.');if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique identidades distintas;originais conservados.');const result:ForeignOperationCalculation={version:foreignOperationVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:foreignOperationSource,inputs:structuredClone(book.rows),rows:book.rows.map(r=>evaluateForeignOperation(draft,r))};const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveForeignOperationBook(draft,next);return next;}
export function foreignOperationReportRows(draft:Record<string,unknown>):Array<[string,string,string,string]>{try{const b=foreignOperationBook(draft),r=b.result;if(!r)return[];return r.inputs.map((row,i)=>{const line=r.rows[i];return['IVA mensal',`P002 — ${line.source?.period??'Período indeterminado'} — ${row.id}`,`${line.source?.description??'Origem por escolher'};${line.reason};dedução/IVA:Indeterminados`,`${r.opportunity};${foreignOperationCurrent(draft,b)?'Resultado actual':'Origens/entradas alteradas;resultado histórico conservado'};versão${r.revision};${r.calculatedAt};${r.source};localização${row.sourceKind}/${row.sourceRowId},versão${line.source?.revision??'indeterminada'};${line.source?.reason??''};operação${line.source?.operationRef??''};âmbito origem${line.source?.scope??''};parcela${row.territorialPart};evento${row.eventRowId||'Sem associação necessária'},${line.event?JSON.stringify(line.event):'Não apurado por esta análise'};hipótese interna${row.hypotheticalTaxable},fundamento${row.hypotheticalRef};exclusão19(2)${row.excluded19_2};âmbito${row.scope};factos${row.evidence};sem base/IVA/dedução/campo11/totaisModeloA.`];});}catch{return[['IVA mensal','P002','Dados não recuperáveis','Originais preservados;sem classificação por defeito.']];}}
@@ -0,0 +1,323 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "af7d2503207c8744cdbb6d96b8cca89fa367384e",
"base_installed": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"coverage_complete_branches": {
"AUD-SIM-L1-P122": [
"goods_sale_commission",
"goods_purchase_commission"
],
"AUD-SIM-L1-P128": [
"service_sale_mandate",
"service_purchase_mandate"
]
},
"branch_count_complete": 2,
"treatment_count": 4,
"runtime_delta": [
{
"path": "resources/js/lib/iva-own-name.ts",
"sha256_LF": "c36509de24d31d747d91630a31ce7d72baa749e9928b718a944556348fc54f85"
},
{
"path": "resources/js/components/simulation-own-name.tsx",
"sha256_LF": "6e142242aa29ae07e36b4d8d0be7d78f770d701e0a92e1a6e9832fcb794c17cf"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "9718dc440aa98497011775d8bd03049d7857fa3badf27f4467d6d434f642defd"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "099dc307a86c763a9509516f6d59cc5c454b1f81189cc04b919d8d6045baf9dc"
}
],
"counts_before": {
"delivered": 107,
"QA": 2,
"functional_pending": 23,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 109,
"QA": 0,
"functional_pending": 23,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 109,
"QA": 0,
"functional_pending": 23,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g10-own-name-qa-20261025.json"
],
"authorization": "Tempo explicitly requests one joint delivery ofaf7d2503,P122/P128,main compatibility/concurrent changes preserved,installeddelta only",
"scope": "2026,circuitos emnome próprio,partes/contratos/objectos econtraprestações originais das duas relações. Sem soma/compensação automática,base tributável nova,localização,isenção,taxa,IVA,dedução/campo11 ou totaisModeloA. Sem conversão cambial;moeda original identificada e coerente com contexto. P091preservado,sem repetir aceitação/cálculo.",
"source": "CIVA3(3)c,Lei13/2016PDF6/p1426(264);4(3),PDF7/p1426(265). Lei22/2022não altera3/4;Lei10/2025PDF12mantém3(3)c e não altera4. Base15(2)e/P091já entregue permanece independente;sem nova aplicação da base neste incremento.",
"meaning": {
"P122": "Transferências de bens em execução de contrato de comissão,incluindo consignação;na venda comissário considerado comprador,na compra comitente considerado comprador. Venda:comitente→comissário→terceiro;compra:terceiro→comissário→comitente. Contraprestações e referências das duas relações separadas.",
"P128": "Serviço efectuado por intervenção de mandatário emnome próprio:mandatário considerado adquirente eprestador sucessivamente4(3). Venda/prestação:mandante→mandatário→terceiro;compra/aquisição:terceiro→mandatário→mandante. Não é mera intermediação emnome de outrem ou base15(2)e de bens."
},
"formula": "Classifytwo successive relations bykind/direction;keep eachoriginalconsideration separate;no monetaryaggregation or taxcalculation.",
"preservation": "107prior closures and partialP084/P085 preserved;accepted perbranchQA reused;one integration/backup/real isolatedrestore/check for whole set",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "L1open;deductionoutsideincrement;P00105/06;P121digital/P084/P085pending;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g10-own-name-readonly-rollback-20261025.patch,checked only,not applied;blocks newP096–099classifications,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"previous_release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"release_revision": {
"commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"branch": "main",
"built_at": "2026-10-24T22:01:48.219730+00:00",
"manifest_sha256": "d45edd81644fa6b659aece95804fd9c5e8e99c599ef82bf078ee2ba39e700f12"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g10-own-name-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "85e90033b54a7eb7fed1bf0de466b984f5c03cc3b4938b5d8db20b7bf0abf954",
"files_sha256": "291e2c871d94c3b642252f8daa8a9d7557278f13028e68df78b5f6edec5b1234",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g10_own_name_restore_20261024",
"port": 55441,
"source_dump_sha256": "85e90033b54a7eb7fed1bf0de466b984f5c03cc3b4938b5d8db20b7bf0abf954",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"previous_release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "0533965406197091e01442f39b006a04"
},
"after": {
"rows": 106,
"checksum": "690fff122d6fc745c2e2ab9bd28732aa"
}
},
"sessions": {
"before": {
"rows": 93,
"checksum": "d97f35b74199225940dea7078a712474"
},
"after": {
"rows": 94,
"checksum": "def210abad7e8e9b838f9490594fb787"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"branch": "main",
"built_at": "2026-10-24T22:09:58.694541+00:00",
"manifest_sha256": "40f4377487ec290e47d1bee92146172fa4e2a316fa4a072dcc82300fea3cc6c1"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"own-name-chains/1": [
"assets/project-dossier-Ct_yYLqe.js"
],
"goods_sale_commission": [
"assets/project-dossier-Ct_yYLqe.js"
],
"goods_purchase_commission": [
"assets/project-dossier-Ct_yYLqe.js"
],
"service_sale_mandate": [
"assets/project-dossier-Ct_yYLqe.js"
],
"service_purchase_mandate": [
"assets/project-dossier-Ct_yYLqe.js"
],
"ownNames": [
"assets/project-dossier-Ct_yYLqe.js"
],
"ownName": [
"assets/project-dossier-Ct_yYLqe.js"
],
"forAnother": [
"assets/project-dossier-Ct_yYLqe.js"
],
"commissionContract": [
"assets/project-dossier-Ct_yYLqe.js"
],
"successiveService": [
"assets/project-dossier-Ct_yYLqe.js"
],
"directionConfirmed": [
"assets/project-dossier-Ct_yYLqe.js"
],
"firstAmount": [
"assets/services-BoK-jPgg.js",
"assets/project-dossier-Ct_yYLqe.js"
],
"secondAmount": [
"assets/services-BoK-jPgg.js",
"assets/project-dossier-Ct_yYLqe.js"
],
"firstLegRef": [
"assets/services-BoK-jPgg.js",
"assets/project-dossier-Ct_yYLqe.js"
],
"secondLegRef": [
"assets/services-BoK-jPgg.js",
"assets/project-dossier-Ct_yYLqe.js"
],
"existingBaseRef": [
"assets/services-BoK-jPgg.js",
"assets/project-dossier-Ct_yYLqe.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-Ct_yYLqe.js"
]
},
"assets": [
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/services-BoK-jPgg.js",
"status": 200,
"sha256": "df86ebec3aad6060cc563343ddc3010d330fcd8b89e21db9861c042dbadb3317"
},
{
"file": "assets/project-dossier-document-DTNvmcJB.js",
"status": 200,
"sha256": "e961e77528e9c18681f133dd6e332202f48783bb0f9373117aac8aa83a0653b3"
},
{
"file": "assets/project-dossier-Ct_yYLqe.js",
"status": 200,
"sha256": "db9b14435dccf65e83555e2517b939e0bc05a31782996abffe6d7b29b901ea47"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-dGCxtIbq.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"previous_release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"previous_release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"63cc336787cade92fb7ee5b2b2d407308a0cf66b"
],
"finished_at": "2026-10-24T22:10:01.647328+00:00"
},
"log_file": "1792879692780810651.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 27.93s",
"OK (59 tests, 317 assertions)",
"# tests 413",
"# pass 413",
"# fail 0"
],
"log_bytes": 146997
},
"rollback_executed": false
},
"base_VAT_separation": "AcceptedQA reused:P122goods sale/purchasecommission3(3)c andP128services sale/purchasemandate4(3). Agent ownname andforanother,parties/contract/object/period/two relations explicit. Originalconsiderations separated,never summed/netted/converted or usedasautomaticbase. P091anditsbooks/history preserved,not recalculated. No territoriality/exemption/base/rate/VAT/deductionfield11 or ModeloAtotals activated. Four installedruntimehashes/17compiledmarkers;107previousclosures preserved;no syntheticactivewrites.",
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-own-name.ts
+++ b/resources/js/lib/iva-own-name.ts
@@ -45,6 +45,7 @@
function key(draft:Record<string,unknown>,book:OwnNameBook):string{return JSON.stringify({version:ownNameVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function ownNameCurrent(draft:Record<string,unknown>,book:OwnNameBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordOwnNames(draft:Record<string,unknown>,book:OwnNameBook):OwnNameBook{
+ throw new Error('Novas classificações P122/P128 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:OwnNameCalculation={version:ownNameVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:ownNameSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateOwnName(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveOwnNameBook(draft,next);return next;
@@ -1,5 +1,5 @@
{
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"status": "installed_delta_verified_partial_L1",
"candidate": "1565aa4ffb13fae75e925ccdb2b7553a9b111dd5",
"last_installed": "2d889a21",
"coverage": {
@@ -50,8 +50,8 @@
],
"ancestry_scope_warning": "Candidate also contains uninstalledP084/P085draftpreparation5ec2f198,not benefits;future deliverymust identify totalinstalleddelta and preserve those drafts,not countP084/P085 asclosed",
"counts_current": {
"delivered": 74,
"QA": 1,
"delivered": 75,
"QA": 0,
"functional_pending": 57,
"documentary": 1,
"total": 133
@@ -177,5 +177,172 @@
"source_dump_sha256": "e6b37683c01019b2fc361a3ff33f6be0f2ebf6f5a1a23c4a81dc95ea278dd9b9",
"active_database_writes": 0
}
}
},
"served_commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"previous_release": "/var/www/investmoz-homologacao/releases/2d889a211ba303db31dcba815e439456dfba9f36-dac24b34",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 7,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "2df1487be225c60843f9f0ef9f07ed71"
},
"after": {
"rows": 105,
"checksum": "286378eec2e9e387ecfbeb156f168fca"
}
},
"sessions": {
"before": {
"rows": 41,
"checksum": "0e709e11078a7c89e010c3f670d6f207"
},
"after": {
"rows": 42,
"checksum": "da381873ffd7fe5eaa5ab5996ca602ab"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"branch": "main",
"built_at": "2026-10-24T18:25:28.022659+00:00",
"manifest_sha256": "efd98a5b7940896109788186b7deedd09ce7dc44f391e3c618e7ec1ee82e6b7d"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"import-onboard-supplies/1": [
"assets/project-dossier-RK4qLB-o.js"
],
"ship_provisions_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"ship_fuel_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"ship_technical_products_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"ship_cargo_accessories_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"aircraft_provisions_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"aircraft_fuel_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"aircraft_technical_products_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"aircraft_cargo_accessories_import": [
"assets/project-dossier-RK4qLB-o.js"
],
"supplyNoCoastalFishing": [
"assets/project-dossier-RK4qLB-o.js"
],
"supplyNormalTanks": [
"assets/project-dossier-RK4qLB-o.js"
],
"offerPreparations": [
"assets/project-dossier-RK4qLB-o.js"
],
"benefício não aplicado": [
"assets/project-dossier-RK4qLB-o.js"
]
},
"assets": [
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-document-CIQlqNrD.js",
"status": 200,
"sha256": "081f2d08cfe70c8ca035c9da6022cfd88f1980ca8e5433eb3d16f96971e080eb"
},
{
"file": "assets/services-CqPgbMxW.js",
"status": 200,
"sha256": "ee59b7a86ed1cb4e6e171c3ef65e114f8f2fbe91d76aac4194b58706f49c50c1"
},
{
"file": "assets/project-dossier-RK4qLB-o.js",
"status": 200,
"sha256": "580dc668b93ff861cf4757a47de165c0575255ed77e19816a566b6efcf80d0c7"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DdR4Impy.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"previous_release": "/var/www/investmoz-homologacao/releases/2d889a211ba303db31dcba815e439456dfba9f36-dac24b34",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"previous_release": "/var/www/investmoz-homologacao/releases/2d889a211ba303db31dcba815e439456dfba9f36-dac24b34",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"c1314cdf90c368b51489aaf04c2cdbe59cfb88e6"
],
"finished_at": "2026-10-24T18:25:30.464203+00:00"
},
"log_file": "1792866235841214128.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.41s",
"OK (59 tests, 317 assertions)",
"# tests 327",
"# pass 327",
"# fail 0"
],
"log_bytes": 123869
},
"rollback_executed": false
},
"activation": "NormalGitFF/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,333 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "29e708ba2dca2450eaff8eff6f5e19079ffc7f8e",
"base_installed": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"coverage_complete_branches": {
"AUD-SIM-L1-P050": [
"service_in_customs_value",
"accessory_service_first_destination"
]
},
"branch_count_complete": 1,
"treatment_count_P050": 2,
"partial_coverage_P084_P085": {
"authorized_partial_candidate": "946fc089",
"next_delivery_scope": "Preparation/requeststates/scopeddecisions/humanitarianpurpose/normalandconditionalhypotheticalscenarios,notconfirmedbenefit/notclosing2branches",
"documentary_scope": "IdentifyexpressapplicableCIVA14(3)procedure/link and amendments;distinguishP084internal/import andP085acquisition. ModelI.1/Despacho/CBFcotejo reused,not repeated;do notinventcertificates/approvers orclaimregulation nonexistent",
"preserved": "Allrows,scopeversions,deliberateedits,normal/conditionalinputs andhistory exactlyequalfrozenfixture",
"delivered_scope": "Preparation/request states/scoped decisions/humanitarian purpose/normal and conditional hypothetical scenarios now available; benefits not confirmed; both branches remain pending"
},
"runtime_delta_total": [
{
"path": "resources/js/lib/iva-import-exemptions.ts",
"sha256_LF": "1e6005f87eafa9db9cd032c8c3f01ae23f1755b33c20d0925538dd427ce25868"
},
{
"path": "resources/js/components/simulation-import-exemptions.tsx",
"sha256_LF": "656945b77e1e9f8f059b184969de783a1e2c9a1252af0084cf53ebc2bf249cb8"
},
{
"path": "resources/js/lib/iva-offer-preparations.ts",
"sha256_LF": "23a84aa1e87d6a6defbca1e0c5eee96deb4619ffc1980881f2f69abfe54f81c1"
},
{
"path": "resources/js/components/simulation-offer-preparations.tsx",
"sha256_LF": "e8ad2edd142736269b5a119de5270e67086a79b26d476105dcd290393b6b94ed"
}
],
"runtime_delta": [
{
"path": "resources/js/lib/iva-import-exemptions.ts",
"sha256_LF": "1e6005f87eafa9db9cd032c8c3f01ae23f1755b33c20d0925538dd427ce25868"
},
{
"path": "resources/js/components/simulation-import-exemptions.tsx",
"sha256_LF": "656945b77e1e9f8f059b184969de783a1e2c9a1252af0084cf53ebc2bf249cb8"
},
{
"path": "resources/js/lib/iva-offer-preparations.ts",
"sha256_LF": "23a84aa1e87d6a6defbca1e0c5eee96deb4619ffc1980881f2f69abfe54f81c1"
},
{
"path": "resources/js/components/simulation-offer-preparations.tsx",
"sha256_LF": "e8ad2edd142736269b5a119de5270e67086a79b26d476105dcd290393b6b94ed"
}
],
"counts_current": {
"delivered": 76,
"QA": 0,
"functional_pending": 56,
"documentary": 1,
"total": 133
},
"counts_after_P050_delivery_only": {
"delivered": 76,
"QA": 0,
"functional_pending": 56,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g6f-qa-20261024.json",
"iva-l1-offer-paths-qa-20261024.json"
],
"authorization": "Tempo24/10 explicitly deploy29e708ba viaexistingGit,including946fc089onlypartialpreparation/conditionalsimulationP084/P085;preserveconcurrentchanges,installeddeltaonly",
"fresh_backup_restore": "Required freshauthenticateddestination/main,backup/realisolatedrestore beforeinstallation;accepted75closuresreused,installeddeltaonly",
"limits": "L1open;P001only05/06;beveragesL2/L3;classificationseparatefromfield11;Statistics/AIdeferred;L1closuredoesnotrequireL2/L3/alltaxes",
"counts_before": {
"delivered": 75,
"QA": 1,
"functional_pending": 56,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 76,
"QA": 0,
"functional_pending": 56,
"documentary": 1,
"total": 133
},
"scope": "P050onecompletebranch/twotreatments;P084/P085partialrequest/emergencydrafts/scenarios,notconfirmedbenefits/notclosing2branches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"previous_release": "/var/www/investmoz-homologacao/releases/2d889a211ba303db31dcba815e439456dfba9f36-dac24b34",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"release_revision": {
"commit": "c1314cdf90c368b51489aaf04c2cdbe59cfb88e6",
"branch": "main",
"built_at": "2026-10-24T18:25:28.022659+00:00",
"manifest_sha256": "efd98a5b7940896109788186b7deedd09ce7dc44f391e3c618e7ec1ee82e6b7d"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g6f-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "91632c927b4a7de70ca06690c7dc50936b2975ee31c53d5781461583fdca9cda",
"files_sha256": "ebb421927381bb5c1cdb536eea61739fb4134b51faaf2f57b773222655b1c0b9",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g6f_restore_20261024",
"port": 55441,
"source_dump_sha256": "91632c927b4a7de70ca06690c7dc50936b2975ee31c53d5781461583fdca9cda",
"active_database_writes": 0
}
},
"served_commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"previous_release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "f66b5e7174f6c71536ef479eb058cb42"
},
"after": {
"rows": 105,
"checksum": "c1104feaa87c6abe31c459db5c263c30"
}
},
"sessions": {
"before": {
"rows": 44,
"checksum": "2d76115dd940c820e3287a861527b6ee"
},
"after": {
"rows": 45,
"checksum": "5f632d423b866686ef1fb280fd2b2a20"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"branch": "main",
"built_at": "2026-10-24T18:47:27.964235+00:00",
"manifest_sha256": "a8c5303ce2443fefcf137681ead8f652e16963ae656612e80d1672da62e0a0a6"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"import-included-services/1": [
"assets/project-dossier-CxrsH1SU.js"
],
"service_in_customs_value": [
"assets/project-dossier-CxrsH1SU.js"
],
"accessory_service_first_destination": [
"assets/services-BLOH90IF.js",
"assets/project-dossier-CxrsH1SU.js"
],
"serviceVat": [
"assets/project-dossier-CxrsH1SU.js"
],
"serviceImportRef": [
"assets/services-BLOH90IF.js",
"assets/project-dossier-CxrsH1SU.js"
],
"serviceBaseRef": [
"assets/services-BLOH90IF.js",
"assets/project-dossier-CxrsH1SU.js"
],
"serviceFirstDestination": [
"assets/services-BLOH90IF.js",
"assets/project-dossier-CxrsH1SU.js"
],
"requestRecords": [
"assets/services-BLOH90IF.js",
"assets/project-dossier-CxrsH1SU.js"
],
"Estado declarado do pedido": [
"assets/services-BLOH90IF.js"
],
"Finalidade humanitária da resposta à emergência": [
"assets/services-BLOH90IF.js"
],
"Cenário condicionado à isenção": [
"assets/project-dossier-CxrsH1SU.js"
],
"Não é benefício concedido nem imposto aplicado": [
"assets/project-dossier-CxrsH1SU.js"
],
"benefício não aplicado": [
"assets/project-dossier-CxrsH1SU.js"
],
"periodScope": [
"assets/services-BLOH90IF.js",
"assets/project-dossier-CxrsH1SU.js"
]
},
"assets": [
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-document-BoF97ys7.js",
"status": 200,
"sha256": "b6d5cc8bf80d7685e07a8f6e45a6be8fb807e1eab835a232ea81ed94d94dfe6b"
},
{
"file": "assets/services-BLOH90IF.js",
"status": 200,
"sha256": "7b7af53e69fe721c202fffea8d8f0d65208055c0feb12714176ac98e08856b22"
},
{
"file": "assets/project-dossier-CxrsH1SU.js",
"status": 200,
"sha256": "06c71040d59a29c756b9fc01af1f016fdd60809e1005b579f66b75f658f5d92c"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DcIPS684.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"previous_release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"previous_release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"78c9f4a356d5eaf590d8d82168228a2f84b1f633"
],
"finished_at": "2026-10-24T18:47:30.671761+00:00"
},
"log_file": "1792867557366195987.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 24.88s",
"OK (59 tests, 317 assertions)",
"# tests 335",
"# pass 335",
"# fail 0"
],
"log_bytes": 126463
},
"rollback_executed": false
},
"activation": "Normal Git fast-forward/webhook/installer; zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-import-exemptions.ts
+++ b/resources/js/lib/iva-import-exemptions.ts
@@ -102,6 +102,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 classificações de importação/serviços temporariamente suspensas; dados, histórico e relatórios preservados.');
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]:[])]};
@@ -0,0 +1,291 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "ebf5e53c3ccb29279a4c8433182a5e74231f2dae",
"base_installed": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"coverage_complete_branches": {
"AUD-SIM-L1-P056": [
"authorized_investment_equipment"
]
},
"branch_count_complete": 1,
"treatment_count": 1,
"runtime_delta": [
{
"path": "resources/js/lib/iva-import-exemptions.ts",
"sha256_LF": "1b4fda4e7e363e68f951eca14a415a93d08b06aaa49b41e639b44fc5c9cee488"
},
{
"path": "resources/js/components/simulation-import-exemptions.tsx",
"sha256_LF": "c6f36defc756eac0bb21f17e7165bb84efbbbfd120ea3be83787ffe368b7f1b1"
}
],
"counts_before": {
"delivered": 76,
"QA": 1,
"functional_pending": 55,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 77,
"QA": 0,
"functional_pending": 55,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 77,
"QA": 0,
"functional_pending": 55,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g6g-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy ebf5e53c through existing Git process,preserve concurrent changes and check installed delta only;retain explicit reference and scope of undertaking authorization",
"scope": "P056 only;authorized_investment_equipment;reference/scope retained;no automatic authorization/classification or extension to other goods/operations/periods",
"preservation": "76 prior closures and partial P084/P085 preserved;accepted QA proofs reused;fresh backup and real isolated restore before installation;installed delta only",
"partial_P084_P085": "Already available for preparation/conditional simulation only,benefits pending;no closure in this release",
"limits": "L1 open;P00105/06;beveragesL2/L3;import classification separate from serviceVAT/deduction/field11;Stats/AI deferred",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"previous_release": "/var/www/investmoz-homologacao/releases/c1314cdf90c368b51489aaf04c2cdbe59cfb88e6-d4800fe2",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"release_revision": {
"commit": "78c9f4a356d5eaf590d8d82168228a2f84b1f633",
"branch": "main",
"built_at": "2026-10-24T18:47:27.964235+00:00",
"manifest_sha256": "a8c5303ce2443fefcf137681ead8f652e16963ae656612e80d1672da62e0a0a6"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g6g-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "65ad784f31d74b6fd72b14ce3c0eed4a2c0fec8684a001f4b16a3a6df41a1553",
"files_sha256": "b9651ae1046ae678a4ee644fb9d2214d06786cf696f54514d181397cfba4c993",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g6g_restore_20261024",
"port": 55441,
"source_dump_sha256": "65ad784f31d74b6fd72b14ce3c0eed4a2c0fec8684a001f4b16a3a6df41a1553",
"active_database_writes": 0
}
},
"served_commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"previous_release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 2,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "d11db709e3b3963031eb18b325b4af98"
},
"after": {
"rows": 105,
"checksum": "d0dc4caf464cee72f17f4f552d67a9db"
}
},
"sessions": {
"before": {
"rows": 47,
"checksum": "9c8594dfe46a3b39841e7a6ae59d8603"
},
"after": {
"rows": 48,
"checksum": "e8689c96e52f48b860b9691fca1e26bb"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"branch": "main",
"built_at": "2026-10-24T19:13:31.576700+00:00",
"manifest_sha256": "713be11fd1eee3f6ccc10f850260dbcc91e98577eb1e124b2fd0dacdaec9ecee"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"import-investment-equipment/1": [
"assets/project-dossier-mBN4fiPg.js"
],
"authorized_investment_equipment": [
"assets/project-dossier-mBN4fiPg.js",
"assets/services-BgX_qq86.js"
],
"investmentEquipment": [
"assets/project-dossier-mBN4fiPg.js"
],
"investmentClassK": [
"assets/project-dossier-mBN4fiPg.js"
],
"investmentAuthorized": [
"assets/project-dossier-mBN4fiPg.js"
],
"investmentDestination": [
"assets/project-dossier-mBN4fiPg.js"
],
"investmentAuthorizationRef": [
"assets/project-dossier-mBN4fiPg.js",
"assets/services-BgX_qq86.js"
],
"investmentScope": [
"assets/project-dossier-mBN4fiPg.js",
"assets/services-BgX_qq86.js"
],
"Autorização do empreendimento / pressuposto expresso": [
"assets/services-BgX_qq86.js"
],
"Âmbito aplicável: bens, operação, período e condições": [
"assets/services-BgX_qq86.js"
],
"import-included-services/1": [
"assets/project-dossier-mBN4fiPg.js"
],
"serviceVat": [
"assets/project-dossier-mBN4fiPg.js"
],
"requestRecords": [
"assets/project-dossier-mBN4fiPg.js",
"assets/services-BgX_qq86.js"
],
"periodScope": [
"assets/project-dossier-mBN4fiPg.js",
"assets/services-BgX_qq86.js"
]
},
"assets": [
{
"file": "assets/project-dossier-document-vnzkb3wv.js",
"status": 200,
"sha256": "498ecb917a8311c4fcf33d189da278c00c762c70d8c1af6be4b6efe790a74f9a"
},
{
"file": "assets/project-dossier-mBN4fiPg.js",
"status": 200,
"sha256": "d1894eefa0d2ba2aea4009cf23269c170f58cbe5f3777fe38c0322810ba2f760"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/services-BgX_qq86.js",
"status": 200,
"sha256": "39e509d2ff536533b7fefd2c8c72c8513ccf749d70c00a2a128946e7bf687e87"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-RSjKR5kY.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"previous_release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"previous_release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"9b26217dec945fe07b665c6ad7638a965bf104a9"
],
"finished_at": "2026-10-24T19:13:34.256444+00:00"
},
"log_file": "1792869119217338760.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 24.80s",
"OK (59 tests, 317 assertions)",
"# tests 338",
"# pass 338",
"# fail 0"
],
"log_bytes": 127481
},
"rollback_executed": false
},
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-import-exemptions.ts
+++ b/resources/js/lib/iva-import-exemptions.ts
@@ -102,6 +102,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 {
+ if(book.rows.some(row=>row.treatment==='authorized_investment_equipment'))throw new Error('Novas classificações P056 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
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]:[])]};
@@ -0,0 +1,293 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "2359a88dba92147eb28769c7d9ae908cb2df7227",
"base_installed": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"coverage_complete_branches": {
"AUD-SIM-L1-P060": [
"un_development_exemption",
"un_development_reduction"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-import-exemptions.ts",
"sha256_LF": "799e9a0020e805af9f67387bfa36608c4973f15c4427d1b82c3f6b6398aed129"
},
{
"path": "resources/js/components/simulation-import-exemptions.tsx",
"sha256_LF": "89ab431fa6810c1f56897f203a817a41722c4a9df0cb075561dee6208e8730d1"
}
],
"counts_before": {
"delivered": 77,
"QA": 1,
"functional_pending": 54,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 78,
"QA": 0,
"functional_pending": 54,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 78,
"QA": 0,
"functional_pending": 54,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g6h-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy2359a88d by existingGit,preserve concurrentchanges and check installeddelta only;keep decision/list/plan/scope associated with result",
"scope": "P060 only,two treatments un_development_exemption/un_development_reduction,samebranch;decision/list/plan/scope references in immutable calculation inputs/report;request not grant;no extension to other goods/operations/periods",
"preservation": "77priorclosures and partialP084/P085 preserved;accepted QA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Already available for preparation/conditional simulation only,benefits pending;no closure in this release",
"limits": "L1open;P00105/06;beveragesL2/L3;importclassification separate fromserviceVAT/deduction/field11;Stats/AIdeferred",
"containment": "l1-g6h-readonly-rollback-20261024.patch,checked only,not applied;blocks newP060classification only,preserves readers/history and otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"previous_release": "/var/www/investmoz-homologacao/releases/78c9f4a356d5eaf590d8d82168228a2f84b1f633-a865ec5f",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"release_revision": {
"commit": "9b26217dec945fe07b665c6ad7638a965bf104a9",
"branch": "main",
"built_at": "2026-10-24T19:13:31.576700+00:00",
"manifest_sha256": "713be11fd1eee3f6ccc10f850260dbcc91e98577eb1e124b2fd0dacdaec9ecee"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g6h-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "6f6e23986cf21dffca468eaa8ba8b1493150a8eec78a5de238a9fc25d028a5c6",
"files_sha256": "6d7a2cdeede7f11edcb5f9a94935a1d79a50ce8b6f5bf86ef279db5ef25d086a",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g6h_restore_20261024",
"port": 55441,
"source_dump_sha256": "6f6e23986cf21dffca468eaa8ba8b1493150a8eec78a5de238a9fc25d028a5c6",
"active_database_writes": 0
}
},
"served_commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"previous_release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 2,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "38de6d88500d221365f198307f300e5d"
},
"after": {
"rows": 105,
"checksum": "4308332b7b4f3cfdbc90a7cf7bab2fc1"
}
},
"sessions": {
"before": {
"rows": 50,
"checksum": "14fad68aad0bd514ab29e6644c64945c"
},
"after": {
"rows": 51,
"checksum": "73a64a88a6f9f973258112f3ba0be512"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"branch": "main",
"built_at": "2026-10-24T19:38:38.127391+00:00",
"manifest_sha256": "b419662fb9f09f3f0b33902a8935a88a6b48399575219fe3d33cceb9153172ee"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"import-un-development/1": [
"assets/project-dossier-DkFpKnTK.js"
],
"un_development_exemption": [
"assets/project-dossier-DkFpKnTK.js"
],
"un_development_reduction": [
"assets/services-DVetpVxR.js",
"assets/project-dossier-DkFpKnTK.js"
],
"developmentProject": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentAgency": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentDecisionRef": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentListRef": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentPlanRef": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentScope": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentRightsRef": [
"assets/project-dossier-DkFpKnTK.js"
],
"developmentReductionPercent": [
"assets/services-DVetpVxR.js",
"assets/project-dossier-DkFpKnTK.js"
],
"developmentNormalVat": [
"assets/services-DVetpVxR.js",
"assets/project-dossier-DkFpKnTK.js"
],
"developmentNormalVatRef": [
"assets/services-DVetpVxR.js",
"assets/project-dossier-DkFpKnTK.js"
],
"Redução proporcional": [
"assets/project-dossier-DkFpKnTK.js"
]
},
"assets": [
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/services-DVetpVxR.js",
"status": 200,
"sha256": "f7223ac486557504b96f3edec95c5a7f31d90e73c1f714108cf05177f0806eaf"
},
{
"file": "assets/project-dossier-DkFpKnTK.js",
"status": 200,
"sha256": "d362c8cb613b564d9597ac40ddc9883a1c97b08a11f15c9103a5fbe105cdeb00"
},
{
"file": "assets/project-dossier-document-DVHvkUfS.js",
"status": 200,
"sha256": "a77d217dd0e77b7193d9707f01aa9df31ce4dfe3a16d0e6cf644f8cc811dfef3"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DD5AMs0u.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"previous_release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"previous_release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"eb9294ef42c2cfc97eb8c2553d545e3bff7c0add"
],
"finished_at": "2026-10-24T19:38:40.794974+00:00"
},
"log_file": "1792870624830982809.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 24.99s",
"OK (59 tests, 317 assertions)",
"# tests 342",
"# pass 342",
"# fail 0"
],
"log_bytes": 128657
},
"rollback_executed": false
},
"result_associations": "Decision,list,plan and scope remain in immutable result.inputs and report;accepted QA proof reused and exact installed runtime hashes/compiled fields checked;no synthetic write in active",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-import-exemptions.ts
+++ b/resources/js/lib/iva-import-exemptions.ts
@@ -102,6 +102,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 {
+ if(book.rows.some(row=>isDevelopmentImport(row.treatment)))throw new Error('Novas classificações P060 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
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]:[])]};
@@ -0,0 +1,343 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "833b4e5cef4334220fd3f27843d520113e9ba0cd",
"base_installed": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"coverage_complete_branches": {
"AUD-SIM-L1-P096": [
"regulated_energy"
],
"AUD-SIM-L1-P097": [
"aeronautical_fees"
],
"AUD-SIM-L1-P098": [
"public_works"
],
"AUD-SIM-L1-P099": [
"public_water"
]
},
"branch_count_complete": 4,
"treatment_count": 4,
"runtime_delta": [
{
"path": "resources/js/lib/iva-reduced-bases.ts",
"sha256_LF": "4fc79388066a4d012b9af279ef53212ee963ae43d858307155e9ae8a140b5285"
},
{
"path": "resources/js/components/simulation-reduced-bases.tsx",
"sha256_LF": "00f1e0f1490240f578401c3a6e10b6812ee5b7978bbf7d7e5c9c1a81124bc6d1"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "6032b9605703e7e29d5fb45cc158e8da57b9af4980d312f3326ddf18ee1e8814"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "ab044a0952cc4753925768f5ba7fd422637cfb9d826c1e8c26d21d7616b6dacf"
}
],
"counts_before": {
"delivered": 103,
"QA": 4,
"functional_pending": 25,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 107,
"QA": 0,
"functional_pending": 25,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 107,
"QA": 0,
"functional_pending": 25,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7-reduced-bases-qa-20261024.json"
],
"authorization": "Tempo explicitly requests one joint delivery of833b4e5c,P096–P099,main compatibility/concurrent changes preserved,installeddelta only",
"scope": "2026/MZN,base apenas. Percentagens62/85/40/75 são de base,não taxasIVA. Proporção18(6)registada sem calcular/conceder dedução/campo11;dedução permanece nas condições/lotes próprios. Sem taxaIVA,IVA,isenção ou totaisModeloA. Não dividir bruto comIVA sem composição esclarecida,nem reduzir montante já reduzido.",
"source": "CIVA15(2)j/k/l/m,15(1)/(5)/(6)/(9),Lei13/2016PDF13–14/p1426(271–272);Lei22/2022PDF3mantém15(2)j–m;Lei10/2025não altera15,adita18(6),PDF13:dedução do imposto suportado relativo a essas operações na mesma proporção da base reduzida.",
"meaning": {
"P096": {
"treatment": "regulated_energy",
"formula": "contraprestação total antes redução,sempróprioIVA ×62%",
"conditions": "Transmissão de energia com preço fixado porAutoridadePública,referência/âmbito/intervalo aplicáveis."
},
"P097": {
"treatment": "aeronautical_fees",
"formula": "contraprestação total antes redução,sempróprioIVA ×85%",
"conditions": "Preço doserviço fixado através de taxas aeronáuticas. Não aplicar a comunicações/saneamento/telecomunicações genericamente pelo título histórico da matriz;é necessário demonstrar o preço fixado através de taxa aeronáutica15(2)k."
},
"P098": {
"treatment": "public_works",
"formula": "contraprestação total antes redução,sempróprioIVA ×40%(redução60%,não base60%)",
"conditions": "Construção/reabilitação de obras públicas abrangidas15(2)l/15(9),projecto/contrato/categoria/âmbito identificados;estradas,pontes,infraestrutura água/saneamento,electrificação rural emprojectos públicos e hidráulicaagrícola noâmbito definido. Não exigir preço regulado a esta alínea."
},
"P099": {
"treatment": "public_water",
"formula": "contraprestação total antes redução,sempróprioIVA ×75%",
"conditions": "Água potável através derede pública,preço fixado porAutoridadePública comreferência/âmbito/intervalo aplicáveis."
}
},
"formula": "Base=fullconsideration before reduction excludingownVAT ×branchpercentage once;exactdecimal retained,no fiscalrounding assumed.",
"preservation": "103prior closures and partialP084/P085 preserved;accepted perbranchQA reused;one integration/backup/real isolatedrestore/check for whole set",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P121digital/P084/P085pending;L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7-reduced-readonly-rollback-20261024.patch,checked only,not applied;blocks newP096–099classifications,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"previous_release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"release_revision": {
"commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"branch": "main",
"built_at": "2026-10-24T21:51:55.419637+00:00",
"manifest_sha256": "a04bb2c3e527c027aa263827b37e1566b67b372c479904112cfef79de9bcf2fb"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7-reduced-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "844803edd3a18d94ebd1cc75f942cce73b113111c92342ff32acf178b27f210d",
"files_sha256": "0b8a20760cdb89e2d7ac03e4b00881a882946370b9d7fa5a428355111e5ace4c",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7_reduced_restore_20261024",
"port": 55441,
"source_dump_sha256": "844803edd3a18d94ebd1cc75f942cce73b113111c92342ff32acf178b27f210d",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"batch_identifier_date_preserved": "20261024",
"served_commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"previous_release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "fc22bd1093218afa1777652f5fffb28c"
},
"after": {
"rows": 106,
"checksum": "60c94ff2cef9ca39b64d2c8035070dff"
}
},
"sessions": {
"before": {
"rows": 90,
"checksum": "242150536cdc201c41ae0e40414c384d"
},
"after": {
"rows": 91,
"checksum": "8c3ccd96b9dc1fa7897ce7976df83f6b"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"branch": "main",
"built_at": "2026-10-24T22:01:48.219730+00:00",
"manifest_sha256": "d45edd81644fa6b659aece95804fd9c5e8e99c599ef82bf078ee2ba39e700f12"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"proportional-bases/1": [
"assets/project-dossier-DNLCPaVL.js"
],
"regulated_energy": [
"assets/project-dossier-DNLCPaVL.js"
],
"aeronautical_fees": [
"assets/project-dossier-DNLCPaVL.js"
],
"public_works": [
"assets/services-C-RxFM34.js",
"assets/project-dossier-DNLCPaVL.js"
],
"public_water": [
"assets/project-dossier-DNLCPaVL.js"
],
"regulatedReducedBases": [
"assets/project-dossier-DNLCPaVL.js"
],
"fullNetInvoice": [
"assets/project-dossier-DNLCPaVL.js"
],
"scopeMatches": [
"assets/project-dossier-DNLCPaVL.js"
],
"publicFixedPrice": [
"assets/project-dossier-DNLCPaVL.js"
],
"workCategoryMatches": [
"assets/project-dossier-DNLCPaVL.js"
],
"deductionProportion": [
"assets/project-dossier-DNLCPaVL.js"
],
"consideration": [
"assets/services-C-RxFM34.js",
"assets/project-dossier-DNLCPaVL.js"
],
"compositionRef": [
"assets/services-C-RxFM34.js",
"assets/project-dossier-DNLCPaVL.js"
],
"projectRef": [
"assets/services-C-RxFM34.js",
"assets/project-dossier-DNLCPaVL.js"
],
"workCategory": [
"assets/services-C-RxFM34.js",
"assets/project-dossier-DNLCPaVL.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-DNLCPaVL.js"
]
},
"assets": [
{
"file": "assets/services-C-RxFM34.js",
"status": 200,
"sha256": "10b075f5e0e73b50ca8c50bc3b78b6a985064b04db20964880e02eb1d4b54463"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-DNLCPaVL.js",
"status": 200,
"sha256": "e92f51bbe03990bb075096fd4036f903c47a13b55be7d41ae33462ae392e553a"
},
{
"file": "assets/project-dossier-document-CMVlVhKB.js",
"status": 200,
"sha256": "d707cab4744f123b860cd9b6da836d88f1ac83eba2cdc6c96fa5c6d4eccd7131"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-D3qtybUs.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"previous_release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "2fdca86367d8bad524113b4cf6c49a0110130be9",
"release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"previous_release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"2fdca86367d8bad524113b4cf6c49a0110130be9"
],
"finished_at": "2026-10-24T22:01:51.055662+00:00"
},
"log_file": "1792879201936459656.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 28.30s",
"OK (59 tests, 317 assertions)",
"# tests 407",
"# pass 407",
"# fail 0"
],
"log_bytes": 145227
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted perbranchQA reused:P096energy62%,P097aeronautical85%,P098publicworks40%(reduction60%),P099publicwater75%. These percentages apply to taxableBASE,not VATrates. Exactdecimal base applied once to fullconsideration before reduction excludingownVAT. Art18(6)deductionproportion notedonly;deduction/field11 outsideincrement,no VAT/deductioncalculated. Four installedruntimehashes/16compiledmarkers,103priorclosures preserved,no syntheticactivewrites.",
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-reduced-bases.ts
+++ b/resources/js/lib/iva-reduced-bases.ts
@@ -53,6 +53,7 @@
function key(draft:Record<string,unknown>,book:ReducedBaseBook):string{return JSON.stringify({version:reducedBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function reducedBaseCurrent(draft:Record<string,unknown>,book:ReducedBaseBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordReducedBases(draft:Record<string,unknown>,book:ReducedBaseBook):ReducedBaseBook{
+ throw new Error('Novas classificações P096–P099 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ReducedBaseCalculation={version:reducedBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:reducedBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateReducedBase(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveReducedBaseBook(draft,next);return next;
@@ -0,0 +1,301 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "20bfeb4f71743fd7316b252c027a88d0c67d5eae",
"base_installed": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"coverage_complete_branches": {
"AUD-SIM-L1-P090": [
"public_authority_indemnity",
"public_authority_compensation"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-public-authority-base.ts",
"sha256_LF": "667704ba8c2d26421993f5e7e2c6599afb2912e052b27a96e423cb8d01a21d85"
},
{
"path": "resources/js/components/simulation-public-authority-base.tsx",
"sha256_LF": "7aa05785fdb6fcb7de4c0345e9c09073ebdbb3a8b39f1bd2610da08abc8c8a89"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "db5b4431351766f8f86b4e60195381dab17c077ca3db72de48f2fb7e0f2a320b"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "60a9dd9f4eed5884b16c7097906bc438958b3b1407976e10f4699d35c1c68b19"
}
],
"counts_before": {
"delivered": 78,
"QA": 1,
"functional_pending": 53,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 79,
"QA": 0,
"functional_pending": 53,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 79,
"QA": 0,
"functional_pending": 53,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7a-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy20bfeb4f through existingGit,preserve concurrentchanges and check installeddelta only;two treatments sameP090branch,base remains separate fromVAT",
"scope": "P090only,public_authority_indemnity/public_authority_compensation;net monetary/nonmonetary normalvalue components,act/document/composition/valuationreferences in immutable result.inputs/report;vat/rate alwaysnull,no incidence/tax/deduction/field11/ModeloAtotals inferred",
"preservation": "78priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only;P060decision/list/plan/scope andproportionalresults,P056authorization,P050serviceVAT preserved",
"partial_P084_P085": "Already available for preparation/conditional simulation only,benefits pending;no closure in this release",
"limits": "L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred;L1closuredoesnotrequireL2/L3/alltaxes",
"containment": "l1-g7a-readonly-rollback-20261024.patch,checked only,not applied;blocks newP090calculations only,preserves readers/history andotherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"previous_release": "/var/www/investmoz-homologacao/releases/9b26217dec945fe07b665c6ad7638a965bf104a9-80907805",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"release_revision": {
"commit": "eb9294ef42c2cfc97eb8c2553d545e3bff7c0add",
"branch": "main",
"built_at": "2026-10-24T19:38:38.127391+00:00",
"manifest_sha256": "b419662fb9f09f3f0b33902a8935a88a6b48399575219fe3d33cceb9153172ee"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7a-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "30a6764b68526e358a4f9bc64bb8dd65df25af1b379878e9619105d1d871e408",
"files_sha256": "67134f77514350569cd1a4a70357f73258b6fa65bb3f6fe7655ec5cd02939ef2",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7a_restore_20261024",
"port": 55441,
"source_dump_sha256": "30a6764b68526e358a4f9bc64bb8dd65df25af1b379878e9619105d1d871e408",
"active_database_writes": 0
}
},
"served_commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"previous_release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "40ba57126813e2e26a9537cdb5bb2b0f"
},
"after": {
"rows": 105,
"checksum": "485a22e1bc7e58bab4ed4ef208beeec1"
}
},
"sessions": {
"before": {
"rows": 53,
"checksum": "0fb62d0e0b2d9b74347692321c4bcde2"
},
"after": {
"rows": 54,
"checksum": "ffa2cba2908b07293dd03efab77ed755"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"branch": "main",
"built_at": "2026-10-24T19:52:03.661019+00:00",
"manifest_sha256": "7c9c5a728ad2afa1157a4a74a013dce1538a915f080d74790052655030582884"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"public-authority-base/1": [
"assets/project-dossier-r9kw2IAG.js"
],
"public_authority_indemnity": [
"assets/project-dossier-r9kw2IAG.js"
],
"public_authority_compensation": [
"assets/project-dossier-r9kw2IAG.js"
],
"publicAuthorityBases": [
"assets/project-dossier-r9kw2IAG.js"
],
"taxableDomesticSupply": [
"assets/project-dossier-r9kw2IAG.js"
],
"authorityAct": [
"assets/project-dossier-r9kw2IAG.js"
],
"notJudicialContractBreach": [
"assets/project-dossier-r9kw2IAG.js"
],
"netComposition": [
"assets/project-dossier-r9kw2IAG.js"
],
"moneyAmount": [
"assets/project-dossier-r9kw2IAG.js",
"assets/services-CKl5s1KP.js"
],
"nonMoneyValue": [
"assets/project-dossier-r9kw2IAG.js",
"assets/services-CKl5s1KP.js"
],
"valuationRef": [
"assets/project-dossier-r9kw2IAG.js",
"assets/services-CKl5s1KP.js"
],
"compositionRef": [
"assets/project-dossier-r9kw2IAG.js",
"assets/services-CKl5s1KP.js"
],
"Base tributável — actos de autoridades públicas": [
"assets/services-CKl5s1KP.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-r9kw2IAG.js"
]
},
"assets": [
{
"file": "assets/project-dossier-r9kw2IAG.js",
"status": 200,
"sha256": "be5f9cf4bd33b0ea403aad708c597d2d4a2845c0c6c7f88912d01e9c47a64437"
},
{
"file": "assets/services-CKl5s1KP.js",
"status": 200,
"sha256": "1d2cf9df2ff58b80736ace80919fa6babfabd4c27b3682837efdc3f356806cc8"
},
{
"file": "assets/project-dossier-document-Bp8qUQYk.js",
"status": 200,
"sha256": "b1cb8610d59242f4ba93b2b8daee39117e84581b398eebb0f94f8ac816d54fa2"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-C6BeHYgp.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"previous_release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"previous_release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"4193056bdd69b48cf61c25a9a7404af4f0957f3c"
],
"finished_at": "2026-10-24T19:52:06.346782+00:00"
},
"log_file": "1792871430237468068.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.18s",
"OK (59 tests, 317 assertions)",
"# tests 346",
"# pass 346",
"# fail 0"
],
"log_bytes": 129865
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA proofs reused:baseAmount independent from vat/rate(alwaysnull),references/inputs/version/history/report preserved. Exact four installed runtime hashes and compiled component/ledger/report markers checked;no synthetic write or repeated acceptance tests in active.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-public-authority-base.ts
+++ b/resources/js/lib/iva-public-authority-base.ts
@@ -60,6 +60,7 @@
function formLabel(value:string):string{return value==='money'?'Em dinheiro':value==='non_money'?'Em espécie':value==='mixed'?'Mista — dinheiro e espécie':'Por indicar';}
export function publicBaseCurrent(draft:Record<string,unknown>,book:PublicBaseBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordPublicBases(draft:Record<string,unknown>,book:PublicBaseBook):PublicBaseBook{
+ throw new Error('Novas bases P090 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos; originais conservados.');
const result:PublicBaseCalculation={version:publicBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:publicBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluatePublicBase(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};savePublicBaseBook(draft,next);return next;
@@ -0,0 +1,302 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "9bd2e062f427155a9877abc14876183ff4b7d9e0",
"base_installed": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"coverage_complete_branches": {
"AUD-SIM-L1-P091": [
"commission_sale_transfer",
"commission_purchase_transfer"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-commission-base.ts",
"sha256_LF": "3be1331f4da40e6292fa7f5dcfba28355af6d931a7d24f44eb081c6f16c8efb2"
},
{
"path": "resources/js/components/simulation-commission-base.tsx",
"sha256_LF": "5bfbb95d2dd22106d7d416fd3af0f7ae0778f22ae9d23da15ba9dd45882cfc94"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "16c95f5eaf5d5a308c93b30523292e52ccafed9d4e7f897f8559459116fbf4ae"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "945a9e2a4a9aa6a26f7108f95d4fd237c0551dbf884cec41bcaa3eba592acc4a"
}
],
"counts_before": {
"delivered": 79,
"QA": 1,
"functional_pending": 52,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 80,
"QA": 0,
"functional_pending": 52,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 80,
"QA": 0,
"functional_pending": 52,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7b-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy9bd2e062 through existingGit,preserve concurrentchanges and check installeddelta only;two treatments sameP091branch,base remains separate fromVAT",
"scope": "P091only,commission_sale_transfer/commission_purchase_transfer;saleprice-minuscommission/purchaseprice-pluscommission,principal/agent/contract/price/commission/compositionreferences in immutable result.inputs/report;vat/rate alwaysnull,no incidence/tax/deduction/field11/ModeloAtotals inferred",
"preservation": "79priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only;P060decision/list/plan/scope andproportionalresults,P056authorization,P050serviceVAT preserved",
"partial_P084_P085": "Already available for preparation/conditional simulation only,benefits pending;no closure in this release",
"limits": "L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred;L1closuredoesnotrequireL2/L3/alltaxes",
"containment": "l1-g7b-readonly-rollback-20261024.patch,checked only,not applied;blocks newP091calculations only,preserves readers/history andotherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"previous_release": "/var/www/investmoz-homologacao/releases/eb9294ef42c2cfc97eb8c2553d545e3bff7c0add-08cf86ab",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"release_revision": {
"commit": "4193056bdd69b48cf61c25a9a7404af4f0957f3c",
"branch": "main",
"built_at": "2026-10-24T19:52:03.661019+00:00",
"manifest_sha256": "7c9c5a728ad2afa1157a4a74a013dce1538a915f080d74790052655030582884"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7b-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "14910f7a6372948985ca3e0d6deddca5e079e015c7554cdb46d4a150c4b0a204",
"files_sha256": "09e56a62d74f60773bb9da0da520ddafa790f39489a2f8335ebb9d949ae0445a",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7b_restore_20261024",
"port": 55441,
"source_dump_sha256": "14910f7a6372948985ca3e0d6deddca5e079e015c7554cdb46d4a150c4b0a204",
"active_database_writes": 0
}
},
"served_commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"previous_release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "828efdd2e464a169de683e0bc582767b"
},
"after": {
"rows": 105,
"checksum": "3d23e6ba4ed2476e65e0bf3687da774e"
}
},
"sessions": {
"before": {
"rows": 56,
"checksum": "28841e1b889560d2d78d41b0464e83e4"
},
"after": {
"rows": 57,
"checksum": "2a2fd7e26ccced1b89fdd0d497b3036b"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"branch": "main",
"built_at": "2026-10-24T20:15:27.726611+00:00",
"manifest_sha256": "dccf1e8a2fabf42a877cac166b5821548af5a6e6cfbf2c8578afebb70468c531"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"commission-goods-base/1": [
"assets/project-dossier-C03JDnMc.js"
],
"commission_sale_transfer": [
"assets/project-dossier-C03JDnMc.js"
],
"commission_purchase_transfer": [
"assets/project-dossier-C03JDnMc.js"
],
"commissionBases": [
"assets/project-dossier-C03JDnMc.js"
],
"taxableDomesticGoods": [
"assets/project-dossier-C03JDnMc.js"
],
"commissionContract": [
"assets/project-dossier-C03JDnMc.js"
],
"directionConfirmed": [
"assets/project-dossier-C03JDnMc.js"
],
"notSpecialAuction": [
"assets/project-dossier-C03JDnMc.js"
],
"agreedPrice": [
"assets/project-dossier-C03JDnMc.js",
"assets/services-BQD7ago3.js"
],
"commissionAmount": [
"assets/project-dossier-C03JDnMc.js",
"assets/services-BQD7ago3.js"
],
"agreementRef": [
"assets/project-dossier-C03JDnMc.js",
"assets/services-BQD7ago3.js"
],
"priceRef": [
"assets/project-dossier-C03JDnMc.js",
"assets/services-BQD7ago3.js"
],
"commissionRef": [
"assets/project-dossier-C03JDnMc.js",
"assets/services-BQD7ago3.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-C03JDnMc.js"
]
},
"assets": [
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-C03JDnMc.js",
"status": 200,
"sha256": "6afe3105603d2d99eb6c1f10ac0478425ac7edbea306ead42900e8d7752526da"
},
{
"file": "assets/services-BQD7ago3.js",
"status": 200,
"sha256": "dba6c2c3a511902395f1798e5b03083e4413a5aaa530e3e408e716edd614af93"
},
{
"file": "assets/project-dossier-document-B6GsDYYK.js",
"status": 200,
"sha256": "083e27ff6b3262e988de1dfcf8ea7f90bf5ea5f06b9a36afeb1cde1bff36e4b8"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BAqBGTCO.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"previous_release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"previous_release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"e62b7dfdc25f7c12425e89cea26f7ccf67b7d177"
],
"finished_at": "2026-10-24T20:15:30.463596+00:00"
},
"log_file": "1792872831592310207.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.87s",
"OK (59 tests, 317 assertions)",
"# tests 350",
"# pass 350",
"# fail 0"
],
"log_bytes": 131096
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:saleprice minuscommission/purchaseprice pluscommission,baseAmount independentfromvat/rate(alwaysnull),immutable references/inputs/version/history/report retained. Exact four installed runtime hashes and compiled ledger/component/report markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-commission-base.ts
+++ b/resources/js/lib/iva-commission-base.ts
@@ -51,6 +51,7 @@
function key(draft:Record<string,unknown>,book:CommissionBaseBook):string{return JSON.stringify({version:commissionBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function commissionBaseCurrent(draft:Record<string,unknown>,book:CommissionBaseBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordCommissionBases(draft:Record<string,unknown>,book:CommissionBaseBook):CommissionBaseBook{
+ throw new Error('Novas bases P091 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:CommissionBaseCalculation={version:commissionBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:commissionBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateCommissionBase(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveCommissionBaseBook(draft,next);return next;
@@ -0,0 +1,304 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "287f2f8321038dc72ff8f0746526df0761a871d6",
"base_installed": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"coverage_complete_branches": {
"AUD-SIM-L1-P094": [
"act_sale_amount",
"act_normal_value"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-act-sale-base.ts",
"sha256_LF": "ed555c826427a0964995144c59d4e801bfeebce5219a63a612f31bb977788d00"
},
{
"path": "resources/js/components/simulation-act-sale-base.tsx",
"sha256_LF": "384e17aa18ed5ed9a8c6c47773577e87f211c2bccb3acbe3943269a08de1485a"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "3b2a24fde6db625c350f7366ec789b5aa7e86aa08645409203b5e96d02dc1ff3"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "852ceaf59b95d92ff57d3b711dc2bc13eb4b547e7d9f1516eb543ece83247c09"
}
],
"counts_before": {
"delivered": 80,
"QA": 1,
"functional_pending": 51,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 81,
"QA": 0,
"functional_pending": 51,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 81,
"QA": 0,
"functional_pending": 51,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7c-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy287f2f83 through existingGit,preserve concurrentchanges and check installeddelta only;two treatments sameP094branch",
"scope": "2026/MZN,P094baseonly;normal value supplied with identified basis/scope,not appraised automatically. No incidence,rate,VAT,deduction/field11/ModeloAtotals or substitution of special auctioncommission15g. Unknown values remain indeterminate,explicit zero distinguished.",
"meaning": "Goods transferred as result of auction,judicial/administrative sale,conciliation or settlement;value at which auction/sale effected or,where applicable,normal value. Five act kinds are contexts,not five branches. No automatic lower value or normal-value fallback.",
"preservation": "80priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7c-readonly-rollback-20261024.patch,checked only,not applied;blocks newP094calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"previous_release": "/var/www/investmoz-homologacao/releases/4193056bdd69b48cf61c25a9a7404af4f0957f3c-c2452b39",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"release_revision": {
"commit": "e62b7dfdc25f7c12425e89cea26f7ccf67b7d177",
"branch": "main",
"built_at": "2026-10-24T20:15:27.726611+00:00",
"manifest_sha256": "dccf1e8a2fabf42a877cac166b5821548af5a6e6cfbf2c8578afebb70468c531"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7c-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "15851ca2ed235382c8acb325b154470e191d95c10d5c2dac8fa9be287132d024",
"files_sha256": "af9076b5993550acd8aa55ac85a1112822f6db26f744247cfcc76d6f03ee7925",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7c_restore_20261024",
"port": 55441,
"source_dump_sha256": "15851ca2ed235382c8acb325b154470e191d95c10d5c2dac8fa9be287132d024",
"active_database_writes": 0
}
},
"served_commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"previous_release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "4d4e4736806e5d22cd9d595e33c7007b"
},
"after": {
"rows": 105,
"checksum": "d651a6b29d74efd7336b21519b0dfbfa"
}
},
"sessions": {
"before": {
"rows": 59,
"checksum": "05c7fab88f6e1b760d58c9133e156fc0"
},
"after": {
"rows": 60,
"checksum": "f67f94f21e3abaee1b40b2b2fde2f303"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"branch": "main",
"built_at": "2026-10-24T20:28:33.858560+00:00",
"manifest_sha256": "01f5a06e9be1e2a758de06c51a1c145ab96d83c838b899806f442eec70158e72"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"act-goods-base/1": [
"assets/project-dossier-DYUXbyuH.js"
],
"act_sale_amount": [
"assets/services-BaH3LfAj.js",
"assets/project-dossier-DYUXbyuH.js"
],
"act_normal_value": [
"assets/project-dossier-DYUXbyuH.js"
],
"actSaleBases": [
"assets/project-dossier-DYUXbyuH.js"
],
"taxableDomesticGoods": [
"assets/project-dossier-DYUXbyuH.js"
],
"goodsByAct": [
"assets/project-dossier-DYUXbyuH.js"
],
"valuationApplies": [
"assets/project-dossier-DYUXbyuH.js"
],
"notAuctionCommissionRegime": [
"assets/project-dossier-DYUXbyuH.js"
],
"actValue": [
"assets/services-BaH3LfAj.js",
"assets/project-dossier-DYUXbyuH.js"
],
"normalValue": [
"assets/services-BaH3LfAj.js",
"assets/project-dossier-DYUXbyuH.js"
],
"actRef": [
"assets/services-BaH3LfAj.js",
"assets/project-dossier-DYUXbyuH.js"
],
"valuationRef": [
"assets/services-BaH3LfAj.js",
"assets/project-dossier-DYUXbyuH.js"
],
"valuationScope": [
"assets/services-BaH3LfAj.js",
"assets/project-dossier-DYUXbyuH.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-DYUXbyuH.js"
]
},
"assets": [
{
"file": "assets/project-dossier-document-B8tRTV0Q.js",
"status": 200,
"sha256": "526b505a0ad7aea611751cadec6efaf47686d9936755698ef6842e62a243fa6e"
},
{
"file": "assets/services-BaH3LfAj.js",
"status": 200,
"sha256": "bb614c00b830d9a4d9b5db82976f341617a23810577ab8f32fe1b674f3ca8dba"
},
{
"file": "assets/project-dossier-DYUXbyuH.js",
"status": 200,
"sha256": "2f41f74e6dc395fd85b2e56d60e6325691478ad89dab9c2f4de4c503da0c7700"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-ClRJoV6g.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"previous_release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"previous_release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"df7cb7fa47f50ae23f52c1bdf7e48e38489cffef"
],
"finished_at": "2026-10-24T20:28:36.398859+00:00"
},
"log_file": "1792873616425230362.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.93s",
"OK (59 tests, 317 assertions)",
"# tests 354",
"# pass 354",
"# fail 0"
],
"log_bytes": 132224
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:act-sale amount or normal value where applicable,identified act/valuation basis/scope/composition retained with immutable inputs/history/report;no automatic minimum/fallback. Base independent of VAT/rate(alwaysnull). Four installed runtime hashes and14compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-act-sale-base.ts
+++ b/resources/js/lib/iva-act-sale-base.ts
@@ -47,6 +47,7 @@
function key(draft:Record<string,unknown>,book:ActSaleBook):string{return JSON.stringify({version:actSaleBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function actSaleCurrent(draft:Record<string,unknown>,book:ActSaleBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordActSaleBases(draft:Record<string,unknown>,book:ActSaleBook):ActSaleBook{
+ throw new Error('Novas bases P094 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ActSaleCalculation={version:actSaleBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:actSaleBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateActSale(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveActSaleBook(draft,next);return next;
@@ -0,0 +1,312 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "76be72c38c459c09345b57a4d27ccc01edc7052b",
"base_installed": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"coverage_complete_branches": {
"AUD-SIM-L1-P095": [
"fuel_tax_included",
"fuel_tax_excluded"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-fuel-base.ts",
"sha256_LF": "3e00b285b2bfd4e0cdd7106be5f8ebd86dbc17b4dd83e36ccba844b6d6a7a9d2"
},
{
"path": "resources/js/components/simulation-fuel-base.tsx",
"sha256_LF": "d55f8ede39ed42114c9eed473684cf1a764420e63cdb0faf2af4906773b8cfd9"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "11988f00f562c8d86db442cd7996a6640e8916feea11230f6105521985d83720"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "85ca23ac160e7e06c0e605bfc0dc1a4ed2678df94136eaaa21ccfcba883a7e7c"
}
],
"counts_before": {
"delivered": 81,
"QA": 1,
"functional_pending": 50,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 82,
"QA": 0,
"functional_pending": 50,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 82,
"QA": 0,
"functional_pending": 50,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7d-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy76be72c3 through existingGit,preserve concurrentchanges and check installeddelta only;two input-composition treatments sameP095branch;no double TC subtraction",
"scope": "2026/MZN,P095baseonly;no automatic price,TC rate/amount,IVA/incidence/rate/deduction/field11/ModeloAtotals. Not general fuel purchases/services or unregulated price. Unknown TC/price parameters indeterminate;zero only explicit. TC exceeding consideration remains indeterminate,not negative/flooredzero.",
"meaning": "Transmissions of fuel with price fixed by public authority,effected by resellers;consideration under15(1)/(5) excludes FuelTax(TC). Two input-composition treatments in one branch,not two legal benefits.",
"formula": {
"fuel_tax_included": "consideration net of own VAT but including TC minus exact TC amount",
"fuel_tax_excluded": "consideration already net of own VAT and TC,unchanged;no second subtraction"
},
"preservation": "81priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7d-readonly-rollback-20261024.patch,checked only,not applied;blocks newP095calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"previous_release": "/var/www/investmoz-homologacao/releases/e62b7dfdc25f7c12425e89cea26f7ccf67b7d177-c1e20222",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"release_revision": {
"commit": "df7cb7fa47f50ae23f52c1bdf7e48e38489cffef",
"branch": "main",
"built_at": "2026-10-24T20:28:33.858560+00:00",
"manifest_sha256": "01f5a06e9be1e2a758de06c51a1c145ab96d83c838b899806f442eec70158e72"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7d-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "ad8be21f2b91f0a61c14b3a1df82952710937b44d70bbc45c9add3a8ab215789",
"files_sha256": "63fbe8b63f34ce373eee096d1eba9d5461162c55a2d01bb351e3e68eb3034cae",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7d_restore_20261024",
"port": 55441,
"source_dump_sha256": "ad8be21f2b91f0a61c14b3a1df82952710937b44d70bbc45c9add3a8ab215789",
"active_database_writes": 0
}
},
"served_commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"previous_release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "9753319afae2b48c6603174611c29a44"
},
"after": {
"rows": 105,
"checksum": "0952fbca996676b2672ef9e20bc6f3b4"
}
},
"sessions": {
"before": {
"rows": 62,
"checksum": "3cad129ac66a652cdd459999598f14ce"
},
"after": {
"rows": 63,
"checksum": "157ddd76903db6ec5dd9176ac8f58bef"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"branch": "main",
"built_at": "2026-10-24T20:37:45.995677+00:00",
"manifest_sha256": "bac69b18e37c76367dbcdd4caee54122f088dfafdc344ebd8a7e31f66617cfc8"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"regulated-fuel-base/1": [
"assets/project-dossier-Cz-1HWwj.js"
],
"fuel_tax_included": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"fuel_tax_excluded": [
"assets/project-dossier-Cz-1HWwj.js"
],
"regulatedFuelBases": [
"assets/project-dossier-Cz-1HWwj.js"
],
"taxableFuelResale": [
"assets/project-dossier-Cz-1HWwj.js"
],
"publicFixedPrice": [
"assets/project-dossier-Cz-1HWwj.js"
],
"priceScopeMatches": [
"assets/project-dossier-Cz-1HWwj.js"
],
"fuelTaxTreatment": [
"assets/project-dossier-Cz-1HWwj.js"
],
"consideration": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"fuelTaxRef": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"priceRef": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"priceScope": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"priceFrom": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"priceTo": [
"assets/project-dossier-Cz-1HWwj.js",
"assets/services-DYdBDJDo.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-Cz-1HWwj.js"
]
},
"assets": [
{
"file": "assets/project-dossier-Cz-1HWwj.js",
"status": 200,
"sha256": "5d3889631817dce24a1d5117adfedb857f82b7904661f2542fe1e8bec9b175db"
},
{
"file": "assets/project-dossier-document-CD6rt2wY.js",
"status": 200,
"sha256": "1d3d83cc19a332bf7b4a2f3bd53ded192944990da4c670da66894ca2bd5dd0d1"
},
{
"file": "assets/services-DYdBDJDo.js",
"status": 200,
"sha256": "9963e8e963cc91d4ed93e49f855f72d2354353e13bd65329064875fca34584c7"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DVpJlD3c.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"previous_release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"previous_release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"92a7418cb6b080916a4d02d3c1db4be94d3d96f1"
],
"finished_at": "2026-10-24T20:37:48.666648+00:00"
},
"log_file": "1792874168886523454.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.42s",
"OK (59 tests, 317 assertions)",
"# tests 358",
"# pass 358",
"# fail 0"
],
"log_bytes": 133280
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:TC included is subtracted once;alreadyexcluded unchanged. Price reference/scope/period and immutable inputs/history/report retained;no presumed price/TC or double subtraction. Base independent of VAT/rate(alwaysnull). Four installed runtime hashes and15compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-fuel-base.ts
+++ b/resources/js/lib/iva-fuel-base.ts
@@ -51,6 +51,7 @@
function key(draft:Record<string,unknown>,book:FuelBaseBook):string{return JSON.stringify({version:fuelBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function fuelBaseCurrent(draft:Record<string,unknown>,book:FuelBaseBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordFuelBases(draft:Record<string,unknown>,book:FuelBaseBook):FuelBaseBook{
+ throw new Error('Novas bases P095 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:FuelBaseCalculation={version:fuelBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:fuelBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateFuelBase(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveFuelBaseBook(draft,next);return next;
@@ -0,0 +1,316 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "0460c85330557b8074c14c04c74cd890e6cab97a",
"base_installed": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"coverage_complete_branches": {
"AUD-SIM-L1-P100": [
"noncash_only",
"cash_and_noncash"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-noncash-base.ts",
"sha256_LF": "d07cbefec4d54cffe41626093832972b31b8eacf0021a146655c79b189f25434"
},
{
"path": "resources/js/components/simulation-noncash-base.tsx",
"sha256_LF": "e8d5dd905d9c6b75ed7589e4ecf7b708bb288ba59285d409f444e799f9f09c35"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "bc1005d31306c859dfa325f8d63e8bac98073b38f6d65ab22f736537629d4752"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "84d3c968dfa0a644f1767c09dd266fbe32b086117da0416564681e4a51e8d7f6"
}
],
"counts_before": {
"delivered": 82,
"QA": 1,
"functional_pending": 49,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 83,
"QA": 0,
"functional_pending": 49,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 83,
"QA": 0,
"functional_pending": 49,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7e-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy0460c853 through existingGit,preserve concurrentchanges and check installeddelta only;two treatments sameP100branch",
"scope": "2026/MZN,baseonly;no currencyconversion,automatic normalvaluation,incidence/rate/VAT/deduction/field11/ModeloAtotals. Unknown monetary share not inferredzero;explicitzero differentiated. Otherbranches and prior normalvalue contexts unchanged.",
"meaning": "Consideration not wholly or partly defined in money:money received/receivable plus normalvalue of goods/services given in exchange as consideration for identified operation. Entirely noncash only with express composition confirmation,not inferred from emptycash field.",
"formula": {
"noncash_only": "normalvalue,absence of monetary consideration explicitly confirmed",
"cash_and_noncash": "cashamount received/receivable + normalvalue of goods/services given in exchange"
},
"preservation": "82priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7e-readonly-rollback-20261024.patch,checked only,not applied;blocks newP100calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"previous_release": "/var/www/investmoz-homologacao/releases/df7cb7fa47f50ae23f52c1bdf7e48e38489cffef-be472ead",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"release_revision": {
"commit": "92a7418cb6b080916a4d02d3c1db4be94d3d96f1",
"branch": "main",
"built_at": "2026-10-24T20:37:45.995677+00:00",
"manifest_sha256": "bac69b18e37c76367dbcdd4caee54122f088dfafdc344ebd8a7e31f66617cfc8"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7e-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "dcc4d9b15c0a62b065742f976dc4478c560674f40e6fd7c2017492dee433a27e",
"files_sha256": "59804ad31f7c6a6055aed0020b7b8d30f23e0ad8b43e75d6280fba977d0e4a4e",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7e_restore_20261024",
"port": 55441,
"source_dump_sha256": "dcc4d9b15c0a62b065742f976dc4478c560674f40e6fd7c2017492dee433a27e",
"active_database_writes": 0
}
},
"served_commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"previous_release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "ed216cb11fffaa2b61c114570c78a17b"
},
"after": {
"rows": 105,
"checksum": "ff9165ae0fd40844ce207770858bf0d1"
}
},
"sessions": {
"before": {
"rows": 65,
"checksum": "8aee0965c2b1e3d8f0a01c8d0d7d5ec1"
},
"after": {
"rows": 66,
"checksum": "13e05ea1a9dc6cd7c07205bfe491b4c7"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"branch": "main",
"built_at": "2026-10-24T20:45:12.326319+00:00",
"manifest_sha256": "c141928a91011ced381e72b1e616469bb9fe061a2a9e9d7b43dcf8ec37ccd068"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"noncash-consideration-base/1": [
"assets/project-dossier-BG2KqrE6.js"
],
"noncash_only": [
"assets/project-dossier-BG2KqrE6.js"
],
"cash_and_noncash": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"noncashBases": [
"assets/project-dossier-BG2KqrE6.js"
],
"taxableOperation": [
"assets/project-dossier-BG2KqrE6.js"
],
"exchangeIdentified": [
"assets/project-dossier-BG2KqrE6.js"
],
"cashComposition": [
"assets/project-dossier-BG2KqrE6.js"
],
"normalValueBasis": [
"assets/project-dossier-BG2KqrE6.js"
],
"cashAmount": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"cashRef": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"normalValue": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"exchangeDescription": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"agreementRef": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"valuationRef": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"valuationScope": [
"assets/project-dossier-BG2KqrE6.js",
"assets/services-B-L_nC4P.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-BG2KqrE6.js"
]
},
"assets": [
{
"file": "assets/project-dossier-BG2KqrE6.js",
"status": 200,
"sha256": "372b30385b0d0ead940a585e0eb90517e0b03bf8e04eff78aa368d52ba882a81"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/services-B-L_nC4P.js",
"status": 200,
"sha256": "4272f5a7705350dbb2e46dc328a73447e814f9280614077a9c902c32e4f32063"
},
{
"file": "assets/project-dossier-document-CbKgC_ZS.js",
"status": 200,
"sha256": "68a73417854b38b1cb93434f10762323ad3dfed97b9bddbce0e3f2ca0f5af7d2"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BKEVCVJE.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"previous_release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"previous_release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"70b4a640ee5f790f8e6a089d157456ff437e336d"
],
"finished_at": "2026-10-24T20:45:15.438182+00:00"
},
"log_file": "1792874615285322105.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.36s",
"OK (59 tests, 317 assertions)",
"# tests 362",
"# pass 362",
"# fail 0"
],
"log_bytes": 134422
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:normalvalue of goods/services given in exchange plus monetary share if present;absence expressly confirmed,hidden monetary inputs preserved but not summed in noncash_only. Normalvalue basis/scope and immutable inputs/history/report retained. Base independent of VAT/rate(alwaysnull). Four installed runtime hashes and16compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-noncash-base.ts
+++ b/resources/js/lib/iva-noncash-base.ts
@@ -49,6 +49,7 @@
function key(draft:Record<string,unknown>,book:NoncashBaseBook):string{return JSON.stringify({version:noncashBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function noncashBaseCurrent(draft:Record<string,unknown>,book:NoncashBaseBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordNoncashBases(draft:Record<string,unknown>,book:NoncashBaseBook):NoncashBaseBook{
+ throw new Error('Novas bases P100 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:NoncashBaseCalculation={version:noncashBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:noncashBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateNoncashBase(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveNoncashBaseBook(draft,next);return next;
@@ -0,0 +1,309 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "6f90fcb9d4ea6e93b13291e65fa6cb7406ca98c9",
"base_installed": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"coverage_complete_branches": {
"AUD-SIM-L1-P101": [
"tax_component",
"accessory_component"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-composition-base.ts",
"sha256_LF": "557d6b4b5ed2c534b69e5edf43c9e4014cdfb7362bf164829cd16e4deeabbf73"
},
{
"path": "resources/js/components/simulation-composition-base.tsx",
"sha256_LF": "3507c14f15e40bf018089520a46b7e22002ddbd9bffa64d179f085b0d933ae0e"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "82694be2d0a5ac097b64d68dceeda1df239bb2bf2bce193e8112d3dadad79a95"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "c640883680629049ea851a63e28e967a70297257a55e5d885df8e32f4b81e871"
}
],
"counts_before": {
"delivered": 83,
"QA": 1,
"functional_pending": 48,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 84,
"QA": 0,
"functional_pending": 48,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 84,
"QA": 0,
"functional_pending": 48,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7f-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy6f90fcb9 through existingGit,preserve concurrentchanges and check installeddelta only;onebase peroperation,withoutdoublecounting or ownVAT;two componenttreatments sameP101branch",
"scope": "2026/MZN,P101compositiononly;no incidence/taxrates/IVA/deduction/field11/ModeloAtotals. Initialamount explicitlynetofownIVA and applicable15(6)exclusions;specialbases15(2)respected includingP095TCexclusion. DetailedP102exclusions notclosed by thisrecorte. Unknowncomponentamount/inclusion notassumedzero or missing;ownIVA not added ascomponent.",
"meaning": "Include taxes,duties,fees/otherimpositions excludingownVAT;accessory expenses charged forcommissions,packaging,transport/insurance onclientaccount. Both component treatments form one base peroperation,not parallelbases.",
"formula": "initial amount netofownVAT/applicableexclusions + sum of applicable components notalreadyincluded;alreadyincluded components retained without secondsum",
"preservation": "83priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7f-readonly-rollback-20261024.patch,checked only,not applied;blocks newP101calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"previous_release": "/var/www/investmoz-homologacao/releases/92a7418cb6b080916a4d02d3c1db4be94d3d96f1-ebe3dcb6",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"release_revision": {
"commit": "70b4a640ee5f790f8e6a089d157456ff437e336d",
"branch": "main",
"built_at": "2026-10-24T20:45:12.326319+00:00",
"manifest_sha256": "c141928a91011ced381e72b1e616469bb9fe061a2a9e9d7b43dcf8ec37ccd068"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7f-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "18729e57928183ae4a59eb2e34566a1e87ec4a1fa9e8d3a97177ab9623ae272a",
"files_sha256": "13142a0558b2a84ae6fd142789fe313f09ef3a0f3b201c6421a274e4105f7f23",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7f_restore_20261024",
"port": 55441,
"source_dump_sha256": "18729e57928183ae4a59eb2e34566a1e87ec4a1fa9e8d3a97177ab9623ae272a",
"active_database_writes": 0
}
},
"served_commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"previous_release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "5019a5447b0c93535079b73e9c088755"
},
"after": {
"rows": 105,
"checksum": "9d9ac5701d82e434ce40ad346398071d"
}
},
"sessions": {
"before": {
"rows": 68,
"checksum": "6d9856e21f1e09b08fb17ec81d0cb6b6"
},
"after": {
"rows": 69,
"checksum": "1f8d81747e4a1f9ac7416bb0c6cd6b88"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"branch": "main",
"built_at": "2026-10-24T20:54:47.716763+00:00",
"manifest_sha256": "bb782ee252ff461e8c53287876736b77f7851f7a5f23c7f12ff84aa8a23dd611"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"consideration-composition-base/1": [
"assets/project-dossier-D2E5WlN9.js"
],
"tax_component": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"accessory_component": [
"assets/project-dossier-D2E5WlN9.js"
],
"considerationCompositions": [
"assets/project-dossier-D2E5WlN9.js"
],
"taxableOperation": [
"assets/project-dossier-D2E5WlN9.js"
],
"initialNet": [
"assets/project-dossier-D2E5WlN9.js"
],
"completeComposition": [
"assets/project-dossier-D2E5WlN9.js"
],
"specialRules": [
"assets/project-dossier-D2E5WlN9.js"
],
"initialAmount": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"initialRef": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"operationRef": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"natureConfirmed": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"ownVatExcluded": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"included": [
"assets/services-CY5shkop.js",
"assets/project-dossier-D2E5WlN9.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-D2E5WlN9.js"
]
},
"assets": [
{
"file": "assets/services-CY5shkop.js",
"status": 200,
"sha256": "fab469e821906d7c3f53403a2c7dabd9daf0374c98582f2c5250028534e4e919"
},
{
"file": "assets/project-dossier-document-CYmMav6B.js",
"status": 200,
"sha256": "5c905f45fdb879c0315e78f4283fd0427010d7ddd7b15eaebabdd1ca635a0054"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-D2E5WlN9.js",
"status": 200,
"sha256": "fddc0c2b79528fd9e8993ad98daeeff67f76c0f05d0ab38adda087b1547cf40b"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-D5CFqFe4.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"previous_release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"previous_release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"7e5710ebbd235f9478f149f8470a238c9e66ea9e"
],
"finished_at": "2026-10-24T20:54:50.708939+00:00"
},
"log_file": "1792875189810569987.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.63s",
"OK (59 tests, 317 assertions)",
"# tests 366",
"# pass 366",
"# fail 0"
],
"log_bytes": 135617
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:initial netamount plus onlynotalreadyincluded tax/accessorycomponents;onebase peroperation,no doublecounting or ownVAT. Nestedcomponentnature/amount/inclusion/references,immutableinputs/history/report retained;specialbases and exclusions respected. Base independent of VAT/rate(alwaysnull). Four installed runtime hashes and15compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-composition-base.ts
+++ b/resources/js/lib/iva-composition-base.ts
@@ -55,6 +55,7 @@
function key(draft:Record<string,unknown>,book:CompositionBook):string{return JSON.stringify({version:compositionBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function compositionCurrent(draft:Record<string,unknown>,book:CompositionBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordCompositions(draft:Record<string,unknown>,book:CompositionBook):CompositionBook{
+ throw new Error('Novas bases P101 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:CompositionCalculation={version:compositionBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:compositionBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateComposition(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveCompositionBook(draft,next);return next;
@@ -0,0 +1,313 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "9c2b2c6560062fcc261b27731cf9726276510d47",
"base_installed": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"coverage_complete_branches": {
"AUD-SIM-L1-P102": [
"judicial_indemnity",
"granted_discount",
"third_party_payment",
"returnable_packaging"
]
},
"branch_count_complete": 1,
"treatment_count": 4,
"runtime_delta": [
{
"path": "resources/js/lib/iva-exclusion-base.ts",
"sha256_LF": "2d4d2f607eb4e24e617a5640b239d14ab4958e364cc6f3cda36a407b8b1d782f"
},
{
"path": "resources/js/components/simulation-exclusion-base.tsx",
"sha256_LF": "4c69345d9e49c96756727cbf909bf1d5949fa9db14c346157413dd1885258520"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "81be9e69aeab5d544a2fb8aadcf487bb6f04ae0ab06861759709912afe9c82bf"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "af10643db841e08f14a9ef534ccf7367fe5b05e20c58b770e3a4cf51aa0192e8"
}
],
"counts_before": {
"delivered": 84,
"QA": 1,
"functional_pending": 47,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 85,
"QA": 0,
"functional_pending": 47,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 85,
"QA": 0,
"functional_pending": 47,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7g-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy9c2b2c65 through existingGit,preserve concurrentchanges and check installeddelta only;four treatments sameP102branch,ownconditions and no double subtraction",
"scope": "2026/MZN,P102baseonly;no IVA/incidence/rate/deduction/field11/regularisations/ModeloAtotals. No automaticlegaldecision orpriorperiodposting. Packagingrequiresagreedreturnmention,notactualreturn. Unknownconditions/amount/inclusion indeterminate;failedcondition yields notapplicable,notzero;exclusionsexceedinginitialamount notnegative/flooredzero.",
"meaning": "Four exclusions:judicial indemnity for total/partial contractbreach;granteddiscount/abatement/bonus;payment inname/onaccount of purchaser/recipient recorded inappropriate thirdpartyaccounts;packaging notactuallytransacted withseparateinvoiceindication/express agreedreturnmention.",
"formula": "initialamount netofownVAT with15(5)inclusions minus only exclusions stillincluded;alreadyexcluded retained without secondsubtraction",
"preservation": "84priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7g-readonly-rollback-20261024.patch,checked only,not applied;blocks newP102calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"previous_release": "/var/www/investmoz-homologacao/releases/70b4a640ee5f790f8e6a089d157456ff437e336d-c95636fc",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"release_revision": {
"commit": "7e5710ebbd235f9478f149f8470a238c9e66ea9e",
"branch": "main",
"built_at": "2026-10-24T20:54:47.716763+00:00",
"manifest_sha256": "bb782ee252ff461e8c53287876736b77f7851f7a5f23c7f12ff84aa8a23dd611"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7g-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "4eafcef8350b4a486b4306b675bc71ed89961f43ab56aa49a9751982d7a8d9b5",
"files_sha256": "abc18ef93cfbd7b266b08cb8c7fcc5f048eae33c74e5bce0fa19c3e9ba25469e",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7g_restore_20261024",
"port": 55441,
"source_dump_sha256": "4eafcef8350b4a486b4306b675bc71ed89961f43ab56aa49a9751982d7a8d9b5",
"active_database_writes": 0
}
},
"served_commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"previous_release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "1d5e3ec2a5dba626144c3527b18e0e65"
},
"after": {
"rows": 106,
"checksum": "3b79bad8f86095c2b11c82425ce8a63c"
}
},
"sessions": {
"before": {
"rows": 71,
"checksum": "3738e4ce15d39c7ac152c3045dc1c11f"
},
"after": {
"rows": 73,
"checksum": "901a2e2d485d58ea01f02b2e1887cf0e"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"branch": "main",
"built_at": "2026-10-24T21:06:06.620815+00:00",
"manifest_sha256": "640a7390e644ff6efdf891439786a7b1783553d805cf71ccb6e6d488ed7196e8"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"consideration-exclusions-base/1": [
"assets/project-dossier-N7veALmJ.js"
],
"judicial_indemnity": [
"assets/project-dossier-N7veALmJ.js"
],
"granted_discount": [
"assets/project-dossier-N7veALmJ.js"
],
"third_party_payment": [
"assets/services-Bum8CrDQ.js",
"assets/project-dossier-N7veALmJ.js"
],
"returnable_packaging": [
"assets/services-Bum8CrDQ.js",
"assets/project-dossier-N7veALmJ.js"
],
"considerationExclusions": [
"assets/project-dossier-N7veALmJ.js"
],
"judicialDeclaration": [
"assets/project-dossier-N7veALmJ.js"
],
"contractBreach": [
"assets/project-dossier-N7veALmJ.js"
],
"thirdPartyAccounts": [
"assets/project-dossier-N7veALmJ.js"
],
"returnMention": [
"assets/project-dossier-N7veALmJ.js"
],
"separateIndication": [
"assets/project-dossier-N7veALmJ.js"
],
"accountRef": [
"assets/services-Bum8CrDQ.js",
"assets/project-dossier-N7veALmJ.js"
],
"beneficiaryRef": [
"assets/services-Bum8CrDQ.js",
"assets/project-dossier-N7veALmJ.js"
],
"documentExcerpt": [
"assets/services-Bum8CrDQ.js",
"assets/project-dossier-N7veALmJ.js"
],
"included": [
"assets/services-Bum8CrDQ.js",
"assets/project-dossier-N7veALmJ.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-N7veALmJ.js"
]
},
"assets": [
{
"file": "assets/services-Bum8CrDQ.js",
"status": 200,
"sha256": "2333ebe00e8e446bc3721eb76a5b7a34c80bc3e64789bbaf0e488f16f13adb1e"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-document-CJyannat.js",
"status": 200,
"sha256": "cece8886f730ac17191b912bc840bde193d0ea377a056c5adb5476a16a66c88e"
},
{
"file": "assets/project-dossier-N7veALmJ.js",
"status": 200,
"sha256": "77a3cd4693091ea6979bf10129036e592f7e26eaf9edc573081f9f3e6240c4c5"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DjGpWTrb.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"previous_release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"previous_release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"5d5f3b414866969e4b2d38376402b8f264c6d19c"
],
"finished_at": "2026-10-24T21:06:09.473849+00:00"
},
"log_file": "1792875866291395065.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 26.50s",
"OK (59 tests, 317 assertions)",
"# tests 370",
"# pass 370",
"# fail 0"
],
"log_bytes": 136776
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:four exclusiontreatments withownconditions;initialnetamount minus onlystillincluded exclusions,alreadyexcluded notsubtractedagain. Judicial/contract/grant/accounts/recipient/packaginginvoice references/scope andimmutableinputs/history/report retained. Base independent of VAT/rate(alwaysnull),no deduction/regularisation inferred. Four installed runtime hashes and16compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-exclusion-base.ts
+++ b/resources/js/lib/iva-exclusion-base.ts
@@ -67,6 +67,7 @@
function key(draft:Record<string,unknown>,book:ExclusionBook):string{return JSON.stringify({version:exclusionBaseVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function exclusionCurrent(draft:Record<string,unknown>,book:ExclusionBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordExclusions(draft:Record<string,unknown>,book:ExclusionBook):ExclusionBook{
+ throw new Error('Novas bases P102 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ExclusionCalculation={version:exclusionBaseVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:exclusionBaseSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateExclusion(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveExclusionBook(draft,next);return next;
@@ -0,0 +1,318 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "20871341438c024fa22a82419144734cb95cffbd",
"base_installed": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"coverage_complete_branches": {
"AUD-SIM-L1-P103": [
"price_comparison",
"referenced_correction"
]
},
"branch_count_complete": 1,
"treatment_count": 2,
"runtime_delta": [
{
"path": "resources/js/lib/iva-value-review.ts",
"sha256_LF": "411aa0506868afd112bac0e27571db1978b21bd8375051dc36abbe55dfad7876"
},
{
"path": "resources/js/components/simulation-value-review.tsx",
"sha256_LF": "ff3fc2ad0e0082a931341ae51b63d6abe2bfee00b90e5891fc4dce742e84a017"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "c7f6a45a8533f6ce4128c912511b7712011fc365b99dfbe675d6cb2b455dfca1"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "89ee4a4abfa36c4d159edd71c936d718e2a6e99c9c8a83be669451fb309c5d2c"
}
],
"counts_before": {
"delivered": 85,
"QA": 1,
"functional_pending": 46,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 86,
"QA": 0,
"functional_pending": 46,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 86,
"QA": 0,
"functional_pending": 46,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7h-qa-20261024.json"
],
"authorization": "Tempo explicitly deploy20871341 through existingGit,preserve concurrentchanges and check installeddelta only;P103comparison distinct fromreferencedcorrection andconditionalscenario",
"scope": "2026/MZN,P103baseonly;no automaticvaluation/legalcorrection,incidence/rate/VAT/deduction/field11/regularisation/ModeloAtotals oractiveauthorityaction. Referencecontext/scope and equivalentcomposition required. Unknowncorrectionamount notdefaultreference;no inventedfloor/maximum. Projectedcorrection clearlyconditional,notATdecision. Notbelowdoesnotdemonstrate15(7)trigger.",
"meaning": "AT may correct consideration below current/normal factorygate/wholesale/retail/serviceprice,considering natureoftransmission. Comparison doesnot exerciseATpower or automaticallysubstitute referenceprice. Recordedcorrection in effective declareddata or expresslyconditional projectedscenario retains ownamount/ref/date/scope.",
"formula": {
"price_comparison": "compare exactdeclared/reference values;retain declaredbase withoutautomaticcorrection",
"referenced_correction": "if15(7)belowtrigger andscopeconfirmed,use explicitlyreferenced correctedamount;no max/defaultreference"
},
"preservation": "85priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7h-readonly-rollback-20261024.patch,checked only,not applied;blocks newP103calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"previous_release": "/var/www/investmoz-homologacao/releases/7e5710ebbd235f9478f149f8470a238c9e66ea9e-8bf3c724",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"release_revision": {
"commit": "5d5f3b414866969e4b2d38376402b8f264c6d19c",
"branch": "main",
"built_at": "2026-10-24T21:06:06.620815+00:00",
"manifest_sha256": "640a7390e644ff6efdf891439786a7b1783553d805cf71ccb6e6d488ed7196e8"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7h-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "a61c5e65e681b5d58b514ae910d6a039a6313f9db78f0bfa440248a5d6d04162",
"files_sha256": "18957aa6e1635d99848d4d57248cf6213f0076a2d5c9852d2f1c695b3417c813",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7h_restore_20261024",
"port": 55441,
"source_dump_sha256": "a61c5e65e681b5d58b514ae910d6a039a6313f9db78f0bfa440248a5d6d04162",
"active_database_writes": 0
}
},
"served_commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"previous_release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "7b8d3c22597c8e038d2988b13434f8e7"
},
"after": {
"rows": 106,
"checksum": "54e7a3e15667000170ba51da7a361204"
}
},
"sessions": {
"before": {
"rows": 75,
"checksum": "f3d76a1891ea997f2203be3e4846d2cd"
},
"after": {
"rows": 76,
"checksum": "1907f607e317a43b1157be359c442f5f"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"branch": "main",
"built_at": "2026-10-24T21:14:42.034149+00:00",
"manifest_sha256": "ba479b580dd012c09e8f4c94e691a75642da781583a21a6fc46c649b59b6d4e1"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"value-review-base/1": [
"assets/project-dossier-BwlKZrlT.js"
],
"price_comparison": [
"assets/project-dossier-BwlKZrlT.js"
],
"referenced_correction": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"valueReviews": [
"assets/project-dossier-BwlKZrlT.js"
],
"referenceCorresponds": [
"assets/project-dossier-BwlKZrlT.js"
],
"priceContext": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"declaredAmount": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"referenceAmount": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"referenceScope": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"correctedAmount": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"correctionRef": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"correctionScope": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"correctionDate": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"correctionApplies": [
"assets/project-dossier-BwlKZrlT.js",
"assets/services-CnR4vnXO.js"
],
"Cenário condicionado": [
"assets/project-dossier-BwlKZrlT.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-BwlKZrlT.js"
]
},
"assets": [
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-BwlKZrlT.js",
"status": 200,
"sha256": "0c0956f01886a72af19b81daa663cc9c572ed9d16f66ce0d92f6a73a17ec3776"
},
{
"file": "assets/project-dossier-document-CyTqKXcP.js",
"status": 200,
"sha256": "dec458068969e1a8cb9186ff22c882a5c3cb4f2769b32340190f4dbad6d82aff"
},
{
"file": "assets/services-CnR4vnXO.js",
"status": 200,
"sha256": "dcbf2140a4bf353f007c905c9ab25647c1a8f38381743f0d412fd3e33c2046ea"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DrQ81CqE.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"previous_release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"previous_release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"cd530b248bf9dee5a6e7f1e4d710346084a2421f"
],
"finished_at": "2026-10-24T21:14:44.805315+00:00"
},
"log_file": "1792876380762621304.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 25.73s",
"OK (59 tests, 317 assertions)",
"# tests 374",
"# pass 374",
"# fail 0"
],
"log_bytes": 137846
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:comparison retainsdeclaredbase withoutautomaticcorrection;referencedcorrection uses ownamount/ref/date/scope;projectedscenario explicitlyconditional,notATdecision. Context/percourse/origin changesretainvalues andclearconfirmation. Base independent of VAT/rate(alwaysnull),no deduction/regularisation inferred. Four installed runtime hashes and16compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-value-review.ts
+++ b/resources/js/lib/iva-value-review.ts
@@ -54,6 +54,7 @@
function key(draft:Record<string,unknown>,book:ValueReviewBook):string{return JSON.stringify({version:valueReviewVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function valueReviewCurrent(draft:Record<string,unknown>,book:ValueReviewBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordValueReviews(draft:Record<string,unknown>,book:ValueReviewBook):ValueReviewBook{
+ throw new Error('Novas bases P103 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ValueReviewCalculation={version:valueReviewVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:valueReviewSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateValueReview(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveValueReviewBook(draft,next);return next;
@@ -0,0 +1,315 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "a4329bb4bfb44546a5c64b8c4baabf4231a1c3c3",
"base_installed": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"coverage_complete_branches": {
"AUD-SIM-L1-P089": [
"free_company_service",
"private_company_asset_use",
"exempt_sector_asset_use"
]
},
"branch_count_complete": 1,
"treatment_count": 3,
"runtime_delta": [
{
"path": "resources/js/lib/iva-service-normal.ts",
"sha256_LF": "e10fa8131534982eae17ce72849fb794a8e0438c85719b872571a33c53e5f019"
},
{
"path": "resources/js/components/simulation-service-normal.tsx",
"sha256_LF": "b7838cc7dadd058906a3997e218deb79792d587a6daf67f7f3139ff22a0668a5"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "8581d037947c9d764400e99627952524bcf28ed8b5bf865ba4a1cb4b74acd7ac"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "aa15412c46064a9cff6dbe2dba086e1acfe79fe50f313280ccb9ee7c89484c99"
}
],
"counts_before": {
"delivered": 86,
"QA": 1,
"functional_pending": 45,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 87,
"QA": 0,
"functional_pending": 45,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 87,
"QA": 0,
"functional_pending": 45,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g7i-qa-20261024.json"
],
"authorization": "Tempo explicitly deploya4329bb4 through existingGit,preserve concurrentchanges and check installeddelta only;P089three treatments,prior deductioncondition limitedto applicableassetuse paths",
"scope": "2026/MZN,P089baseonly;no automaticnormalvaluation orsubstitution byassetpurchaseprice/cost;no IVA/incidence/rate/deduction/field11/regularisation/ModeloAtotals. Prior deductionfact/reference doesnot calculateorgrant deduction. Unknownconditions/normalvalue indeterminate,explicitno notapplicable notzero. Otherbooks includingP103/102/101/095unchanged.",
"meaning": "Free services bycompany forprivate/nonbusinesspurpose4(2)(a);useofcompanygoods forprivate/nonbusinesspurpose or in exemptsector4(2)(b). Previous total/partialdeduction ongoods/elements requiredonlyfor4(2)(b),not4(2)(a). Use distinctfrompermanentgoods transferP088.",
"formula": "normalvalue ofservice under15(4),identifiedbasis/scope andcomposition15(5)/(6),netofownVAT",
"preservation": "86priorclosures and partialP084/P085 preserved;acceptedQA reused;freshbackup/realisolatedrestore beforeinstallation;installeddelta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;P00105/06;L1open;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g7i-readonly-rollback-20261024.patch,checked only,not applied;blocks newP089calculations only,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"previous_release": "/var/www/investmoz-homologacao/releases/5d5f3b414866969e4b2d38376402b8f264c6d19c-7453aad9",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"release_revision": {
"commit": "cd530b248bf9dee5a6e7f1e4d710346084a2421f",
"branch": "main",
"built_at": "2026-10-24T21:14:42.034149+00:00",
"manifest_sha256": "ba479b580dd012c09e8f4c94e691a75642da781583a21a6fc46c649b59b6d4e1"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g7i-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "f521bc779cc87c7bc500c37f44d15748961e098d0a420e9514bbb11adf8eefa4",
"files_sha256": "5d26d4d18c8ee9f09c40f9f99c044c9b7c98d3a33db94dc03347b23aa89dc9cf",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g7i_restore_20261024",
"port": 55441,
"source_dump_sha256": "f521bc779cc87c7bc500c37f44d15748961e098d0a420e9514bbb11adf8eefa4",
"active_database_writes": 0
}
},
"served_commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"previous_release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "45610a4958896515bb8c40336788ed14"
},
"after": {
"rows": 106,
"checksum": "fbe7bcd9ed9fb14cd53e72323e65123b"
}
},
"sessions": {
"before": {
"rows": 78,
"checksum": "f2d2cc72e918fa3281aa63d3f1694643"
},
"after": {
"rows": 79,
"checksum": "cd50f4e02a9922517e5d427d5dd2473c"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"branch": "main",
"built_at": "2026-10-24T21:23:28.102878+00:00",
"manifest_sha256": "329dea28609b9850332b63a730576a539077489d9e085235be7f344c3428f39c"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"assimilated-service-normal/1": [
"assets/project-dossier-_Ly_4ECn.js"
],
"free_company_service": [
"assets/services-QCmLUqU2.js",
"assets/project-dossier-_Ly_4ECn.js"
],
"private_company_asset_use": [
"assets/project-dossier-_Ly_4ECn.js"
],
"exempt_sector_asset_use": [
"assets/project-dossier-_Ly_4ECn.js"
],
"serviceNormals": [
"assets/project-dossier-_Ly_4ECn.js"
],
"freeByCompany": [
"assets/project-dossier-_Ly_4ECn.js"
],
"nonBusinessPurpose": [
"assets/project-dossier-_Ly_4ECn.js"
],
"companyAssetUse": [
"assets/project-dossier-_Ly_4ECn.js"
],
"privatePurpose": [
"assets/project-dossier-_Ly_4ECn.js"
],
"exemptSector": [
"assets/project-dossier-_Ly_4ECn.js"
],
"priorDeduction": [
"assets/project-dossier-_Ly_4ECn.js"
],
"assetRef": [
"assets/services-QCmLUqU2.js",
"assets/project-dossier-_Ly_4ECn.js"
],
"deductionRef": [
"assets/services-QCmLUqU2.js",
"assets/project-dossier-_Ly_4ECn.js"
],
"purposeRef": [
"assets/services-QCmLUqU2.js",
"assets/project-dossier-_Ly_4ECn.js"
],
"normalValue": [
"assets/services-QCmLUqU2.js",
"assets/project-dossier-_Ly_4ECn.js"
],
"valuationScope": [
"assets/services-QCmLUqU2.js",
"assets/project-dossier-_Ly_4ECn.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-_Ly_4ECn.js"
]
},
"assets": [
{
"file": "assets/services-QCmLUqU2.js",
"status": 200,
"sha256": "43e0f5cc440aac01075a66a6cde5cf2b8124f9ae2ce1937d742a38867f4f1c26"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-_Ly_4ECn.js",
"status": 200,
"sha256": "9db3d0991381c45f9ef4e73ee285f90b6e39736709459cbe992d59644008ed0c"
},
{
"file": "assets/project-dossier-document-CdgtDyQM.js",
"status": 200,
"sha256": "d319ea9cc9113ed0dc5ebe2f931b9e445578cea9d0e35a6f4d9feab4a0476d85"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BEW2fH9O.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"previous_release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"previous_release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"6f1cf7b7a09796b3964b39f0b1e778f978ae60fb"
],
"finished_at": "2026-10-24T21:23:30.754896+00:00"
},
"log_file": "1792876907186052463.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 26.07s",
"OK (59 tests, 317 assertions)",
"# tests 378",
"# pass 378",
"# fail 0"
],
"log_bytes": 139074
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted QA reused:normalvalueofservice15c/4(2),three ownconditionpaths;prior total/partialdeduction ongoods/elements requiredonlyassetuse4(2)b,notfreecompanyservice4(2)a. References/purpose/normalvaluebasis/scope/immutableinputs/history/report preserved. Base independent of VAT/rate(alwaysnull),prior deductionreference doesnotcalculateorgrantfield11. Four installed runtime hashes and17compiled markers verified;no synthetic activewrite.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-service-normal.ts
+++ b/resources/js/lib/iva-service-normal.ts
@@ -51,6 +51,7 @@
function key(draft:Record<string,unknown>,book:ServiceNormalBook):string{return JSON.stringify({version:serviceNormalVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function serviceNormalCurrent(draft:Record<string,unknown>,book:ServiceNormalBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordServiceNormals(draft:Record<string,unknown>,book:ServiceNormalBook):ServiceNormalBook{
+ throw new Error('Novas bases P089 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ServiceNormalCalculation={version:serviceNormalVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:serviceNormalSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateServiceNormal(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveServiceNormalBook(draft,next);return next;
@@ -0,0 +1,338 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "3f4e71c3f360505dcb53c12376d14ee91643f3cd",
"base_installed": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"coverage_complete_branches": {
"AUD-SIM-L1-P106": [
"general_service"
],
"AUD-SIM-L1-P107": [
"immovable_service"
],
"AUD-SIM-L1-P108": [
"movable_work"
],
"AUD-SIM-L1-P109": [
"activity_service"
],
"AUD-SIM-L1-P110": [
"transport_service"
]
},
"branch_count_complete": 5,
"treatment_count": 5,
"runtime_delta": [
{
"path": "resources/js/lib/iva-service-location.ts",
"sha256_LF": "abf13bd0f6f8aed209b38f3fd8d5906b96572de2d13f87b0d742ee3f31095a19"
},
{
"path": "resources/js/components/simulation-service-location.tsx",
"sha256_LF": "ede4923dc4343949821cdd1c540837261cf816afee3069d031053cac73da5339"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "dd102e122a243f58c85db0dcde889877066c5aac9c873eb0f8f93905a6d0d848"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "03bfad1ac2a443ee4fd0a7c0091f5b3e34e17a9c8b2b75d1249ac0c96729d643"
}
],
"counts_before": {
"delivered": 88,
"QA": 5,
"functional_pending": 39,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 93,
"QA": 0,
"functional_pending": 39,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 93,
"QA": 0,
"functional_pending": 39,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g8-services-qa-20261024.json"
],
"authorization": "Tempo explicitly requests one joint delivery of3f4e71c3,P106–P110,main compatibility/concurrent changes preserved,installeddelta only",
"scope": "Recorte2026,classificação territorial de serviços por factos próprios;sem base,taxa,IVA,isenção,dedução/campo11 ou totaisModeloA. Digital/outros6(7)/(8)exigem percursos próprios,não classificados automaticamente. P002transversal não encerrado.",
"source": "CIVA6(3),6(4)/(5)a–d,6(6),Lei13/2016 PDF7–8/p1426(265–266);Aviso BR89-I,de08/06/2017,PDF1,rectifica expressamente6(5)c/d:actividades nacionais e transporte pela distância nacional;Lei10/2025 PDF12mantém6(3–6),altera7–9digitais.",
"meaning": {
"P106": "Sede/EP/domicílio do prestador a partir do qual o serviço é prestado,sem regras especiais aplicáveis. Não usar endereço/nacionalidade do cliente.",
"P107": "Local do imóvel e relação do serviço,incluindo preparação/coordenação de trabalhos imobiliários,peritos/agentes. Independente da sede do prestador.",
"P108": "Execução total ou essencial dos trabalhos/peritagens em bens móveis corpóreos. Independente da sede do prestador.",
"P109": "Local material de actividades artísticas,científicas,desportivas,recreativas,ensino/similares,organizadores e serviços acessórios;6(5)c rectificado2017.",
"P110": "Distância nacional6(5)d rectificada2017;partida/chegada nacionais incluem percurso fora do país6(6);ida/volta são dois trajectos. Identificar distância total/nacional na mesma unidade,sem apuramento monetário."
},
"formula": "Territorial classification only;P110 exact distances retained as numerator/denominator with6(6)deemednational override,no monetaryapportionment/rounding.",
"preservation": "88prior closures and partialP084/P085 preserved;accepted perbranchQA reused;one integration/backup/real isolatedrestore/check for whole set",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g8-services-readonly-rollback-20261024.patch,checked only,not applied;blocks newP106–110classifications,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"previous_release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"release_revision": {
"commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"branch": "main",
"built_at": "2026-10-24T21:33:02.101616+00:00",
"manifest_sha256": "0a967a74dd5163728a082b24a62b22b9fae00a3ac428b5bcaa2082340c62ac00"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g8-services-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "1188dd6c559ba60472c26a9332765b5157bd2b25ba66655b0311d5584c18b919",
"files_sha256": "252a84497714170faac6088de5e2f343a046092023c52c676f60628039d30f83",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g8_services_restore_20261024",
"port": 55441,
"source_dump_sha256": "1188dd6c559ba60472c26a9332765b5157bd2b25ba66655b0311d5584c18b919",
"active_database_writes": 0
}
},
"served_commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"previous_release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "555fd286e63d7efbd8080a4539536e17"
},
"after": {
"rows": 106,
"checksum": "1549defd5f3415c655fef9d5c1eacec9"
}
},
"sessions": {
"before": {
"rows": 84,
"checksum": "4a8cb0e5713004dc915ae58634691888"
},
"after": {
"rows": 85,
"checksum": "2dc4aeb9fab2ea3553e91d84f14e9b98"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"branch": "main",
"built_at": "2026-10-24T21:42:26.795541+00:00",
"manifest_sha256": "7deb424f38c7361d0a8df4d0be22464ab066a01e5aa38ece15fa62115c15f8c4"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"service-territoriality/1": [
"assets/project-dossier-CyMPKo3h.js"
],
"general_service": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"immovable_service": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"movable_work": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"activity_service": [
"assets/project-dossier-CyMPKo3h.js"
],
"transport_service": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"serviceLocations": [
"assets/project-dossier-CyMPKo3h.js"
],
"providerEstablishment": [
"assets/project-dossier-CyMPKo3h.js"
],
"propertyRelation": [
"assets/project-dossier-CyMPKo3h.js"
],
"totalEssential": [
"assets/project-dossier-CyMPKo3h.js"
],
"materialActivity": [
"assets/project-dossier-CyMPKo3h.js"
],
"routeCorresponds": [
"assets/project-dossier-CyMPKo3h.js"
],
"totalDistance": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"nationalDistance": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"providerCountry": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"subjectRef": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-CyMPKo3h.js"
],
"08/06/2017": [
"assets/project-dossier-CyMPKo3h.js",
"assets/services-CZ5pQbhW.js"
]
},
"assets": [
{
"file": "assets/project-dossier-CyMPKo3h.js",
"status": 200,
"sha256": "2b4728486975e76e77f8f343dcd6c4f82d32385f9b70af212e204b4bb500bb69"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-document-ESDgCIR1.js",
"status": 200,
"sha256": "731071c47247f46f2f693f51dbad7e2ad7fd3f122c873b7525c844788ccedb2c"
},
{
"file": "assets/services-CZ5pQbhW.js",
"status": 200,
"sha256": "23ee3e239b2b0b3aa977486aee55212babc601b7599e42943d3298d6f4affe43"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-D23Ij5K_.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"previous_release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"previous_release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"03c26d66139f36573cf58362a5076b4d5f98eca2"
],
"finished_at": "2026-10-24T21:42:30.119032+00:00"
},
"log_file": "1792878042157298229.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 27.76s",
"OK (59 tests, 317 assertions)",
"# tests 389",
"# pass 389",
"# fail 0"
],
"log_bytes": 141421
},
"rollback_executed": false
},
"base_VAT_separation": "Accepted perbranchQA reused:P106general providerestablishment,P107propertylocation,P108total/essential movablework,P109materialactivities,P110national/deemednational/mixedroute. AvisoBR89-I08/06/2017PDF1rectification6(5)c/d maintained. Territorial classification independentof exemption/base/rate/VAT/deductionfield11. Four installedruntime hashes/18compiledmarkers;88previousclosures preserved;no syntheticactivewrite.",
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-service-location.ts
+++ b/resources/js/lib/iva-service-location.ts
@@ -56,6 +56,7 @@
function key(draft:Record<string,unknown>,book:ServiceLocationBook):string{return JSON.stringify({version:serviceLocationVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows});}
export function serviceLocationCurrent(draft:Record<string,unknown>,book:ServiceLocationBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordServiceLocations(draft:Record<string,unknown>,book:ServiceLocationBook):ServiceLocationBook{
+ throw new Error('Novas classificações P106–P110 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ServiceLocationCalculation={version:serviceLocationVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:serviceLocationSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateServiceLocation(row))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveServiceLocationBook(draft,next);return next;
@@ -0,0 +1,311 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "fb7248661dce64def0b809479b2b30fbb099ea42",
"base_installed": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"coverage_complete_branches": {
"AUD-SIM-L1-P105": [
"goods_with_transport",
"goods_without_transport",
"goods_before_import"
]
},
"branch_count_complete": 1,
"treatment_count": 3,
"runtime_delta": [
{
"path": "resources/js/lib/iva-goods-location.ts",
"sha256_LF": "c187bbaf13d408461e787786dc8cc81504fef6ed60a848f62ebffe31cfa86e6d"
},
{
"path": "resources/js/components/simulation-goods-location.tsx",
"sha256_LF": "e4440c1315a1b1009d9b51ced99d7e6a2fc65a3ebac05d6b5bde1d41a796784f"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "ca7c2185d9fcf8ffc8374be4a99d3102c7e1326372859ac678603da90b3de913"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "c95bbd7e307ab2c7dcec42fc9d280709f0ecb7c9be174977ae571cc4447bf5b9"
}
],
"counts_before": {
"delivered": 87,
"QA": 1,
"functional_pending": 44,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 88,
"QA": 0,
"functional_pending": 44,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 88,
"QA": 0,
"functional_pending": 44,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g8a-qa-20261024.json"
],
"authorization": "Tempo explicitly deployfb724866 through existingGit,preserve concurrentchanges and check installeddelta only",
"scope": "2026,bens corpóreos;classificação territorial apenas,sem base,taxa,IVA,isenção,dedução/campo11,direitos ou totaisModeloA. Não abrange digitais/serviços por esta regra.",
"meaning": "Local dos bens no início transporte/expedição ou,sem transporte,quando postos à disposição;regra especial do importador/transmissões subsequentes antes da importação nacional. Fora do território não equivale a isenção ou IVA zero.",
"formula": "Classificação territorial pelos factos6(1)/(2),sem cálculo monetário.",
"preservation": "87prior closures and partialP084/P085 preserved;acceptedQA reused;fresh backup/real isolated restore;installed delta only",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085 parciais e pendentes;L1aberto;P00105/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"containment": "l1-g8a-readonly-rollback-20261024.patch,checked only,not applied;blocks newP105classifications,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"previous_release": "/var/www/investmoz-homologacao/releases/cd530b248bf9dee5a6e7f1e4d710346084a2421f-0b68e7a9",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"release_revision": {
"commit": "6f1cf7b7a09796b3964b39f0b1e778f978ae60fb",
"branch": "main",
"built_at": "2026-10-24T21:23:28.102878+00:00",
"manifest_sha256": "329dea28609b9850332b63a730576a539077489d9e085235be7f344c3428f39c"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g8a-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "8d776d1a8fe3383bf7a02b8539256ef5c9c12a8d9a07ef5e310ee70dd30de38d",
"files_sha256": "b90f41cd34fac9e2aea698e7d95eeb55893a6e1cca1c08e26d3f7ef00ca7aec3",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g8a_restore_20261024",
"port": 55441,
"source_dump_sha256": "8d776d1a8fe3383bf7a02b8539256ef5c9c12a8d9a07ef5e310ee70dd30de38d",
"active_database_writes": 0
}
},
"served_commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"previous_release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "b71bbd418f434e4cd252de9c8db2767f"
},
"after": {
"rows": 106,
"checksum": "430d9fb2707a97bf11f20da3f69721ae"
}
},
"sessions": {
"before": {
"rows": 81,
"checksum": "23894ba9a97f87ef8fade6cce1a1b6b9"
},
"after": {
"rows": 82,
"checksum": "f52ae0d14e4c0bd31543756d83305bb9"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"branch": "main",
"built_at": "2026-10-24T21:33:02.101616+00:00",
"manifest_sha256": "0a967a74dd5163728a082b24a62b22b9fae00a3ac428b5bcaa2082340c62ac00"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"goods-territoriality/1": [
"assets/project-dossier-l0g-w_hy.js"
],
"goods_with_transport": [
"assets/services-BYGK7w_P.js",
"assets/project-dossier-l0g-w_hy.js"
],
"goods_without_transport": [
"assets/project-dossier-l0g-w_hy.js"
],
"goods_before_import": [
"assets/services-BYGK7w_P.js",
"assets/project-dossier-l0g-w_hy.js"
],
"goodsLocations": [
"assets/project-dossier-l0g-w_hy.js"
],
"notBeforeImport": [
"assets/project-dossier-l0g-w_hy.js"
],
"transportToBuyer": [
"assets/project-dossier-l0g-w_hy.js"
],
"noTransport": [
"assets/project-dossier-l0g-w_hy.js"
],
"fromAbroad": [
"assets/project-dossier-l0g-w_hy.js"
],
"nationalImport": [
"assets/project-dossier-l0g-w_hy.js"
],
"importerChain": [
"assets/project-dossier-l0g-w_hy.js"
],
"beforeImport": [
"assets/project-dossier-l0g-w_hy.js"
],
"placeCountry": [
"assets/services-BYGK7w_P.js",
"assets/project-dossier-l0g-w_hy.js"
],
"placeRef": [
"assets/services-BYGK7w_P.js",
"assets/project-dossier-l0g-w_hy.js"
],
"chainRef": [
"assets/services-BYGK7w_P.js",
"assets/project-dossier-l0g-w_hy.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-l0g-w_hy.js"
]
},
"assets": [
{
"file": "assets/services-BYGK7w_P.js",
"status": 200,
"sha256": "8101fcf81fd55ca5de974667767336fe8199927e4107880c61c89ad4f1e4062d"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-l0g-w_hy.js",
"status": 200,
"sha256": "c00cf64236adbbc7a8467488e6519dba629861972cd8bff06db72b252837c16e"
},
{
"file": "assets/project-dossier-document-cHoELYnH.js",
"status": 200,
"sha256": "13303e6e5b3e96851a9f48d372ae4c763f755f97df4833293b92053094fd1934"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BF7zA-aZ.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"previous_release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "8f14f5dde24819fce062dc316ed21dfbe033ebf8",
"release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"previous_release": "/var/www/investmoz-homologacao/releases/6f1cf7b7a09796b3964b39f0b1e778f978ae60fb-e919f615",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"8f14f5dde24819fce062dc316ed21dfbe033ebf8"
],
"finished_at": "2026-10-24T21:33:05.003586+00:00"
},
"log_file": "1792877479675740742.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 26.44s",
"OK (59 tests, 317 assertions)",
"# tests 382",
"# pass 382",
"# fail 0"
],
"log_bytes": 140139
},
"rollback_executed": false
},
"base_VAT_separation": "AcceptedQA reused:P105goods territoriality6(1)/(2),three distinct owncondition paths;physical place/time for transport or availability,preimport importer/subsequentchain override with references/scope. Outside territory not exemption/zeroVAT;classification doesnotcalculatebase/rate/VAT/deductionfield11. Inputs/history/report and87priorclosures preserved;four installedruntime hashes and16compiled markers;no syntheticactivewrites.",
"activation": "Normal Git fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-goods-location.ts
+++ b/resources/js/lib/iva-goods-location.ts
@@ -51,6 +51,7 @@
function key(draft:Record<string,unknown>,book:GoodsLocationBook):string{return JSON.stringify({version:goodsLocationVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows});}
export function goodsLocationCurrent(draft:Record<string,unknown>,book:GoodsLocationBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordGoodsLocations(draft:Record<string,unknown>,book:GoodsLocationBook):GoodsLocationBook{
+ throw new Error('Novas classificações P105 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:GoodsLocationCalculation={version:goodsLocationVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:goodsLocationSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateGoodsLocation(row))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveGoodsLocationBook(draft,next);return next;
@@ -0,0 +1,402 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "4601bf64a03a02254cbf2e247374996cb36b6a49",
"base_installed": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"coverage_complete_branches": {
"AUD-SIM-L1-P111": [
"rights_service"
],
"AUD-SIM-L1-P112": [
"advertising_service"
],
"AUD-SIM-L1-P113": [
"telecom_service"
],
"AUD-SIM-L1-P114": [
"consulting_service"
],
"AUD-SIM-L1-P115": [
"data_service"
],
"AUD-SIM-L1-P116": [
"finance_service"
],
"AUD-SIM-L1-P117": [
"staff_service"
],
"AUD-SIM-L1-P118": [
"intermediation_service"
],
"AUD-SIM-L1-P119": [
"abstention_service"
],
"AUD-SIM-L1-P120": [
"movable_lease_service"
]
},
"branch_count_complete": 10,
"treatment_count": 10,
"runtime_delta": [
{
"path": "resources/js/lib/iva-listed-services.ts",
"sha256_LF": "fdc05407576a6c68f8158bc797331380c09e84282609a06ae2a7aa2966c54db6"
},
{
"path": "resources/js/components/simulation-listed-services.tsx",
"sha256_LF": "77badfa54c3bb6e25fe5153bb852cebc48262b64b4aabc9348a2b1838094917a"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "43446ed6a23b0e101d72ea50f73cdbae0242ace92af12d836a0955cc85800d82"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "fea39f530bf7786778dbdadbb6b08678f2a4071bcccc264e3d026155477517c8"
}
],
"counts_before": {
"delivered": 93,
"QA": 10,
"functional_pending": 29,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 103,
"QA": 0,
"functional_pending": 29,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 103,
"QA": 0,
"functional_pending": 29,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-g9-nondigital-qa-20261024.json"
],
"authorization": "Tempo explicitly requests one joint delivery of4601bf64,P111–P120,main compatibility/concurrent changes preserved,installeddelta only",
"scope": "2026,serviços enumerados não digitais;localização e identificação do responsável pelas obrigações. Sem isenção confirmada,base,taxa,IVA,montante a pagar,dedução/campo11 ou totaisModeloA. P121/P130digitais eP002transversal não fechados;outros6(4)/(5)encaminhados para percursos próprios. Não automatiza declaração,pagamento,retenção ou prazo digital32(1)c.",
"source": "CIVA2(1)a/b,2(2),6(3),6(7)a–j e6(8),Lei13/2016PDF6–8/p1426(264–266);23(1)/(2),25(4),26(1–3),PDF16–17. Lei22/2022não altera estes artigos. Lei10/2025PDF12mantém alíneasa–j ealtera6(7–9);PDF13art23(2)excluik e remete declaração33(2);PDF14mantém26(1–3),adita26(4)digital ealtera33(2).",
"meaning": {
"P111": {
"clause": "6(7)a",
"treatment": "rights_service",
"nature": "Cessão/autorização de direitos de autor,licenças,marcas e análogos"
},
"P112": {
"clause": "6(7)b",
"treatment": "advertising_service",
"nature": "Publicidade"
},
"P113": {
"clause": "6(7)c",
"treatment": "telecom_service",
"nature": "Telecomunicações"
},
"P114": {
"clause": "6(7)d",
"treatment": "consulting_service",
"nature": "Consultores,engenheiros,advogados,economistas,contabilistas/gabinetes de estudos,organização,investigação/desenvolvimento e similares"
},
"P115": {
"clause": "6(7)e",
"treatment": "data_service",
"nature": "Tratamento de dados/fornecimento de informações"
},
"P116": {
"clause": "6(7)f",
"treatment": "finance_service",
"nature": "Operações bancárias,financeiras,seguro/resseguro;eventual isenção independente"
},
"P117": {
"clause": "6(7)g",
"treatment": "staff_service",
"nature": "Colocação de pessoal"
},
"P118": {
"clause": "6(7)h",
"treatment": "intermediation_service",
"nature": "Intermediação em nome epor conta de outrem no fornecimento de serviço enumerado,subjacente identificado"
},
"P119": {
"clause": "6(7)i",
"treatment": "abstention_service",
"nature": "Obrigação de não exercer,mesmo parcialmente,actividade/direito enumerado,subjacente identificado"
},
"P120": {
"clause": "6(7)j",
"treatment": "movable_lease_service",
"nature": "Locação de bens móveis corpóreos,incluindo financeira,bens/contrato identificados"
}
},
"formula": "Territorial classification and responsible party only,no monetarycalculation. No righttodeduction prerequisite for6(7);nondigital23(2)excludedigital26(4)/32(1)c routing.",
"preservation": "93prior closures and partialP084/P085 preserved;accepted perbranchQA reused;one integration/backup/real isolatedrestore/check for whole set",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "P084/P085partial,pending;L1open;P00105/06;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-g9-nondigital-readonly-rollback-20261024.patch,checked only,not applied;blocks newP111–120classifications,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"previous_release": "/var/www/investmoz-homologacao/releases/8f14f5dde24819fce062dc316ed21dfbe033ebf8-6abb42c2",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"release_revision": {
"commit": "03c26d66139f36573cf58362a5076b4d5f98eca2",
"branch": "main",
"built_at": "2026-10-24T21:42:26.795541+00:00",
"manifest_sha256": "7deb424f38c7361d0a8df4d0be22464ab066a01e5aa38ece15fa62115c15f8c4"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g9-nondigital-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "8d783acaa134d37d4d5d7da2842f3a4a2ca159cab444b10b127fc1baf7113ac2",
"files_sha256": "195de1b12e33ce73510143f009a10cae42f622093e6049d36389e2849e3a117b",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g9_nondigital_restore_20261024",
"port": 55441,
"source_dump_sha256": "8d783acaa134d37d4d5d7da2842f3a4a2ca159cab444b10b127fc1baf7113ac2",
"active_database_writes": 0
}
},
"served_commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"previous_release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "38b2f9e034cc821c5c1b47b85fcf4cf2"
},
"after": {
"rows": 106,
"checksum": "fc22bd1093218afa1777652f5fffb28c"
}
},
"sessions": {
"before": {
"rows": 87,
"checksum": "104d8807ca3446d84e590d48138eb3bc"
},
"after": {
"rows": 90,
"checksum": "242150536cdc201c41ae0e40414c384d"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"branch": "main",
"built_at": "2026-10-24T21:51:55.419637+00:00",
"manifest_sha256": "a04bb2c3e527c027aa263827b37e1566b67b372c479904112cfef79de9bcf2fb"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"listed-nondigital-services/1": [
"assets/project-dossier-DBVXbPWM.js"
],
"rights_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"advertising_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"telecom_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"consulting_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"data_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"finance_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"staff_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"intermediation_service": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"abstention_service": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"movable_lease_service": [
"assets/project-dossier-DBVXbPWM.js"
],
"listedServices": [
"assets/project-dossier-DBVXbPWM.js"
],
"recipientType": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"recipientRef": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"targetClause": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"targetRef": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"providerTaxable": [
"assets/services-D1gOx3Gd.js",
"assets/project-dossier-DBVXbPWM.js"
],
"responsible": [
"assets/project-dossier-DBVXbPWM.js"
],
"obligationReason": [
"assets/project-dossier-DBVXbPWM.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-DBVXbPWM.js"
]
},
"assets": [
{
"file": "assets/services-D1gOx3Gd.js",
"status": 200,
"sha256": "76f46314d8d000351ccb43a22737352bd8455e6db4db3954dab0949fdc9f7176"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-DBVXbPWM.js",
"status": 200,
"sha256": "64051d89dabde0c3c23f22396a2d13a3b10413ca1bae4d9f80c65fff2d56ace6"
},
{
"file": "assets/project-dossier-document-CafLZ1EI.js",
"status": 200,
"sha256": "93c06e2dd413c6309f1d4af50c300924764589afe7ee57ff06e4b960043c2a5b"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-qriXxj5i.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"previous_release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "2a7254406db3aa6e8c71bfbaf56bbcda1f139d19",
"release": "/var/www/investmoz-homologacao/releases/2a7254406db3aa6e8c71bfbaf56bbcda1f139d19-ae306e0a",
"previous_release": "/var/www/investmoz-homologacao/releases/03c26d66139f36573cf58362a5076b4d5f98eca2-ac76aca8",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"2a7254406db3aa6e8c71bfbaf56bbcda1f139d19"
],
"finished_at": "2026-10-24T21:51:58.085449+00:00"
},
"log_file": "1792878609052376699.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 28.19s",
"OK (59 tests, 317 assertions)",
"# tests 401",
"# pass 401",
"# fail 0"
],
"log_bytes": 143948
},
"rollback_executed": false
},
"base_VAT_separation": "AcceptedQA reused for10branches/30examples:nondigital6(7)a–j inbound,6(8)outbound and6(3)domestic;acquirerquality2(1)a/b including exclusivelyexemptwithoutdeduction;responsible2(2)/23(2)/33(2)separatefromterritory/exemption/base/rate/VAT/deductionfield11. No digital26(4)/32(1)c automaticroute. Inputs/history/report and93priorclosures preserved;4installedruntimehashes/20compiledmarkers;no syntheticactivewrites.",
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-listed-services.ts
+++ b/resources/js/lib/iva-listed-services.ts
@@ -71,6 +71,7 @@
function key(draft:Record<string,unknown>,book:ListedServiceBook):string{return JSON.stringify({version:listedServiceVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows});}
export function listedServiceCurrent(draft:Record<string,unknown>,book:ListedServiceBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordListedServices(draft:Record<string,unknown>,book:ListedServiceBook):ListedServiceBook{
+ throw new Error('Novas classificações P111–P120 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:ListedServiceCalculation={version:listedServiceVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:listedServiceSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateListedService(row))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveListedServiceBook(draft,next);return next;
@@ -0,0 +1,346 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "cd259623aed6e8831091866de02d5e5db4ef1818",
"base_installed": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"coverage_complete_branches": {
"AUD-SIM-L1-P088": [
"permanent_private_goods",
"free_goods_transfer",
"exempt_sector_goods",
"fixed_asset_20a"
],
"AUD-SIM-L1-P124": [
"permanent_private_goods",
"free_goods_transfer",
"exempt_sector_goods",
"fixed_asset_20a"
]
},
"branch_count_complete": 2,
"treatment_count": 4,
"runtime_delta": [
{
"path": "resources/js/lib/iva-goods-allocation.ts",
"sha256_LF": "6646a2054ebd4e6731b60719d36ce922ed50f2e062e0f980190eb20ce8c23d20"
},
{
"path": "resources/js/components/simulation-goods-allocation.tsx",
"sha256_LF": "08c84f4b9af21e46cd9d5af6f6bee9e12c14b111438f1649a694a27f36d14180"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "1b27e8d3a6c79c6f8769bf5158ed8be45718f655b13cdf23b517bdb44c5a6951"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "c5de565ff7ded1fcf4d1f3a025694d3e2af4ff75e55266463758e8c1c5fcc314"
}
],
"counts_before": {
"delivered": 109,
"QA": 2,
"functional_pending": 21,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 111,
"QA": 0,
"functional_pending": 21,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 111,
"QA": 0,
"functional_pending": 21,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-goods-allocation-qa-20261025.json"
],
"authorization": "Tempo explicitly requests one joint delivery ofcd259623,P088/P124,main compatibility/concurrent changes preserved,installeddelta only",
"scope": "2026/MZN,quatro tratamentos partilhados entre dois requisitos sobre a mesma operação,registada uma vez. Distinto de uso temporário de bens como serviçoP089. Sem nova dedução/campo11,regularização,taxaIVA,IVA ou totaisModeloA;dedução anterior apenas facto histórico. Excepçãoamostras/ofertas fica fora deste percurso quando aplicável;desconhecido permanece indeterminado.",
"source": "CIVA3(3)e/f,Lei13/2016PDF6–7/p1426(264–265);15(2)b,PDF13/p1426(271);20(1)a,PDF15/p1426(273). Lei22/2022PDF3mantém15(2)b e20(1)a;Lei10/2025PDF12mantém3(3)e/f e não altera15/20.",
"meaning": {
"P124": "Classificação da afectação permanente de bens a uso próprio/particular/alheio,transmissão gratuita,afectação a sector isento ou aoactivo imobilizado de bens20(1)a. Exige dedução anterior total/parcial nos bens/elementos;em3e conferir excepção de amostras/ofertas depequeno valor,sem limiar inventado. Facto histórico de dedução,não nova dedução.",
"P088": "Base15(2)b:preço aquisição ou,na sua falta demonstrada,preço custo,reportados ao momento da operação. ClassificaçãoP124 pode estar identificada ebaseP088 indeterminada;sem custo por defeito para preço aquisição desconhecido."
},
"formula": "15(2)b:current acquisitionprice;only if absent,currentcost.No automaticvaluation/update/depreciation/deduction.",
"preservation": "109prior closures and partialP084/P085 preserved;accepted perbranchQA reused;one integration/backup/real isolatedrestore/check for whole set",
"partial_P084_P085": "Preparation/conditional simulation only,benefits pending;no closure",
"limits": "L1open;newdeduction/regularisationoutsideincrement;P00105/06;P121digital/P084/P085pending;beveragesL2/L3;Statistics/AIdeferred",
"containment": "l1-goods-allocation-readonly-rollback-20261025.patch,checked only,not applied;blocks newP096–099classifications,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"previous_release": "/var/www/investmoz-homologacao/releases/2fdca86367d8bad524113b4cf6c49a0110130be9-c65ebbad",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"release_revision": {
"commit": "63cc336787cade92fb7ee5b2b2d407308a0cf66b",
"branch": "main",
"built_at": "2026-10-24T22:09:58.694541+00:00",
"manifest_sha256": "40f4377487ec290e47d1bee92146172fa4e2a316fa4a072dcc82300fea3cc6c1"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-goods-allocation-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "a78973a94e05f58ab4cea4bebedca4603d7f68aa4a0d8a46b889d27751514e64",
"files_sha256": "9302d0e283a5ea2619de1fbe5853d4c2e563d455d7aafb7e88203eafc6ef85e1",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_goods_allocation_restore_20261024",
"port": 55441,
"source_dump_sha256": "a78973a94e05f58ab4cea4bebedca4603d7f68aa4a0d8a46b889d27751514e64",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"previous_release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "09d3d422c9a8be947a5b477dbee30bb4"
},
"after": {
"rows": 106,
"checksum": "898f63b7cbe166244f5a4ea6d0803cb2"
}
},
"sessions": {
"before": {
"rows": 96,
"checksum": "375984b4326c2b632b66fba47946b8c8"
},
"after": {
"rows": 97,
"checksum": "acfde110c5f28d239ee13f14da01e6b7"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"branch": "main",
"built_at": "2026-10-24T22:19:07.102372+00:00",
"manifest_sha256": "91a95647c3666b2dc9a322fbf7534e055c616872c791920d2cc004234c1b0d25"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"goods-allocation-base/1": [
"assets/project-dossier-Dnh3xPdC.js"
],
"permanent_private_goods": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"free_goods_transfer": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"exempt_sector_goods": [
"assets/project-dossier-Dnh3xPdC.js"
],
"fixed_asset_20a": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"regulatedGoodsAllocations": [
"assets/project-dossier-Dnh3xPdC.js"
],
"priorDeduction": [
"assets/project-dossier-Dnh3xPdC.js"
],
"deductionRef": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"acquisitionPrice": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"acquisitionRef": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"currentCost": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"costRef": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"valuationMode": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"valuationConfirmed": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"acquisitionUnavailable": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"valuationScope": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"valuationDate": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"asset20aRef": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"exceptionRef": [
"assets/services-B0mFnttq.js",
"assets/project-dossier-Dnh3xPdC.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-Dnh3xPdC.js"
]
},
"assets": [
{
"file": "assets/services-B0mFnttq.js",
"status": 200,
"sha256": "8e586f10c4efa6ad9805ed75ba0c21f68b1550d9a697959b5f51c966b40ace45"
},
{
"file": "assets/project-dossier-Dnh3xPdC.js",
"status": 200,
"sha256": "a02b40fbbafa16651af80f74b6d0486b8fb086b404151bcf1a25690252138d40"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-document-Cb9azkcP.js",
"status": 200,
"sha256": "08aa7a6c7f2b78ddfdd69b51c355f186b6811171bd702275bf76fe3369aa87d9"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-Cy6kCwzN.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"previous_release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"previous_release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"6c12aabb3ac7f8296025a2af0408390bfe292bdb"
],
"finished_at": "2026-10-24T22:19:10.041371+00:00"
},
"log_file": "1792880241239958545.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 26.70s",
"OK (59 tests, 317 assertions)",
"# tests 420",
"# pass 420",
"# fail 0"
],
"log_bytes": 148552
},
"rollback_executed": false
},
"base_VAT_separation": "AcceptedQA reused:P124assimilatedgoods classification3(3)e/f andP088base15(2)b,four sharedtreatments,one operationidentity. Prior total/partialdeduction is historicalfact ongoods/elements,not newdeduction/field11 orregularisation. Base=currentacquisitionprice;currentcostonlyin demonstratedabsence ofacquisitionprice. Unknownfallback retainsclassification withindeterminatebase;unknownhistoricaldeduction leavesclassificationindeterminate. No tax/IVA/regularisationcalculated. Fourinstalledruntimehashes/20compiledmarkers;109priorclosures preserved;no syntheticactivewrites.",
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-goods-allocation.ts
+++ b/resources/js/lib/iva-goods-allocation.ts
@@ -55,6 +55,7 @@
function key(draft:Record<string,unknown>,book:GoodsAllocationBook):string{return JSON.stringify({version:goodsAllocationVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function goodsAllocationCurrent(draft:Record<string,unknown>,book:GoodsAllocationBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordGoodsAllocations(draft:Record<string,unknown>,book:GoodsAllocationBook):GoodsAllocationBook{
+ throw new Error('Novas classificações P088/P124 temporariamente suspensas; dados, histórico, relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:GoodsAllocationCalculation={version:goodsAllocationVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:goodsAllocationSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateGoodsAllocation(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveGoodsAllocationBook(draft,next);return next;
@@ -0,0 +1,338 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "a5b1ae66576f927a31d7917527fd8354e7c604eb",
"base_installed": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"coverage_complete_branches": {
"AUD-SIM-L1-P123": [
"consignment_180"
],
"AUD-SIM-L1-P126": [
"missing_goods",
"excess_consumption",
"found_goods"
]
},
"branch_count_complete": 2,
"treatment_count": 4,
"QA_example_count": 4,
"runtime_delta": [
{
"path": "resources/js/lib/iva-goods-presumptions.ts",
"sha256_LF": "16047a0a2e7c052a42e83e3983dab7465a2ae5f1d66966896220f27625ab6f17"
},
{
"path": "resources/js/components/simulation-goods-presumptions.tsx",
"sha256_LF": "1dcb1d5a057d3b7a3a33beb36a912b90ea258cbc00d74a8140512b82b9b5a589"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "ec9b9ea5fa3f044fd76bf30cac2ee54304a58d502888bf28c705e189f4135d4c"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "2c8eb800c1366614521e33930e49b66c4c9efa4a48c90a784bd4d1bf80b06c7a"
}
],
"counts_before": {
"delivered": 114,
"QA": 2,
"functional_pending": 16,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 116,
"QA": 0,
"functional_pending": 16,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 116,
"QA": 0,
"functional_pending": 16,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-goods-presumptions-qa-20261025.json"
],
"authorization": "Tempo explicitly requests one joint delivery ofa5b1ae66,P123/P126,preserving concurrent changes and installeddelta only",
"scope": "2026,data de conferência/âmbito identificados;classificação da operação,prazo e presunções,não base/exigibilidade/taxa/IVA,nova dedução/regularização/campo11 ou totaisModeloA.P123 não são embalagensP102;P126 não comprova aquisição efectiva/factura ou elegibilidade para margemP092/P093/P125.Devoluções parciais separadas por conjunto;devolução posterior não apaga histórico.",
"source": "CIVA Lei13/2016,3(3)d,PDF6/p1426(264);3(4),PDF7/p1426(265),páginas digitalizadas visualmente conferidas.Lei22/2022 não altera3;Lei10/2025 PDF12 mantém3(3)d/3(4).Rectificação2017 não altera estas disposições. Acervo completo seisPDF inventariado e hashes conferidos.",
"meaning": {
"P123": "Mercadorias enviadas à consignação não devolvidas em180dias da entrega ao destinatário,3(3)d. Data de entrega/destinatário,conjunto não devolvido e data de conferência identificados;prazo de180dias calculado. No dia180 o prazo ainda decorre;após o prazo,a transmissão é identificada neste recorte,sem calcular exigibilidade/base/IVA.",
"P126": "Presunções ilidíveis3(4):transmissão de bens adquiridos/importados/produzidos não localizados nos estabelecimentos,ou consumo excessivo face ao volume de produção;e aquisição dos bens encontrados nesses locais. Levantamento,estabelecimentos,conjunto/período e prova em contrário separados. Desconhecido indeterminado;prova identificada afasta presunção apenas no âmbito declarado,sem concessão de isenção."
},
"classification_and_proof": "P123:goods sent onconsignment,notreturnedin180days;correctdesignation preservedininterface,matrix,reports.P102packaging preserved.P126:explicitcontraryproof andscope;rebuttablepresumption,unknownindeterminate;noautomaticVAT/deduction/margin.",
"preservation": "114priorclosures andpartialP084/P085 preserved;acceptedperbranchQA reused;one integration/backup/realisolatedrestore/check forwhole set",
"partial_P084_P085": "Preparation/conditional simulation only;benefits pending;no closure",
"limits": "L1aberto;P00105/06;P121digital/P084/P085pendentes;bebidasL2/L3;Estatísticas/IAadiadas",
"containment": "l1-goods-presumptions-readonly-rollback-20261025.patch,checked only,not applied;blocks newP123/P126calculations,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"previous_release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"release_revision": {
"commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"branch": "main",
"built_at": "2026-10-24T22:32:38.963919+00:00",
"manifest_sha256": "ee5b4b3aa24f1b2fabf6ee212c03211e085b05dab858693f80907b23569c0aab"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-goods-presumptions-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "9c0a4e214cd739e912230df4d43e14d2b182e2db85637b019f9dfcabc77c450c",
"files_sha256": "e6815f2a443beecdb9d3b61e2dbaec1ca9c53f394d07bc70c43021e1e20f9d11",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_goods_presumptions_restore_20261024",
"port": 55441,
"source_dump_sha256": "9c0a4e214cd739e912230df4d43e14d2b182e2db85637b019f9dfcabc77c450c",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"previous_release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "c0dd6744e2e177d6ba7e2ce937894302"
},
"after": {
"rows": 106,
"checksum": "3d56647108ef2943f9d8b801af02f1dd"
}
},
"sessions": {
"before": {
"rows": 102,
"checksum": "ea75de10c3067fe1f66919c87593fe6c"
},
"after": {
"rows": 103,
"checksum": "3cec3acac334a5eaf8c86d829b0f6184"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"branch": "main",
"built_at": "2026-10-24T22:42:39.117961+00:00",
"manifest_sha256": "eeab5319e220e8017f0f06e4b4ba2572ccadb5be465cde82d696ac0e64f5ae0c"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"goods-presumptions/1": [
"assets/project-dossier-C1yuxPwe.js"
],
"consignment_180": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"missing_goods": [
"assets/project-dossier-C1yuxPwe.js"
],
"excess_consumption": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"found_goods": [
"assets/project-dossier-C1yuxPwe.js"
],
"goodsPresumptions": [
"assets/project-dossier-C1yuxPwe.js"
],
"deliveryDate": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"recipientRef": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"inventoryRef": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"productionRef": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"quantityUnit": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"contraryProof": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"contraryProofRef": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
],
"consignment_transmission": [
"assets/project-dossier-C1yuxPwe.js"
],
"presumed_transmission": [
"assets/project-dossier-C1yuxPwe.js"
],
"presumed_acquisition": [
"assets/project-dossier-C1yuxPwe.js"
],
"rebutted": [
"assets/project-dossier-C1yuxPwe.js"
],
"elapsedDays": [
"assets/project-dossier-C1yuxPwe.js"
],
"deadline": [
"assets/simulation-form-CPZAFZU3.js",
"assets/project-dossier-C1yuxPwe.js"
],
"180dias": [
"assets/services-Bubf7sMl.js",
"assets/project-dossier-C1yuxPwe.js"
]
},
"assets": [
{
"file": "assets/services-Bubf7sMl.js",
"status": 200,
"sha256": "b45e8a98b6e272c55994e077d1e1f8f825e7687032c46fe83a35aee5fb46639c"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-C1yuxPwe.js",
"status": 200,
"sha256": "0b35ced2415682b77495d9e18c4d4afa23c5e7271957627f3eea4fca6cc8b6bd"
},
{
"file": "assets/project-dossier-document-gMRsyT4a.js",
"status": 200,
"sha256": "7259c42829b749e13e512785606cd5704880e1f4d36b08275f10eb7f8a08f570"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BQiJKvuL.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"previous_release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"previous_release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"ce9d649fbf631b584cb521ce120c98a4cb459c13"
],
"finished_at": "2026-10-24T22:42:42.292072+00:00"
},
"log_file": "1792881650040306932.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 28.09s",
"OK (59 tests, 317 assertions)",
"# tests 438",
"# pass 438",
"# fail 0"
],
"log_bytes": 152174
},
"rollback_executed": false
},
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-goods-presumptions.ts
+++ b/resources/js/lib/iva-goods-presumptions.ts
@@ -47,6 +47,7 @@
function key(draft:Record<string,unknown>,book:GoodsPresumptionBook):string{return JSON.stringify({version:goodsPresumptionVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows});}
export function goodsPresumptionCurrent(draft:Record<string,unknown>,book:GoodsPresumptionBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordGoodsPresumptions(draft:Record<string,unknown>,book:GoodsPresumptionBook):GoodsPresumptionBook{
+ throw new Error('Novos cálculos P123/P126 temporariamente suspensos;dados,histórico,relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:GoodsPresumptionCalculation={version:goodsPresumptionVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:goodsPresumptionSource,inputs:structuredClone(book.rows),rows:book.rows.map(evaluateGoodsPresumption)};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveGoodsPresumptionBook(draft,next);return next;
@@ -0,0 +1,490 @@
{
"status": "installed_P046_P059_demonstrated_RSA_scope_L1_open",
"candidate": "2b130a66ec9c3f9de427e6dec3e124321d027b99",
"accepted_candidates": [
"34bbcfa7",
"2b130a66"
],
"base_installed": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"coverage_complete_branches": {
"AUD-SIM-L1-P046": "Um ramoP046,28correspondências expressas;enumeração legal exemplificativa. Isenção naimportação distinta de venda,base aduaneira,direitos e dedução. Sem fecho integralL1.",
"AUD-SIM-L1-P059": "Mineiros moçambicanos em serviço naRSA,no âmbito2026/MZN demonstrado:8percursos e transmissão aherdeiro;redução50%só no veículo separado6(4),com condições próprias."
},
"branch_count_complete": 2,
"coverage_label": "P046 importação definitiva com isenção objectiva interna;P059 limitado ao regimeRSA demonstrado,sem generalização da redução ou concessão automática.",
"treatments": {
"P046": 28,
"P059": 8,
"P059_examples": 9
},
"runtime_delta": [
{
"path": "resources/js/lib/iva-objective-imports.ts",
"sha256_LF": "859e51700fffa8990b849f0763059e577b3d71fcf3e6c7294f39c944baee8181"
},
{
"path": "resources/js/components/simulation-objective-imports.tsx",
"sha256_LF": "b9b07a39f60cdea7e19dda7cac8fc7ad87cafb0972c09a7c747dbaddc7578e39"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "25b9ec77328c57ae787388d6222eb6e4df3e15e44be6b61bce90fc389931e024"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "d4dec167e09b7be9477e806d28a3490b620650909859c13da53109747c93cb09"
},
{
"path": "resources/js/lib/iva-miners.ts",
"sha256_LF": "96cade3d3b85dde4e098a802825d52b3abfbde66722f83348fc0f1ca0216138f"
},
{
"path": "resources/js/components/simulation-miners.tsx",
"sha256_LF": "40abf151b369b4dae599ca768fe8849466ce0a7122ef62c18e3b4179c095e90b"
}
],
"documentary_delta": [
{
"path": "docs/investmoz/simulations/source-archive/Lei-2-2011-BR-1-4-suplemento-MCNet.pdf",
"sha256": "a7543a68cc3287a46a83c39a04821b40f649dd06c4e9b5dc51ff0b47fba08899",
"state": "original archived in Git;not imported or publicly published by deployment"
},
{
"path": "docs/investmoz/simulations/source-archive/Decreto-3-2011-BR-11-I-mineiros.pdf",
"sha256": "5bca1133666ba9c69870b89823420175b7b5b8d0eccb667ecdf5c29716f3b6be",
"state": "original archived in Git;not imported or publicly published by deployment"
}
],
"compiled_delta_markers_expected": [
"objective-imports/1",
"miner-imports/1",
"objectiveImports",
"minerImports",
"internalApplicable",
"sameGoods",
"accumulationStart",
"accumulationMonths",
"periodTotal",
"quotaRef",
"previousBenefitDate",
"deadlineExtension",
"stayException",
"rightHolder",
"separate_vehicle",
"return_vehicle",
"noAlcoholTobacco",
"Regime Aduaneiro Aplicável aos Mineiros na República da África do Sul",
"arts1–4PDF1",
"50% das imposições",
"15.000MZN por mês",
"sem concessão administrativa automática",
"Continuidade do trabalho fiscal:",
"sem calcular IVA devido ou dedução",
"não ficam concluídas por esta entrega",
"Cobertura digital deste incremento:",
"Não representa cobertura digital integral"
],
"counts_before": {
"delivered": 125,
"QA": 2,
"functional_pending": 5,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 127,
"QA": 0,
"functional_pending": 5,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 127,
"QA": 0,
"functional_pending": 5,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-objective-imports-qa-20261025.json",
"iva-l1-miners-qa-20261025.json"
],
"authorization": "Tempo pede entrega conjuntaP046/P059 pelo processoGit existente,preservando alterações concorrentes e conferindo apenas delta instalado;âmbito territorialRSA e condições da redução explícitos.",
"preservation": "125fechos,livros/dados,acessos,relações,originais e históricos preservados;P084/P085/P104parciais e formalidades digitais/limites de viagens mantidos.",
"limitations_balance": {
"scope": "P059 demonstrado para mineiros moçambicanos naRSA,2026/MZN;outros países/fundamentos não são declarados automaticamente isentos nem excluídos de todo o CIVA.",
"monthly_limit": "Cobertura dos exemplares:15.000MZN/mês;valores superiores permanecem indeterminados,não se presume revisão do limite pelo Governo2(5),nem benefício parcial sobre o excesso.",
"customs": "Classificação segundo factos declarados/pressupostos expressos;portal não concede autorização,não emite DU,licença ou despacho,não calcula direitos/base aduaneira/ICE,sem dedução/campo11 ou lançamento automático no ModeloA.",
"temporary": "Licença temporária em férias5 não vira isenção definitiva;encaminhamento para o regime aduaneiro existente,com condições próprias.",
"internal_acquisition": "6(4)também refere aquisição no mercado interno;este incremento aplica apenas IVA informado da importação associada identificada,não calcula IVA da venda interna nem restitui imposições.",
"KAWENA": "OS07/AT/DGA/411.1/2019 permanece procedimento específico;contramarca/SAD500/armazém e outras exigências suas não foram impostas às outras vias.",
"digital": "Formalidades digitais P121/P130 ainda não automatizadas permanecem visíveis;sem cobertura digital integral.",
"travel": "P129/P133 preservados no âmbito margem/eventos,sem IVA devido,dedução42/43d,regularização44,facturação45/modelo46(2);ligação AUD-SIM-INT02 mantida.",
"others": "P084/P085 apenas preparação e simulação condicionada;P104 conversão condicionada;P00105/06;bebidasL2/L3;Estatísticas/IAadiadas;L1aberto."
},
"P046_limits": {
"digital": "P121/P130 formalidades regulamentares,modelos eprocedimentos deentrega/pagamento ainda nãoautomatizados;sem cobertura digital integral",
"travel": "P129/P133 âmbito margem/eventos;sem IVAdevido,dedução42/43d,regularização44,factura45oumodelooficial46(2);ligaçãoAUD-SIM-INT02",
"P104": "Conversão condicionada;sem taxa/data fiscal confirmadas",
"P084_P085": "Preparação/simulação condicionada;sembenefício oufecho",
"P001": "Apenas05/06",
"scope": "L1aberto;bebidasL2/L3;Estatísticas/IAadiadas"
},
"source_reference_correction": [
{
"diploma": "Lei n.º 2/2011, de 11 de Janeiro",
"title": "Regime Aduaneiro Aplicável aos Mineiros na República da África do Sul",
"issue": "BR n.º 1, I Série, 4.º suplemento, 11/01/2011",
"file": "docs\\investmoz\\simulations\\source-archive\\Lei-2-2011-BR-1-4-suplemento-MCNet.pdf",
"sha256": "a7543a68cc3287a46a83c39a04821b40f649dd06c4e9b5dc51ff0b47fba08899",
"url_working_copy": "https://tr-jue.mcnet.co.mz/mcnet/portal/faq/category/149/faqsdoclink",
"previous_url": "https://www.pgr.gov.mz/index.php/por/content/download/5617/40390/version/1/file/Lei%2Bdo%2BVoluntariado.pdf",
"previous_url_access": "PGR DNS unavailable to local download in this round;does not invalidate accepted official content. MCNet original obtained and rendered. No claim of byte equality with an unavailable PGR download.",
"articles": [
{
"articles": "1;2(1)(a–d);2(2–5);3;4",
"pdf_page": 1,
"printed_page": "not printed on this opening page",
"meaning": "Scope,goods,quotas,non-alienation,return,heirs,possible limit revision,alcohol/tobacco exclusion,regulation"
},
{
"articles": "5",
"pdf_page": 2,
"printed_page": "110-(8)",
"meaning": "Entry into force01/01/2011"
}
],
"other_acts": "Full original has10pages and also contains Lei7/2011(Legal Regime of Volunteering). Neither original filename nor that other act is the authority for P059."
},
{
"diploma": "Decreto n.º 3/2011, de 16 de Março",
"title": "Regulamento do Regime Aduaneiro Aplicável aos Mineiros Moçambicanos em Serviço na República da África do Sul",
"issue": "BR n.º11,I Série,16/03/2011",
"file": "docs\\investmoz\\simulations\\source-archive\\Decreto-3-2011-BR-11-I-mineiros.pdf",
"sha256": "5bca1133666ba9c69870b89823420175b7b5b8d0eccb667ecdf5c29716f3b6be",
"articles": [
{
"articles": "1(definitions),2(scope),3(benefits),4(beginning)",
"pdf_page": 2,
"printed_page": "152"
},
{
"articles": "4(continuation),5(temporary licence),6(return),7(heirs),8(procedural moment)",
"pdf_page": 3,
"printed_page": "153"
}
]
},
{
"diploma": "CIVA republicado pela Lei13/2016",
"article": "12(2),alínea b);proportionality in opening sentence12(2)",
"file": "docs/investmoz/simulations/source-archive/Lei-13-2016-CIVA-BR-156-10-suplemento.pdf",
"pdf_page": 11,
"printed_page": "1426-(269)",
"subsequent_cotejo": "Lei22/2022PDF2–3 andLei10/2025PDF13 maintain12(2) by reference;no new expanded text in these changes."
}
],
"remaining_ids": [
"P047",
"P058",
"P084",
"P085",
"P104",
"P001"
],
"P104_closure": false,
"P084_P085_closure": false,
"containment": "l1-objective-miners-readonly-rollback-20261025.patch,conferida sem aplicar;apenas suspende novas versõesP046/P059,conservando leitores,históricos eoutros ramos.",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"previous_release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"release_revision": {
"commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"branch": "main",
"built_at": "2026-10-24T23:50:30.605375+00:00",
"manifest_sha256": "a20890098748b87f8920ab98577acd584ea1ad7e839f745fd23858666c35642a"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-objective-miners-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "3d5a5a9095dbf1979b7c4eb73f409c3fec67f8fcaed81b6343ef2c319bbde929",
"files_sha256": "c570de0b8308cd5fab616977a358a3459e7967460c3e1ccb808a96f1a0780971",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_objective_miners_restore_20261025",
"port": 55441,
"source_dump_sha256": "3d5a5a9095dbf1979b7c4eb73f409c3fec67f8fcaed81b6343ef2c319bbde929",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"previous_release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 6,
"documentary_files_verified": 2,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "f4020894854937bb59588270290d5ca2"
},
"after": {
"rows": 106,
"checksum": "ab691e51bcc3102b2253a587f4fb1bb2"
}
},
"sessions": {
"before": {
"rows": 120,
"checksum": "7668b80137db2d370aacb82c6909fbe6"
},
"after": {
"rows": 121,
"checksum": "6743f08790bb9302da48ffc0b8fb7943"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"branch": "main",
"built_at": "2026-10-25T08:24:49.843479+00:00",
"manifest_sha256": "4aa78f9db6db6dcf31222b9bff45f5dfbaa0dc071225fcc3de4f0f02f0d03cd8"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"objective-imports/1": [
"assets/project-dossier-DpZZLWgt.js"
],
"miner-imports/1": [
"assets/project-dossier-DpZZLWgt.js"
],
"objectiveImports": [
"assets/project-dossier-DpZZLWgt.js"
],
"minerImports": [
"assets/project-dossier-DpZZLWgt.js"
],
"internalApplicable": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"sameGoods": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"accumulationStart": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"accumulationMonths": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"periodTotal": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"quotaRef": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"previousBenefitDate": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"deadlineExtension": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"stayException": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"rightHolder": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"separate_vehicle": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"return_vehicle": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"noAlcoholTobacco": [
"assets/project-dossier-DpZZLWgt.js"
],
"Regime Aduaneiro Aplicável aos Mineiros na República da África do Sul": [
"assets/project-dossier-DpZZLWgt.js"
],
"arts1–4PDF1": [
"assets/project-dossier-DpZZLWgt.js"
],
"50% das imposições": [
"assets/project-dossier-DpZZLWgt.js"
],
"15.000MZN por mês": [
"assets/project-dossier-DpZZLWgt.js",
"assets/services-CKT8kwNs.js"
],
"sem concessão administrativa automática": [
"assets/project-dossier-DpZZLWgt.js"
],
"Continuidade do trabalho fiscal:": [
"assets/services-CKT8kwNs.js"
],
"sem calcular IVA devido ou dedução": [
"assets/services-CKT8kwNs.js"
],
"não ficam concluídas por esta entrega": [
"assets/services-CKT8kwNs.js"
],
"Cobertura digital deste incremento:": [
"assets/services-CKT8kwNs.js"
],
"Não representa cobertura digital integral": [
"assets/services-CKT8kwNs.js"
]
},
"assets": [
{
"file": "assets/project-dossier-DpZZLWgt.js",
"status": 200,
"sha256": "bd492385b73cdaa4b31ba4ed8a1f3835aec28fd3eacff625950de485eb0cf013"
},
{
"file": "assets/services-CKT8kwNs.js",
"status": 200,
"sha256": "18cc9b29024226d88121c524651947206534856a457f12adc5dbc3a0f024b483"
},
{
"file": "assets/project-dossier-document-CD793Irv.js",
"status": 200,
"sha256": "52576d773c360326de354469292dc7c9fc0521207f72d210c21e7063061fb427"
},
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-B0s1g2CR.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"previous_release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"previous_release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"a665ee9c974adb48706027e66fdd71b773d7358c"
],
"finished_at": "2026-10-25T08:24:52.683786+00:00"
},
"log_file": "1792916570143696019.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 29.34s",
"OK (59 tests, 317 assertions)",
"# tests 597",
"# pass 597",
"# fail 0"
],
"log_bytes": 185197
},
"rollback_executed": false
},
"activation": "One joint Git fast-forward/webhook/installer;zero migrations/imports;accepted QA proofs reused;installed delta only",
"deduction_calculation": false,
"automatic_customs_concession": false
}
@@ -0,0 +1,20 @@
--- a/resources/js/lib/iva-objective-imports.ts
+++ b/resources/js/lib/iva-objective-imports.ts
@@ -38,5 +38,5 @@
}
function key(draft:Record<string,unknown>,book:ObjectiveImportBook):string{return JSON.stringify({version:objectiveImportVersion,catalog:objectiveImportTreatments,scope:acquisitionScope(draft),currency:draft.currency,location:draft.selection_labels??{},rows:book.rows});}
export function objectiveImportCurrent(draft:Record<string,unknown>,book:ObjectiveImportBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
-export function recordObjectiveImports(draft:Record<string,unknown>,book:ObjectiveImportBook):ObjectiveImportBook{if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique linhas com identidades distintas;originais conservados.');const result:ObjectiveImportCalculation={version:objectiveImportVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:objectiveImportSource,inputs:structuredClone(book.rows),rows:book.rows.map(r=>evaluateObjectiveImport(r,draft.currency))};const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveObjectiveImportBook(draft,next);return next;}
+export function recordObjectiveImports(draft:Record<string,unknown>,book:ObjectiveImportBook):ObjectiveImportBook{throw new Error('Novas versões P046 temporariamente suspensas; dados, histórico e relatórios conservados.');if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique linhas com identidades distintas;originais conservados.');const result:ObjectiveImportCalculation={version:objectiveImportVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:objectiveImportSource,inputs:structuredClone(book.rows),rows:book.rows.map(r=>evaluateObjectiveImport(r,draft.currency))};const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveObjectiveImportBook(draft,next);return next;}
export function objectiveImportReportRows(draft:Record<string,unknown>):Array<[string,string,string,string]>{try{const b=objectiveImportBook(draft),r=b.result;if(!r)return[];return r.inputs.map((row,i)=>['IVA mensal',`P046 — ${row.period} — ${row.id}`,`${row.description};${r.rows[i].reason};IVA importação:${r.rows[i].importVat??'Indeterminado'};dedução:Não apurada`,`${r.opportunity};${objectiveImportCurrent(draft,b)?'Resultado actual':'Entradas alteradas;resultado histórico conservado'};versão${r.revision};${r.calculatedAt};${row.origin};importador${row.importer};documento${row.documentRef},${row.documentDate};âmbito${row.scope};factos${row.evidence};reutilização${row.reusedFrom||'Introdução directa'};correspondência${row.reference.treatment};condições internas confirmadas${row.reference.confirmed.join(',')}${row.reference.treatment==='annexI_goods'?`;AnexoI${row.reference.annexIItem??''},apenasAnexoI${String(row.reference.annexIOnly??'Por esclarecer')}`:row.reference.treatment==='pharma_manufacturing_inputs'?`;AnexoIII${row.reference.pharmaAnnexItem??''}`:''};${r.rows[i].source};sem alteração dos livros internos,ModeloA,campo11 ou totais.`]);}catch{return[['IVA mensal','P046','Dados não recuperáveis','Originais preservados;sem classificação por defeito.']];}}
--- a/resources/js/lib/iva-miners.ts
+++ b/resources/js/lib/iva-miners.ts
@@ -77,7 +77,7 @@
}
function key(draft:Record<string,unknown>,b:MinerBook):string{return JSON.stringify({version:minerVersion,scope:acquisitionScope(draft),currency:draft.currency,location:draft.selection_labels??{},rows:b.rows});}
export function minerCurrent(draft:Record<string,unknown>,b:MinerBook):boolean{return!!b.result&&b.result.sourceKey===key(draft,b);}
-export function recordMiners(draft:Record<string,unknown>,book:MinerBook):MinerBook{
+export function recordMiners(draft:Record<string,unknown>,book:MinerBook):MinerBook{throw new Error('Novas versões P059 temporariamente suspensas; dados, histórico e relatórios conservados.');
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Identifique linhas distintas;originais preservados.');
const rows=book.rows.map(r=>evaluateMiner(r,draft.currency));
// Declarative quotas cover external operations too; detect contradictions inside this saved scope.
@@ -0,0 +1,386 @@
{
"status": "installed_P047_demonstrated_scope_partial_P058_L1_open",
"candidate": "6e1dc4104c4705908f88d3be64d8ef312c32d956",
"accepted_candidates": [
"6e1dc410"
],
"partial_candidate_preserved": "4f28fac5",
"base_installed": "e38aa74920412e545213b35b7585c847a0b8a969",
"coverage_complete_branches": {
"AUD-SIM-L1-P047": "Quatro famílias deCIVA12(1)b no âmbito demonstrado:partidos,mecenato,veículos diplomáticos/consulares eIPP;isenção de direitos demonstrada ou pressuposto expresso;pedido,redução e taxa0% distintos;sem concessão aduaneira automática."
},
"branch_count_complete": 1,
"coverage_partial_branches": {
"AUD-SIM-L1-P058": "Quatro percursos de bagagem:funcionário civil,militar,estudante/bolseiro e regresso antecipado por serviço doEstado;acompanhada/não acompanhada. Cobertura parcial,semfecho;57(2)b,propriedade exactamente180dias e delimitação63(2) continuam pendentes. Veículos anteriores preservados."
},
"coverage_label": "SóP047 conta como novo ramo entregue. P058 permanece pendente com avanço parcial explícito na interface e manifesto. Pressuposto de simulação não equivale a isenção concedida.",
"runtime_delta": [
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "bc1e0ef295b3b9de567126c8d414f990d05530ce4e39f48eb82189fe76da9c8c"
},
{
"path": "resources/js/components/simulation-remission-imports.tsx",
"sha256_LF": "af315ef59fcd152660fff5953d5ebcbbc67df6760723eb8ec7827cfd98d4e302"
},
{
"path": "resources/js/components/simulation-returnee-baggage-fields.tsx",
"sha256_LF": "a1d98f191c18334ce3125bffa5f18c2b30099406768768d5421873eede1c820a"
},
{
"path": "resources/js/components/simulation-returnees.tsx",
"sha256_LF": "c3fc9c14f5a8f0e992b8832ffbd3e936e057896d1c5ad60a7958c9ffc5d0dabc"
},
{
"path": "resources/js/lib/iva-remission-catalog.ts",
"sha256_LF": "9207aff882eaee7cca30f41e6521c5b28c8a9f5ca76a10ff90accc8b0320eab6"
},
{
"path": "resources/js/lib/iva-remission-imports.ts",
"sha256_LF": "f70b829d9873ada22391c839b8b030435cd56ccb8433310a2d26430c97657d30"
},
{
"path": "resources/js/lib/iva-returnee-baggage.ts",
"sha256_LF": "7af40b71a8e3e3e3ad0327529b549df715bda1eaec739de2e5c5eb06e6973409"
},
{
"path": "resources/js/lib/iva-returnees.ts",
"sha256_LF": "4e203d62fe3a758b0dfdfaf27988e84fd64dc1915f970e63141f1cd3506eccab"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "093ebb47f98fb132a370d54b3f93610e300cc4e4394bf390cb7867753c271736"
}
],
"documentary_delta": [
{
"path": "docs/investmoz/simulations/source-archive/Lei-7-1991-Partidos-IFES.pdf",
"sha256": "6b783a0bb3330688ef10660a58060d9724aa2da6a873d234fe902f0eaaeda42d",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Lei-14-1992-BR42.pdf",
"sha256": "089fff7423e99a70a230a73ca379e4ea3a91d124703f91016e57ff82794b9e56",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Lei-4-1994-BR37-3-suplemento.pdf",
"sha256": "210df9db8980d0a5690cd187a6eeec7e37a900d743e39062c16f4e0d12215c7e",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Decreto-22-2021-BR70.pdf",
"sha256": "a8fac38dcfe08f9c7a8e46254cff10e1ec82fc4f7a8d88ad6e4fe7d91ffc21a5",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Decreto-29-1998-BR22-5-suplemento.pdf",
"sha256": "6242cbe675faadf085f43f95ec8c7e8868aafe67c3b2ab2bb010992288f954f8",
"state": "original archived;no automatic import,publication or fiscal activation"
}
],
"compiled_delta_markers_expected": [
"remissionImports",
"early_state_baggage",
"missionPlannedEnd",
"baggageRoute",
"Conferir quatro famílias e guardar versão",
"Regresso definitivo — veículos e bagagem (P058, cobertura parcial)",
"Aplicação legal directa; não é criada aprovação adicional",
"Cenário condicionado aos pressupostos expressos; não benefício concedido.",
"31/07/2026",
"fxSelection",
"formDecisionHash",
"sem calcular IVA devido ou dedução",
"Não representa cobertura digital integral"
],
"counts_before": {
"delivered": 128,
"QA": 1,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 129,
"QA": 0,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 129,
"QA": 0,
"functional_pending": 3,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-p047-families-qa-20261025.json",
"iva-l1-residuals-baggage-qa-20261025.json"
],
"authorization": "Tempo25/10 pede entrega agrupadaP047candidata6e1dc410 e avanço parcialP058;preservar concorrência e conferir só delta instalado.",
"preservation": "128fechos,dados,configuração,permissões,originais,relações e históricos conservados;inventário na matriz/manual existentes;provasQA aceites reutilizadas.",
"limitations_balance": [
"Classifica IVA por remissão apenas com isenção de direitos demonstrada ou pressuposto expresso; não concede benefício aduaneiro.",
"Não automatiza classificação pautal nem todos os procedimentos de cada regime referido. Condições específicas ausentes permanecem indeterminadas.",
"Pedido apresentado não concede;deferimento previsto é apenas cenário condicionado.",
"Sem direitos,ICE,base aduaneira,dedução/campo11,alienação ou soma aos livros anteriores.",
"P058 quatro percursosQA4f28fac5 preservados;três questões residuais permanecem abertas.",
"P084/P085 procedimentoTempo entregue preservado;falta somente correspondência específica de formulário/instrução e mapeamento.",
"P001 limitado05/06 da edição recebida;sem renumeração a partir de outros modelos.",
"Formalidades digitais não automatizadas e cálculo fiscal restante de ramos com âmbito limitado conservados;L1aberto."
],
"remaining_ids": [
"P058",
"P084",
"P085",
"P001"
],
"P058_closure": false,
"P084_P085_procedure": "Already delivered Tempo workflow preserved;not reopened;no additional approvals.",
"P001": "Only05/06 received edition",
"L1": "open",
"containment": "l1-p047-baggage-readonly-rollback-20261025.patch checked without applying;P047/newbaggage evaluation suspended on demand;readers/history,priorvehiclepaths and previous release retained",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"previous_release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"release_revision": {
"commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"branch": "main",
"built_at": "2026-10-25T09:07:12.105014+00:00",
"manifest_sha256": "9e01cbb05e4cc752f81a698bc88223dcbf5182b6eb2199e8f579ca2a11b6b2f3"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-p047-baggage-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "a554cd5c0a3bdbefaa66de744381c29202f796ad0d971923b5b6e77d0ae1ac66",
"files_sha256": "c48ae892aad058a3c5a6760f24bb001b910610b077734c7ecc075409fd67b71c",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_p047_baggage_restore_20261025",
"port": 55441,
"source_dump_sha256": "a554cd5c0a3bdbefaa66de744381c29202f796ad0d971923b5b6e77d0ae1ac66",
"active_database_writes": 0
}
},
"served_commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"previous_release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 9,
"documentary_files_verified": 5,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "cd8cb9054a1e4f40d20ec85375f538fa"
},
"after": {
"rows": 106,
"checksum": "c4724af7e94f61b0d572cebfe639f7e0"
}
},
"sessions": {
"before": {
"rows": 129,
"checksum": "396e35b909de8fdb39e78ec10111536a"
},
"after": {
"rows": 130,
"checksum": "15db9e1b85d248073c1a91352ce9ad22"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"branch": "main",
"built_at": "2026-10-25T09:52:26.492458+00:00",
"manifest_sha256": "d74ef12d0fa825df158d7debd86e74939cf79c15be4f56663eceebde001f91c8"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"remissionImports": [
"assets/project-dossier-DNMY4ZC3.js"
],
"early_state_baggage": [
"assets/project-dossier-DNMY4ZC3.js",
"assets/services-R9ujphTN.js"
],
"missionPlannedEnd": [
"assets/project-dossier-DNMY4ZC3.js",
"assets/services-R9ujphTN.js"
],
"baggageRoute": [
"assets/project-dossier-DNMY4ZC3.js",
"assets/services-R9ujphTN.js"
],
"Conferir quatro famílias e guardar versão": [
"assets/services-R9ujphTN.js"
],
"Regresso definitivo — veículos e bagagem (P058, cobertura parcial)": [
"assets/services-R9ujphTN.js"
],
"Aplicação legal directa; não é criada aprovação adicional": [
"assets/services-R9ujphTN.js"
],
"Cenário condicionado aos pressupostos expressos; não benefício concedido.": [
"assets/project-dossier-DNMY4ZC3.js"
],
"31/07/2026": [
"assets/project-dossier-DNMY4ZC3.js"
],
"fxSelection": [
"assets/project-dossier-DNMY4ZC3.js",
"assets/services-R9ujphTN.js"
],
"formDecisionHash": [
"assets/project-dossier-DNMY4ZC3.js"
],
"sem calcular IVA devido ou dedução": [
"assets/services-R9ujphTN.js"
],
"Não representa cobertura digital integral": [
"assets/services-R9ujphTN.js"
]
},
"assets": [
{
"file": "assets/project-dossier-DNMY4ZC3.js",
"status": 200,
"sha256": "620f8a4c1404188313d86e27a3868f2e3b9f7b9dd1494518e452d7bf14498d2c"
},
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
},
{
"file": "assets/project-dossier-document-DjttKkD0.js",
"status": 200,
"sha256": "7e2d47538bf345c2a6bf095c256030df8633ae9eada1e0920f991598478be44f"
},
{
"file": "assets/services-R9ujphTN.js",
"status": 200,
"sha256": "1cd72c66c546d3761a3347872c709742fb5686300810376a44eba18c53fc9a4e"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-Bd3D7OAq.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"previous_release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"previous_release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"ada9629bb65ba186f54d970f0e41194888ebf53b"
],
"finished_at": "2026-10-25T09:52:29.511564+00:00"
},
"log_file": "1792921824175276336.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 30.38s",
"OK (59 tests, 317 assertions)",
"# tests 681",
"# pass 681",
"# fail 0"
],
"log_bytes": 199655
},
"rollback_executed": false
},
"activation": "Joint Git fast-forward/webhook/installer;no migrations/imports;accepted QA reused;installed delta only",
"simulation_assumptions": "Remain conditional;not administrative exemption grants",
"deduction_calculation": false
}
@@ -0,0 +1,20 @@
--- a/resources/js/lib/iva-remission-imports.ts
+++ b/resources/js/lib/iva-remission-imports.ts
@@ -29,6 +29,7 @@
const positive=(v:string)=>/^[1-9]\d{0,5}$/.test(v),nonnegative=(v:string)=>/^(0|[1-9]\d{0,5})$/.test(v);
export function evaluateRemission(r:RemissionRow,currency:unknown):RemissionLine{
const result:RemissionLine={id:r.id,status:'indeterminate',importVat:null,deduction:null,source:remissionSource,reason:''};const stop=(reason:string,status:RemissionLine['status']='indeterminate')=>({...result,status,reason});
+ return stop('Novas avaliaçõesP047 temporariamente suspensas;históricos e originais preservados.');
if(!remissionFamilies.some(([k])=>k===r.family))return stop('Escolha uma das quatro famílias documentadas.');
if(currency!=='MZN'||r.currency!==currency||!/^2026-(0[1-9]|1[0-2])$/.test(r.period)||!date(r.importDate)||r.importDate.slice(0,7)!==r.period)return stop('Indique moedaMZN e data/período2026 coerentes; não se presume conversão.');
if(!['projected','effective'].includes(r.origin)||![r.description,r.importer,r.scope,r.evidence,r.documentRef,r.rightsRef].every(v=>v.trim()))return stop('Identifique bens, importador, âmbito, documentos e fundamento da isenção de direitos ou pressupostos expressos.');
--- a/resources/js/lib/iva-returnee-baggage.ts
+++ b/resources/js/lib/iva-returnee-baggage.ts
@@ -19,6 +19,7 @@
function anniversary(s:string){const d=date(s)!;const month=d.getUTCMonth();d.setUTCFullYear(d.getUTCFullYear()+1);if(d.getUTCMonth()!==month)d.setUTCDate(0);return d.toISOString().slice(0,10);}
export function evaluateBaggage(row:ReturneeRow,currency:unknown):Line{
const rule=baggageTreatments.find(t=>t.id===row.treatment),base:Line={id:row.id,status:'indeterminate',importVat:null,deduction:null,reason:'',source:baggageSource+(rule?';'+rule.article:'')};const stop=(reason:string,status:Line['status']='indeterminate')=>({...base,status,reason});
+ return stop('Novas avaliações de bagagemP058 temporariamente suspensas;veículos,históricos e originais preservados.');
if(!rule)return stop('Percurso de bagagem não identificado;sem estender57(2)c/d à fixação de domicílio57(2)b.');
if(currency!=='MZN'||row.currency!==currency||!/^2026-(0[1-9]|1[0-2])$/.test(row.period)||!date(row.importDate)||row.importDate.slice(0,7)!==row.period)return stop('Indique importação2026 emMZN e data/período coerentes;sem conversão presumida.');
if(!['projected','effective'].includes(row.origin)||![row.description,row.beneficiary,row.scope,row.evidence,row.documentRef,row.missionRef??''].every(v=>v.trim()))return stop('Identifique beneficiário,bens,âmbito,documentos disponíveis e missão pública/estudo ou pressupostos expressos;reutilize referências,sem certificado adicional criado pelo portal.');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,364 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "d84883b801123664770ab6c69d7e7ddec148e352",
"base_installed": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"coverage_complete_branches": {
"AUD-SIM-L1-P087": [
"binding_lease"
],
"AUD-SIM-L1-P127": [
"business_onerous",
"business_free"
]
},
"branch_count_complete": 2,
"treatment_count": 3,
"QA_example_count": 3,
"runtime_delta": [
{
"path": "resources/js/lib/iva-property-transfers.ts",
"sha256_LF": "0d92edaf29b37cbe58f4d60ad3c61756f4cfdf71b8165e47438e9e3d7c59041e"
},
{
"path": "resources/js/components/simulation-property-transfers.tsx",
"sha256_LF": "ca2e125cf814ea3f797db9befbccbe6df3d1e9d91118b10af0cd2302e0e307e8"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "2b5a10dfd5a180d008403e5fe27333553d95c373c43c3ff629b4a1b4ff44bdfe"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "d59ab0d244d342d3c4167766529499c3cd0cb866e6680c7e4db0508b9c9e62cb"
}
],
"counts_before": {
"delivered": 116,
"QA": 2,
"functional_pending": 14,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 118,
"QA": 0,
"functional_pending": 14,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 118,
"QA": 0,
"functional_pending": 14,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-property-transfers-qa-20261025.json"
],
"authorization": "Tempo explicitly requests one joint delivery ofd84883b8,P087/P127,preserving concurrent changes and installeddelta only",
"scope": "2026;P087baseMZN exacta,classificação pode manter-se com base indeterminada.P127classificação própria de não exigibilidade,sem preencher base/IVA comzero.Sem exigibilidade fiscal calculada,nova dedução,campo11,regularização ou totaisModeloA.P125categoria/elegibilidademargem eP123consignação mantidos separados.",
"source": "CIVA Lei13/2016:3(3)a PDF6/p1426(264);3(5) PDF7/p1426(265);15(1) PDF13/p1426(271),páginas visualmente conferidas.Lei22/2022PDF3 mantém15(1);Lei10/2025PDF12 mantém3(3)a/3(5),não altera15.Rectificação2017 sem alteração destas disposições.Acervo seisPDF inventariado/hashes conferidos.",
"meaning": {
"P087": "Entrega material de bens em execução de contrato de locação com cláusula vinculante para ambas as partes de transferência da propriedade3(3)a. Classificação separada da base15(1):contraprestação obtida/a obter,sem próprioIVA,com composição/âmbito identificados. Não usar15(2)a da consignação,nem transformar mera opção de compra em cláusula vinculante.",
"P127": "Cessão onerosa ou gratuita de estabelecimento,totalidade ou parte de património susceptível de constituir ramo independente3(5). Adquirente é ou passa pela aquisição a sujeito passivo2(1)a e pratica operações com direito à dedução. Imposto não devido nem exigível no âmbito demonstrado;não isenção genérica,nem base/taxa zero ou nova dedução. Não impor condição autónoma de continuidade além dos factos da fonte."
},
"classification_and_scope": "P087 bindinglease3(3)a,base15(1),notconsignment15(2)a;P127onerous/freebusiness3(5),autonomousscope/acquirer2(1)a/deductionactivities;nozero/genericexemption/newdeduction.",
"preservation": "116priorclosures andpartialP084/P085 preserved;acceptedperbranchQA reused;one integration/backup/realisolatedrestore/check forwhole set",
"partial_P084_P085": "Preparation/conditional simulation only;benefits pending;no closure",
"limits": "L1aberto;P00105/06;P121digital/P084/P085pendentes;bebidasL2/L3;Estatísticas/IAadiadas",
"containment": "l1-property-transfers-readonly-rollback-20261025.patch,checked only,not applied;blocks newP087/P127calculations,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"previous_release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"release_revision": {
"commit": "ce9d649fbf631b584cb521ce120c98a4cb459c13",
"branch": "main",
"built_at": "2026-10-24T22:42:39.117961+00:00",
"manifest_sha256": "eeab5319e220e8017f0f06e4b4ba2572ccadb5be465cde82d696ac0e64f5ae0c"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-property-transfers-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "30ce2f710bb55e4222d598277fa92ecce8fc6064e49bca63dff2da128e233c2f",
"files_sha256": "13cd195e51574749c71ffff895d20b5d38044e0c38582af8e51e01fca4765540",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_property_transfers_restore_20261024",
"port": 55441,
"source_dump_sha256": "30ce2f710bb55e4222d598277fa92ecce8fc6064e49bca63dff2da128e233c2f",
"active_database_writes": 0
}
},
"next_dependency_groups_authorized": {
"transversal_first": [
"P104",
"P131",
"P132"
],
"transversal_then": [
"P002"
],
"digital": [
"P121",
"P130"
],
"travel_and_events": [
"P129",
"P133"
],
"imports_and_benefits": [
"P046",
"P047",
"P058",
"P059"
],
"specific_documentary_nonblocking": [
"P084",
"P085",
"P001"
]
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"previous_release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "f2f9da0d12aea236c33cdccfe3bbb124"
},
"after": {
"rows": 106,
"checksum": "966c487af6b59f1224527d7c6cfa474d"
}
},
"sessions": {
"before": {
"rows": 105,
"checksum": "486e34e2b2dab1f59fcc403f4b2741d8"
},
"after": {
"rows": 106,
"checksum": "e975b8b2e1359ec0273b5ebe826e395d"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"branch": "main",
"built_at": "2026-10-24T22:52:27.789891+00:00",
"manifest_sha256": "52e638801184578d481f490734a4b98f8f557625e81fd942348a2067bfc0f58b"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"property-transfers/1": [
"assets/project-dossier-DUE7gpGm.js"
],
"binding_lease": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"business_onerous": [
"assets/project-dossier-DUE7gpGm.js"
],
"business_free": [
"assets/project-dossier-DUE7gpGm.js"
],
"propertyTransfers": [
"assets/project-dossier-DUE7gpGm.js"
],
"materialDelivery": [
"assets/project-dossier-DUE7gpGm.js"
],
"bindingProperty": [
"assets/project-dossier-DUE7gpGm.js"
],
"autonomousBusiness": [
"assets/project-dossier-DUE7gpGm.js"
],
"acquirer2a": [
"assets/project-dossier-DUE7gpGm.js"
],
"deductionActivities": [
"assets/project-dossier-DUE7gpGm.js"
],
"contractRef": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"propertyClauseRef": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"acquirerRef": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"autonomousRef": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"activitiesRef": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"considerationRef": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"compositionConfirmed": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
],
"goods_transmission": [
"assets/project-dossier-DUE7gpGm.js"
],
"tax_not_exigible_3_5": [
"assets/project-dossier-DUE7gpGm.js"
],
"consideration": [
"assets/project-dossier-DUE7gpGm.js",
"assets/services-B1VsA-Tn.js"
]
},
"assets": [
{
"file": "assets/project-dossier-document-Cq8oizup.js",
"status": 200,
"sha256": "27777ad09c9517041644bb2b7bfcd7f7058e4f6b0c1eec22722f3250aac3c7c9"
},
{
"file": "assets/project-dossier-DUE7gpGm.js",
"status": 200,
"sha256": "2fc2015b97935391a9db425d0a3431dcc9f1792d82053b97ffcefa31e2acabb3"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/services-B1VsA-Tn.js",
"status": 200,
"sha256": "592b0a0dcb6b7338a9109238c89ce63630546fb92d7be213c49d28752574120e"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-Nmu2R55A.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"previous_release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "92eaa93570b96561a0d2ab60787b7af8171c9529",
"release": "/var/www/investmoz-homologacao/releases/92eaa93570b96561a0d2ab60787b7af8171c9529-d4d7a2a2",
"previous_release": "/var/www/investmoz-homologacao/releases/ce9d649fbf631b584cb521ce120c98a4cb459c13-f7d31a27",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"92eaa93570b96561a0d2ab60787b7af8171c9529"
],
"finished_at": "2026-10-24T22:52:30.469110+00:00"
},
"log_file": "1792882239391904096.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 27.57s",
"OK (59 tests, 317 assertions)",
"# tests 444",
"# pass 444",
"# fail 0"
],
"log_bytes": 153295
},
"rollback_executed": false
},
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-property-transfers.ts
+++ b/resources/js/lib/iva-property-transfers.ts
@@ -47,6 +47,7 @@
function key(draft:Record<string,unknown>,book:PropertyTransferBook):string{return JSON.stringify({version:propertyTransferVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function propertyTransferCurrent(draft:Record<string,unknown>,book:PropertyTransferBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordPropertyTransfers(draft:Record<string,unknown>,book:PropertyTransferBook):PropertyTransferBook{
+ throw new Error('Novos cálculos P087/P127 temporariamente suspensos;dados,histórico,relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:PropertyTransferCalculation={version:propertyTransferVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:propertyTransferSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluatePropertyTransfer(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};savePropertyTransferBook(draft,next);return next;
@@ -0,0 +1,344 @@
{
"status": "installed_delta_verified_partial_L1",
"candidate": "0ebb20c86a8cfcee9fae56c38f6bfdc6b2ab80ab",
"base_installed": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"coverage_complete_branches": {
"AUD-SIM-L1-P092": [
"reseller_margin"
],
"AUD-SIM-L1-P093": [
"auction_margin"
],
"AUD-SIM-L1-P125": [
"used_goods",
"art",
"collection",
"antique"
]
},
"branch_count_complete": 3,
"treatment_count": 2,
"category_count": 4,
"QA_example_count": 8,
"runtime_delta": [
{
"path": "resources/js/lib/iva-secondhand.ts",
"sha256_LF": "de9cab0f8685c0be1072ce0b8b5ae98865383fa52f4487ecb62514ddb28d6fdc"
},
{
"path": "resources/js/components/simulation-secondhand.tsx",
"sha256_LF": "7a715a05635137d3b7b8a1eb3d554646c4553430904613235199fc6a254cec20"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "338d5c4b9b60b2be6b3f059c543c92127222f621424854cba9a19651d86d2967"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "fe0b12b2acc5d1a59c862abf6c96e2e09c51193fc2e090e475dc0ec8673e23c9"
}
],
"counts_before": {
"delivered": 111,
"QA": 3,
"functional_pending": 18,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 114,
"QA": 0,
"functional_pending": 18,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 114,
"QA": 0,
"functional_pending": 18,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-secondhand-qa-20261025.json"
],
"authorization": "Tempo explicitly requests one joint delivery of0ebb20c8,P092/P093/P125,preserving concurrent changes and installeddelta only",
"scope": "2026/MZN,transmissões internas tributáveis e aquisição nacional com qualidade do fornecedor/comitente demonstrada. Duas fórmulas, quatro categorias, oito exemplos e três ramos; uma operação individual, sem dupla contagem. Apenas classificação/base:sem IVA calculado,nova dedução,campo11,regularização ou totaisModeloA. IVA identificado no leilão é componente referenciada. Exportação isenta e opção normal separadas; origens legadas35/42 permanecem indeterminadas.",
"source": "CIVA Lei13/2016:3(3)g/3(6),PDF7,p1426(265);15(2)f/g,PDF13,p1426(271). RIVA Decreto7/2008,BR16-I de16/04/2008,arts47–49,PDF8–9,p106–107. Lei22/2022 PDF3 mantém15f/g e fixa17(1)16%. Lei10/2025 não altera15/17 e revoga regimes35/42;referência antiga não os reactiva. Rectificação2017 sem alteração destas disposições.",
"meaning": {
"P092": "Revendedor: margem individual positiva da contraprestação total com IVA menos preço de compra justificado; dividir por 1.16 e arredondar a base à unidade. Perda conservada no bem, sem compensação entre transmissões. Opção pelo regime normal fica separada.",
"P093": "Organizador em nome próprio por conta do comitente, contrato de comissão e venda em leilão: base = facturado ao comprador menos líquido do comitente menos IVA próprio identificado. Líquido = adjudicação menos comissão. IVA desconhecido não é zero.",
"P125": "Classificação própria: bem usado reutilizável, arte, colecção ou antiguidade superior a 100 anos; critérios de 3(6) conservados. Categoria identificada não activa automaticamente a margem. Tiragem limitada a 200 exemplares e cerâmica única executada/assinada pelo artista nos percursos respectivos."
},
"classification_margin_separation": "P125 category/characteristics are independent fromP092/P093eligibility;eligible supplier/principal,nationalacquisition,internal taxable operation andregimeconditions remain explicit. No automaticmargin fromcategory;no calculatedVAT,newdeduction,regularisation orfield11.",
"preservation": "111priorclosures andpartialP084/P085 preserved;acceptedperbranchQA reused;one integration/backup/realisolatedrestore/check forwhole set",
"partial_P084_P085": "Preparation/conditional simulation only;benefits pending;no closure",
"limits": "L1aberto;P00105/06;P121digital/P084/P085pendentes;bebidasL2/L3;Estatísticas/IAadiadas",
"containment": "l1-secondhand-readonly-rollback-20261025.patch,checked only,not applied;blocks newP092/P093/P125calculations,preserves readers/history/otherbranches",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"previous_release": "/var/www/investmoz-homologacao/releases/63cc336787cade92fb7ee5b2b2d407308a0cf66b-a32af166",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"release_revision": {
"commit": "6c12aabb3ac7f8296025a2af0408390bfe292bdb",
"branch": "main",
"built_at": "2026-10-24T22:19:07.102372+00:00",
"manifest_sha256": "91a95647c3666b2dc9a322fbf7534e055c616872c791920d2cc004234c1b0d25"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-secondhand-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "d7c0767888ce08fcb078020cefe7a83634849939c6d436911475d6779a640c01",
"files_sha256": "e3b297c870dd26676004c495c1893cebf68be0ccbc013b2c073b93f63a4643e6",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_secondhand_restore_20261024",
"port": 55441,
"source_dump_sha256": "d7c0767888ce08fcb078020cefe7a83634849939c6d436911475d6779a640c01",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"previous_release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "fb154746804453a4cbcc03914de28537"
},
"after": {
"rows": 106,
"checksum": "6a5c1ffe44818f85d2b269d43fc21819"
}
},
"sessions": {
"before": {
"rows": 99,
"checksum": "a938b9c181045315f55009c1c63700ca"
},
"after": {
"rows": 100,
"checksum": "792acde047494f2f7d5434f365a41f24"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"branch": "main",
"built_at": "2026-10-24T22:32:38.963919+00:00",
"manifest_sha256": "ee5b4b3aa24f1b2fabf6ee212c03211e085b05dab858693f80907b23569c0aab"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"secondhand-individual-margin/1": [
"assets/project-dossier-DO_yn5hw.js"
],
"reseller_margin": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"auction_margin": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"regulatedSecondhands": [
"assets/project-dossier-DO_yn5hw.js"
],
"reusableUsed": [
"assets/project-dossier-DO_yn5hw.js"
],
"notRenewedTransformed": [
"assets/project-dossier-DO_yn5hw.js"
],
"notPreciousExcluded": [
"assets/project-dossier-DO_yn5hw.js"
],
"artistOriginal": [
"assets/project-dossier-DO_yn5hw.js"
],
"editionCount": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"ceramicUniqueSigned": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"postalNotCirculating": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"ageYears": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"grossSale": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"purchasePrice": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"principalCommission": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"principalNet": [
"assets/project-dossier-DO_yn5hw.js"
],
"baseDivisorRate": [
"assets/project-dossier-DO_yn5hw.js"
],
"ownVatRef": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"domesticPurchase": [
"assets/services-C_SP2bTq.js",
"assets/project-dossier-DO_yn5hw.js"
],
"IVA: Indeterminado": [
"assets/project-dossier-DO_yn5hw.js"
]
},
"assets": [
{
"file": "assets/services-C_SP2bTq.js",
"status": 200,
"sha256": "cd0f5eb7d3365562868efc88bbd08321418f2aafcc8148014cdabbffb7192690"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
},
{
"file": "assets/project-dossier-document-BHzhL-Pj.js",
"status": 200,
"sha256": "a06662377c922f93563c01d4f5d1bd33689fe816cff8b17a74c335363ffb7711"
},
{
"file": "assets/project-dossier-DO_yn5hw.js",
"status": 200,
"sha256": "9ef7557d63623da554cfeb37869e7af0e47764a6d4e18ddc118cff0e09e25e23"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-BektOE1s.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"previous_release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "019bcbad6c5a2371e4ca55f7b687447316606fb1",
"release": "/var/www/investmoz-homologacao/releases/019bcbad6c5a2371e4ca55f7b687447316606fb1-8865b05d",
"previous_release": "/var/www/investmoz-homologacao/releases/6c12aabb3ac7f8296025a2af0408390bfe292bdb-4c33615a",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"019bcbad6c5a2371e4ca55f7b687447316606fb1"
],
"finished_at": "2026-10-24T22:32:41.633729+00:00"
},
"log_file": "1792881052939787284.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 27.36s",
"OK (59 tests, 317 assertions)",
"# tests 431",
"# pass 431",
"# fail 0"
],
"log_bytes": 150822
},
"rollback_executed": false
},
"activation": "OnejointGit fast-forward/webhook/installer;zero migrations/imports"
}
@@ -0,0 +1,10 @@
--- a/resources/js/lib/iva-secondhand.ts
+++ b/resources/js/lib/iva-secondhand.ts
@@ -74,6 +74,7 @@
function key(draft:Record<string,unknown>,book:SecondhandBook):string{return JSON.stringify({version:secondhandVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows});}
export function secondhandCurrent(draft:Record<string,unknown>,book:SecondhandBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
export function recordSecondhands(draft:Record<string,unknown>,book:SecondhandBook):SecondhandBook{
+ throw new Error('Novos cálculos P092/P093/P125 temporariamente suspensos;dados,histórico,relatórios e restantes ramos preservados.');
if(!book.rows.length||new Set(book.rows.map(row=>row.id)).size!==book.rows.length)throw new Error('Indique operações com identificadores distintos;originais conservados.');
const result:SecondhandCalculation={version:secondhandVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),location:JSON.stringify(draft.selection_labels??{}),sourceKey:key(draft,book),source:secondhandSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateSecondhand(row,draft.currency))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveSecondhandBook(draft,next);return next;
@@ -0,0 +1,434 @@
{
"status": "installed_P104_operational_scope_partial_P058_P084_P085_L1_open",
"candidate": "7b6a95a7181be5af622b0b665a31010ce93d6d5c",
"accepted_candidates": [
"7b6a95a7"
],
"base_installed": "a665ee9c974adb48706027e66fdd71b773d7358c",
"coverage_complete_branches": {
"AUD-SIM-L1-P104": "Procedimento operacional daTempo25/10:compra/venda segundo natureza/perspectiva;média comercial de referênciaBM na submissão;fonte,boletim,taxa,sentido,original/convertido e histórico conservados;excepções fiscais identificadas.Sem activarIVA/dedução/base de outros livros."
},
"branch_count_complete": 1,
"coverage_partial_branches": {
"AUD-SIM-L1-P084": "PedidoMF/AT→apresentado→decisão com despacho privado,número/data/emitente/âmbito→formulário com despacho;interesse público/fins sociais;correspondência específica do formulário não é presumida.",
"AUD-SIM-L1-P085": "Mesmo acompanhamento operacional com finalidade de atenuar calamidades e aquisição;sem extensão automática à importação;correspondência de formulário permanece parcial.",
"AUD-SIM-L1-P058": "Três percursos de veículos no regresso63:isenção/80%/separado50%;sem transplantarP059;bagagem/outros bens e remissão57(2)b por concluir;180dias exactos indeterminados."
},
"coverage_label": "ApenasP104 conta como novo ramo entregue;P058/P084/P085 continuam pendentes com cobertura parcial explícita.",
"runtime_delta": [
{
"path": "app/Http/Controllers/Api/V1/SimulationOfferDocumentController.php",
"sha256_LF": "b7359dcd66fa01e76d55ad729615f7cd4f0eb45ed88ec7b32d7997b8cfcb89c9"
},
{
"path": "app/Http/Middleware/EnsureSimulationRecoveryCookie.php",
"sha256_LF": "d10c2f54772233fcffe4f8f24c62a2282537bff1085d43ca7c1e8774070f5316"
},
{
"path": "resources/js/components/simulation-currency-events.tsx",
"sha256_LF": "4c81d2cd7e6835ee8102a8323991b494d8b52a21198a816c9f93f973c0da55b6"
},
{
"path": "resources/js/components/simulation-fx-selection.tsx",
"sha256_LF": "39bb6d87d404745b0b66349bc11626545a3672ae27321ce9b4658416592059bf"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "b695e87089b08f987847e28413cd9bacca12b25f1171db4915f4a5dd082f5180"
},
{
"path": "resources/js/components/simulation-offer-preparations.tsx",
"sha256_LF": "9e70725e707ff4236f8edbaa965cb72d42407e010053a23f0e86bae7bbc2eaf7"
},
{
"path": "resources/js/components/simulation-offer-workflow.tsx",
"sha256_LF": "4cf2354d01b1f6c60598f1a495ee02946c5e565434078c61928ec7d13fe43cc6"
},
{
"path": "resources/js/components/simulation-returnees.tsx",
"sha256_LF": "a8b457344ec93d0db6d7a169b2f0b77dacb916b4943324a19b2580a893191cd4"
},
{
"path": "resources/js/components/simulation-travel-events.tsx",
"sha256_LF": "d5690d7abbb2b70653ec6cb42e75260347e7190c5d3a474983e6fd318d0606c4"
},
{
"path": "resources/js/lib/iva-currency-events.ts",
"sha256_LF": "cc9f2045d302d7987310da4006cc250fc5c99a27397918d166d649bfc32fab08"
},
{
"path": "resources/js/lib/iva-fx-selection.ts",
"sha256_LF": "9aa07ad443bc777b80510a3b5bd6aff9ddb9814d2450f3c690e531e74d71d998"
},
{
"path": "resources/js/lib/iva-offer-package.ts",
"sha256_LF": "240b274933e669a8c6def3b2324507c421bcd90ccbca82b58f6aab72cdeba5f5"
},
{
"path": "resources/js/lib/iva-offer-preparations.ts",
"sha256_LF": "b57abb97295493d0a9c3bb48941a7bb250f4fbec367a8b575afdbb14c32d1751"
},
{
"path": "resources/js/lib/iva-offer-workflow.ts",
"sha256_LF": "6ee9df722441639ab674b2457e5e9a075dc6ef326eab718d20295572297d5f86"
},
{
"path": "resources/js/lib/iva-returnees.ts",
"sha256_LF": "f91988669672e92527dba7e374fadebe71973f58a8459181d01e1684f10aab25"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "fc54a64b0e7bc218f30031355497c1ad98c84e5f2faf51945d5aa70e8f115864"
},
{
"path": "routes/api.php",
"sha256_LF": "f0b1b2b6943d23d27d54f6ffc58fd5caca46760ecec97a6da85faf477e5fef4e"
}
],
"documentary_delta": [
{
"path": "docs/investmoz/simulations/source-archive/Decreto-27-2026-BR123.pdf",
"sha256": "26249c3fa58f149c81de36e99d1aac2819a4771379d9e8833159660dabf539bb",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Decreto-37-2023-BR124.pdf",
"sha256": "7e680b191481faa0e2e9057fa5053587eb2a29d1d8c819e0eb9f02814255a04c",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Lei-17-2022-BR251-exemplar-MCNet5.pdf",
"sha256": "14eb34f0af91a8f5cb1770c7b52d6ff839c6818302d1ed96d79afbfb9fe999d4",
"state": "original archived;no automatic import,publication or fiscal activation"
},
{
"path": "docs/investmoz/simulations/source-archive/Lei-17-2022-IPP-BR250-Parlamento.pdf",
"sha256": "978cd22403ffd336a631704ecd7a5bbd814a427c815b9acdaca5515591dd9e2a",
"state": "original archived;no automatic import,publication or fiscal activation"
}
],
"compiled_delta_markers_expected": [
"submissionDate",
"bulletinPerspective",
"fxSelection",
"scopeConfirmed",
"formDecisionHash",
"returneeImports",
"ownershipAssessment",
"Pedido → decisão → formulário com despacho",
"Conferir selecção e impacto",
"Confirmar selecção nesta linha",
"Recuperar anexos privados desta gravação",
"Preparar formulário com despacho associado",
"Regresso definitivo — veículos (P058, cobertura parcial)",
"Sem cálculo de IVA ou dedução",
"Continuidade do trabalho fiscal:",
"sem calcular IVA devido ou dedução",
"Cobertura digital deste incremento:",
"Não representa cobertura digital integral"
],
"counts_before": {
"delivered": 127,
"QA": 1,
"functional_pending": 4,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 128,
"QA": 0,
"functional_pending": 4,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 128,
"QA": 0,
"functional_pending": 4,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-tempo-offers-fx-qa-20261025.json"
],
"authorization": "Tempo25/10 pede entrega conjunta da candidata7b6a95a7,separandoP104concluído deP058/P084/P085parciais;preservar históricos/conferir sódelta.",
"preservation": "127fechos/dados/configuração/permissões/originais/relações/históricos conservados;nenhuma perda confirmada;provasQA75frontend/API2/37,types/build/UI reutilizadas.",
"limitations_balance": [
"P104 é procedimento operacional da Tempo,não atribuição àLei2/2006 de uma regra cambial não demonstrada;excepção fiscal identificada por disposição/âmbito/taxa/data",
"Não activa cálculo de IVA,dedução ou reavaliação de livros anteriores;conversão reutiliza aritmética existente a seis casas decimais,sem nova regra de arredondamento fiscal",
"P084/P085 não são fechados por este avanço;ZIP contém preparação e anexos,não recibo de submissão nem formulário oficial inventado",
"Anexos privados reutilizamdocuments/scan existente;sem migração;pendente de scan impede descarga,sem criar certificado fiscal",
"P058 é parcial;bagagem e remissões por concluir;sem extensão das condiçõesP059",
"Formais digitais e cálculo fiscal de viagens/eventos mantêm limitações aceites;bebidasL2/L3,Estatísticas/IAadiadas;L1aberto"
],
"remaining_ids": [
"P047",
"P058",
"P084",
"P085",
"P001"
],
"P104_closure": "operational_scope_defined_by_Tempo_only",
"P084_P085_closure": false,
"P058_closure": false,
"L1": "open",
"containment": "l1-tempo-offers-fx-readonly-rollback-20261025.patch verified without applying;retains readers/history/downloads and unrelated branches;previous release retained",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"previous_release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"release_revision": {
"commit": "a665ee9c974adb48706027e66fdd71b773d7358c",
"branch": "main",
"built_at": "2026-10-25T08:24:49.843479+00:00",
"manifest_sha256": "4aa78f9db6db6dcf31222b9bff45f5dfbaa0dc071225fcc3de4f0f02f0d03cd8"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-tempo-offers-fx-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "15f6d2f8bee7c1b21ba02406e311d1a6e203dfe3081aa84997c3057ea19c2a73",
"files_sha256": "bb0db583f66e8f890808573a7f63d36f67242306f90cab2a3dc07e412ee6edef",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_tempo_offers_fx_restore_20261025",
"port": 55441,
"source_dump_sha256": "15f6d2f8bee7c1b21ba02406e311d1a6e203dfe3081aa84997c3057ea19c2a73",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"previous_release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 17,
"documentary_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "b9e4d79e3630947e4211403147f3205e"
},
"after": {
"rows": 106,
"checksum": "7d5f83ca87d426b646e62b3e7d94979e"
}
},
"sessions": {
"before": {
"rows": 125,
"checksum": "bc46e3ec1db00b4c7c0b5208afbdb625"
},
"after": {
"rows": 126,
"checksum": "e7acfdf24b4808f0168154e2bdacf1ab"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"branch": "main",
"built_at": "2026-10-25T09:07:12.105014+00:00",
"manifest_sha256": "9e01cbb05e4cc752f81a698bc88223dcbf5182b6eb2199e8f579ca2a11b6b2f3"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"submissionDate": [
"assets/services-D3hdAJ2p.js",
"assets/project-dossier-GNi9gCOX.js"
],
"bulletinPerspective": [
"assets/services-D3hdAJ2p.js",
"assets/project-dossier-GNi9gCOX.js"
],
"fxSelection": [
"assets/services-D3hdAJ2p.js",
"assets/project-dossier-GNi9gCOX.js"
],
"scopeConfirmed": [
"assets/services-D3hdAJ2p.js",
"assets/project-dossier-GNi9gCOX.js"
],
"formDecisionHash": [
"assets/project-dossier-GNi9gCOX.js"
],
"returneeImports": [
"assets/project-dossier-GNi9gCOX.js"
],
"ownershipAssessment": [
"assets/services-D3hdAJ2p.js",
"assets/project-dossier-GNi9gCOX.js"
],
"Pedido → decisão → formulário com despacho": [
"assets/services-D3hdAJ2p.js"
],
"Conferir selecção e impacto": [
"assets/services-D3hdAJ2p.js"
],
"Confirmar selecção nesta linha": [
"assets/services-D3hdAJ2p.js"
],
"Recuperar anexos privados desta gravação": [
"assets/services-D3hdAJ2p.js"
],
"Preparar formulário com despacho associado": [
"assets/services-D3hdAJ2p.js"
],
"Regresso definitivo — veículos (P058, cobertura parcial)": [
"assets/services-D3hdAJ2p.js"
],
"Sem cálculo de IVA ou dedução": [
"assets/services-D3hdAJ2p.js",
"assets/project-dossier-GNi9gCOX.js"
],
"Continuidade do trabalho fiscal:": [
"assets/services-D3hdAJ2p.js"
],
"sem calcular IVA devido ou dedução": [
"assets/services-D3hdAJ2p.js"
],
"Cobertura digital deste incremento:": [
"assets/services-D3hdAJ2p.js"
],
"Não representa cobertura digital integral": [
"assets/services-D3hdAJ2p.js"
]
},
"assets": [
{
"file": "assets/project-dossier-document-BfKP8U8W.js",
"status": 200,
"sha256": "d0a6dfe53169188f11fde6c8c7cec979035661fca32af4ed6722714b3df9896a"
},
{
"file": "assets/services-D3hdAJ2p.js",
"status": 200,
"sha256": "5c98a63f36d8b1c1898dce85f98025114bd1049395f3d0db3e094fed6e9bc670"
},
{
"file": "assets/project-dossier-GNi9gCOX.js",
"status": 200,
"sha256": "aea35e19d5ccf766185c3b85f271ae37131903ccc4106b876c56354c9dda3ad3"
},
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DPOFdqTY.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"previous_release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "e38aa74920412e545213b35b7585c847a0b8a969",
"release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"previous_release": "/var/www/investmoz-homologacao/releases/a665ee9c974adb48706027e66fdd71b773d7358c-67adcc0e",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"e38aa74920412e545213b35b7585c847a0b8a969"
],
"finished_at": "2026-10-25T09:07:14.749876+00:00"
},
"log_file": "1792919112275510355.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 30.07s",
"OK (59 tests, 317 assertions)",
"# tests 620",
"# pass 620",
"# fail 0"
],
"log_bytes": 190206
},
"rollback_executed": false
},
"activation": "Joint Git fast-forward/webhook/installer;no migrations/content imports;accepted QA proofs reused;installed delta only",
"deduction_calculation": false,
"automatic_historical_recalculation": false
}
@@ -0,0 +1,33 @@
--- a/resources/js/lib/iva-currency-events.ts
+++ b/resources/js/lib/iva-currency-events.ts
@@ -44,7 +44,7 @@
if(!/^2026-(0[1-9]|1[0-2])$/.test(row.period)||!['projected','effective'].includes(row.origin)||date(row.documentDate)===null||![row.description,row.operationRef,row.documentRef,row.scope,row.evidence].every(v=>!!v.trim()))return stop('Identifique mês de contexto2026,operação,documento/data,âmbito e factos ou pressupostos expressos.');
if(row.factsConfirmed==='no')return stop('Os factos declarados afastam este percurso;sem isenção ou IVA zero por defeito.','not_applicable');
if(row.factsConfirmed!=='yes')return stop('Factos do percurso por esclarecer;não usar datas ou câmbio por defeito.');
- if(row.treatment==='foreign_scenario'){
+ if(row.treatment==='foreign_scenario'){if(row.fxSelection)return stop('Novas conversões operacionaisP104 temporariamente suspensas;históricos e outros eventos conservados.');
const amount=decimal(row.amount),fx=decimal(row.fxRate,8);
if(row.currency!=='MZN'||!['USD','EUR','ZAR','GBP','CNY','BRL','JPY','CHF','AUD','CAD'].includes(row.sourceCurrency)||amount===null||fx===null||fx===0n||date(row.fxDate)===null||![row.fxSource,row.fxRuleRef].every(v=>!!v.trim())||!['mzn_per_unit','units_per_mzn'].includes(row.fxDirection))return stop('Indique moeda original,valor,taxa positiva,direcção,data,fonte e regra/pressuposto expresso.Sem substituir moeda original porMZN ou reutilizar taxa de apresentação como regra fiscal.');
result.scenarioAmount=money(row.fxDirection==='mzn_per_unit'?convertScaledAmount(amount,fx,100000000n):(amount*100000000n+fx/2n)/fx);
--- a/resources/js/lib/iva-offer-workflow.ts
+++ b/resources/js/lib/iva-offer-workflow.ts
@@ -8,7 +8,7 @@
export function offerWrittenRequest(row:OfferPreparation,w:OfferWorkflow):string{return`Ao ${w.recipient}\nAssunto:Pedido de isenção — ${row.branch}\nEntidade/destinatário:${row.beneficiary}\nFinalidade:${row.purpose}\n${row.branch==='P084'?'Justificação do interesse público/fins sociais:'+row.evidence:'Calamidade:'+row.disaster+';finalidade humanitária:'+row.humanitarianPurpose}\nBens:${row.description}\nOperação:${row.operation};período:${row.period};valor de referência:${row.amount} ${row.currency}\nDocumentos:${row.availableDocuments||row.documentRef}\n${w.writtenRequest}\nPreparação InvesteMoz;a apresentação ocorre fora do portal. Não constitui concessão.`;}
export function offerWorkflowApplied(row:OfferPreparation):{applied:boolean;reason:string}{const w=row.workflow,r=row.request;if(!w||!r||r.state!=='granted')return{applied:false,reason:'Sem despacho de deferimento registado;mantém-se hipótese condicionada.'};if(!r.decisionRef.trim()||!validDate(r.decisionOn)||!w.decisionIssuer.trim()||!offerAttachmentValid(w.decisionAttachment))return{applied:false,reason:'Despacho recebido incompleto:número,data,emitente e anexo por registar.'};if(w.scopeConfirmed!=='yes'||w.scopeKey!==offerScopeKey(row))return{applied:false,reason:'Correspondência desta linha ao âmbito do despacho não confirmada ou dados alterados;sem extensão automática.'};if((!r.operationScope?.trim()&&r.operation&&r.operation!==row.operation)||(!r.periodScope?.trim()&&/^\d{4}-\d{2}$/.test(row.period)&&(row.period<r.periodFrom.slice(0,7)||row.period>r.periodTo.slice(0,7))))return{applied:false,reason:'A operação ou o período desta linha está fora do âmbito expresso do despacho;sem extensão automática.'};const conditions=row.branch==='P084'?[row.nationalInstitution,row.publicSocialInstitution,row.goodsSuitable,row.publicInterestUse]:[row.mitigation];if(conditions.some(v=>v!=='yes')||!row.description||!row.beneficiary||!row.purpose||!row.operation||(row.branch==='P085'&&(row.operation!=='acquisition'||!row.disaster||!row.humanitarianPurpose)))return{applied:false,reason:'Condições próprias do tratamento por demonstrar;despacho não alarga o fundamento legal.'};return{applied:true,reason:`Tratamento deferido apenas nesta linha:${r.goods};${r.operationScope||r.operation};${r.periodScope||r.periodFrom+' a '+r.periodTo};condições:${r.conditions}. Despacho${r.decisionRef},${r.decisionOn},${w.decisionIssuer}. Sem extensão às restantes linhas,períodos ou oportunidades;sem dedução automática.`};}
function validDate(v:string){const d=new Date(v+'T00:00:00Z');return /^\d{4}-\d{2}-\d{2}$/.test(v)&&Number.isFinite(d.getTime())&&d.toISOString().slice(0,10)===v;}
-export function recordOfferWorkflow(row:OfferPreparation,stage:'request'|'presented'|'decision'|'form'):OfferPreparation{
+export function recordOfferWorkflow(row:OfferPreparation,stage:'request'|'presented'|'decision'|'form'):OfferPreparation{throw new Error('Novos estados do percurso de ofertas temporariamente suspensos;rascunhos,anexos e históricos conservados.');
const w=structuredClone(row.workflow??emptyOfferWorkflow()),r=structuredClone(row.request);if(!r)throw Error('Prepare primeiro o pedido.');
if(!w.recipient.trim()||!row.beneficiary.trim()||!row.description.trim()||!row.purpose.trim()||!row.operation)throw Error('Indique entidade,finalidade,bens,operação e destinatário do pedido;rascunho incompleto pode ser guardado.');
if(stage==='presented'&&(!r.reference.trim()||!validDate(r.presentedOn)||r.state!=='presented'))throw Error('Registe referência,data e estado apresentado;submissão fora do InvesteMoz.');
--- a/resources/js/lib/iva-returnees.ts
+++ b/resources/js/lib/iva-returnees.ts
@@ -41,7 +41,7 @@
}
function key(draft:Record<string,unknown>,b:ReturneeBook){return JSON.stringify({version:1,scope:acquisitionScope(draft),currency:draft.currency,location:draft.selection_labels??{},rows:b.rows});}
export function returneeCurrent(draft:Record<string,unknown>,b:ReturneeBook){return !!b.result&&b.result.sourceKey===key(draft,b);}
-export function recordReturnees(draft:Record<string,unknown>,b:ReturneeBook):ReturneeBook{
+export function recordReturnees(draft:Record<string,unknown>,b:ReturneeBook):ReturneeBook{throw new Error('Novas versões parciaisP058 temporariamente suspensas;histórico e originais conservados.');
if(!b.rows.length||new Set(b.rows.map(r=>r.id)).size!==b.rows.length)throw Error('Identifique linhas distintas;originais preservados.');
const rows=b.rows.map(r=>evaluateReturnee(r,draft.currency));for(let i=0;i<b.rows.length;i++){const r=b.rows[i];if(!['exempt','reduced'].includes(rows[i].status))continue;if(b.rows.some((peer,j)=>j!==i&&peer.beneficiary===r.beneficiary&&peer.origin===r.origin&&date(peer.importDate)&&evaluateReturnee(peer,draft.currency).status!=='not_applicable'&&(peer.importDate<=r.importDate?r.importDate<years(peer.importDate,5):peer.importDate<years(r.importDate,5))))rows[i]={...rows[i],status:'indeterminate',importVat:null,reason:'Mais de uma linha usa o mesmo direito de veículo em cinco anos;conferir o conjunto e histórico externo,sem dupla utilização.'};}
const result:Result={revision:(b.result?.revision??0)+1,calculatedAt:new Date().toISOString(),sourceKey:key(draft,b),inputs:structuredClone(b.rows),rows};const next={...b,result,history:[...(b.history??[]),...(b.result?[b.result]:[])]};saveReturneeBook(draft,next);return next;
@@ -0,0 +1,424 @@
{
"status": "installed_P129_P133_margin_events_only_L1_open",
"candidate": "1a5f72209e4cb1ec38543f9465c59b8159dec15d",
"accepted_candidates": [
"1a5f7220"
],
"base_installed": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"coverage_complete_branches": {
"AUD-SIM-L1-P129": [
"third_party_package",
"mixed_means_special_part",
"own_means_general",
"other_name_general",
"retailer_simple_general",
"retailer_new_package",
"foreign_establishment_outside"
],
"AUD-SIM-L1-P133": [
"travel_integral_first",
"travel_start_first",
"same_day_order_not_inferred",
"partial_8c",
"partial_then_full_no_double_count",
"invoice_before_special_event",
"travel_not_started",
"suspensive_exit_14_a_b_c_d",
"regime_still_held"
]
},
"branch_count_complete": 2,
"coverage_label": "P129/P133 no âmbito demonstrado: margem e eventos, sem calcular IVA devido ou dedução; sem apuramento fiscal integral.",
"meaning": {
"P129": "Natureza e âmbito do regime38/39; meios próprios/terceiros e retalhista; margem global por operador/período do registo simulado, custos directos e exclusões41(3), excesso anterior/seguinte e base positiva com divisor1.16 arredondada à unidade. Sem IVA devido, dedução43d/campo11, regularização44 ou factura/modelo oficial emitidos.",
"P133": "Cessação efectiva de regime7(8), distinta de mudança de armazém/transferência; viagens7(9)/RIVA40 pelo primeiro entre integral e início/primeiro serviço, sem subtrair dia nem inferir ordem intradiária. Exigibilidade8 por factura/recebimento separada, incluindo sinal e saldo integral sem dupla soma. Sem montante de imposto, desembaraço, direito ou ICE apurados."
},
"examples": {
"travel_rows": 10,
"global_periods": 5,
"special_event_rows": 12
},
"fiscal_continuity": {
"parent_requirement": "AUD-SIM-INT02",
"matrix": "docs/investmoz/v2/auditoria-portal/matriz-requisitos.csv",
"manual": "docs/investmoz/unification/traceability-and-manual.md",
"implemented": "P129 margem/base global do período; P133 eventos/exigibilidade, sem calcular IVA devido ou dedução.",
"remaining": "Apuramento/liquidação fiscal restantes continuam ligados ao requisito integrado AUD-SIM-INT02; deduções, regularizações e restituições nos seus âmbitos/lotes próprios, incluindo L2/L3. A entrega P129/P133 não encerra esses trabalhos.",
"traceability": "Conserva base, moeda, operador, operação, período, datas, documentos/fontes e versões para utilização fiscal posterior; nenhuma regra/cálculo fiscal é activado por disponibilização."
},
"limitations_balance": {
"digital": "Formalidades P121/P130: modelos da declaração/mapa de retenções e procedimentos de entrega/pagamento ainda não automatizados; cobertura digital integral não declarada. Mantém-se o limite da entrega df43aeb1.",
"travel": "Cálculo limitado à base da margem do registo simulado declarado, não apuramento integral da organização. Não calcula IVA devido/dedução42/43d, não executa regularização44, não emite factura45 ou modelo oficial46(2).",
"P104": "Conversão condicionada preservada; falta regra aplicável à escolha da taxa/data.",
"P084_P085": "Rascunhos e simulação condicionada preservados; ModeloI.1 não demonstra ligação a14(3) nem benefício concedido.",
"P001": "Pendência documental limitada aos campos05/06.",
"scope": "L1 aberto; bebidas L2/L3; Estatísticas/IA adiadas."
},
"UI_delta_from_QA": "Esclarecimento textual da continuidade do trabalho fiscal, pedido pela Tempo; sem alteração de regra ou cálculo.",
"runtime_delta": [
{
"path": "resources/js/lib/iva-travel.ts",
"sha256_LF": "253efc133fd968cbec0e0f04530d8757eb5dbf686cc2baa34a92a0efe71ee2fd"
},
{
"path": "resources/js/lib/iva-travel-events.ts",
"sha256_LF": "862c2c7c584a10e51626b215b5e23cceda9ed29859180c009be41113e30d30e9"
},
{
"path": "resources/js/components/simulation-travel.tsx",
"sha256_LF": "3fc4aec2678ba8d39635affe2d1c8e1d0b8684be7532de1a45b12463789905a6"
},
{
"path": "resources/js/components/simulation-travel-events.tsx",
"sha256_LF": "0d12f7ace5d5c1488756675aab075f957d3833e059e58963cf69e5b1ea315bda"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "ed7b32c1838eebf33fbb31366dc313bcc6fe718b3ffca9a990f495fa7a0d253a"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "a63f9ee361b175718ce405a888b8fca4f1525980a3f14bcea53770f49df2aaa0"
}
],
"compiled_delta_markers_expected": [
"travel-period-margin/1",
"travel-suspensive-events/1",
"travelOperations",
"travelSpecialEvents",
"grossReceipts",
"directCosts",
"excludedCosts",
"priorExcess",
"carryForward",
"baseDivisorRate",
"priorOverride",
"travel_special",
"suspensive_exit",
"fullPaymentState",
"fullPaymentDate",
"startState",
"regimeStatus",
"cessationConfirmed",
"eventTiming",
"Continuidade do trabalho fiscal:",
"sem calcular IVA devido ou dedução",
"não ficam concluídas por esta entrega",
"Cobertura digital deste incremento:",
"Não representa cobertura digital integral"
],
"counts_before": {
"delivered": 123,
"QA": 2,
"functional_pending": 7,
"documentary": 1,
"total": 133
},
"counts_current": {
"delivered": 125,
"QA": 0,
"functional_pending": 7,
"documentary": 1,
"total": 133
},
"counts_after_delivery": {
"delivered": 125,
"QA": 0,
"functional_pending": 7,
"documentary": 1,
"total": 133
},
"QA_proofs_reused": [
"iva-l1-travel-events-qa-20261025.json"
],
"authorization": "Tempo pede entrega conjunta P129/P133 pela via Git existente, preservando alterações concorrentes e verificando apenas delta instalado; manter limitação de IVA devido/dedução ligada ao trabalho fiscal restante.",
"preservation": "123 fechos, dados, acessos, relações e histórico preservados; P104/P084/P085 parciais e formalidades digitais não automatizadas mantidos.",
"P104_closure": false,
"limits": {
"digital": "Formalidades P121/P130: modelos da declaração/mapa de retenções e procedimentos de entrega/pagamento ainda não automatizados; cobertura digital integral não declarada. Mantém-se o limite da entrega df43aeb1.",
"travel": "Cálculo limitado à base da margem do registo simulado declarado, não apuramento integral da organização. Não calcula IVA devido/dedução42/43d, não executa regularização44, não emite factura45 ou modelo oficial46(2).",
"P104": "Conversão condicionada preservada; falta regra aplicável à escolha da taxa/data.",
"P084_P085": "Rascunhos e simulação condicionada preservados; ModeloI.1 não demonstra ligação a14(3) nem benefício concedido.",
"P001": "Pendência documental limitada aos campos05/06.",
"scope": "L1 aberto; bebidas L2/L3; Estatísticas/IA adiadas."
},
"source": "RIVA Decreto7/2008,38–46,acervoBR16-I16/04/2008PDF6–8/p104–106 (6/7 conferidas visualmente,46(2) texto extraídoPDF8). CIVA Lei13/2016,4(5)/5(2),PDF7/p1426(265);7(8)/(9)/8,PDF9/p1426(267);14(1),PDF13/p1426(271),páginas visualmente conferidas. CIVA17(1),Lei22/2022PDF3,16% usado no divisor da base;Lei10/2025não altera4/7/8/17. Não confundir regime fiscal com licenciamento turístico.",
"containment": "l1-travel-events-readonly-rollback-20261025.patch, conferida sem aplicar; suspende novas versões P129/P133 e conserva leitores/histórico/outros ramos.",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"previous_release": "/var/www/investmoz-homologacao/releases/e8b5ae43add95be3a7fd437e4488befce76c0a97-7ad802df",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"release_revision": {
"commit": "df43aeb1e583e65af854ac71f46ddaa1f49b0b7c",
"branch": "main",
"built_at": "2026-10-24T23:29:21.431835+00:00",
"manifest_sha256": "42fcfc7d2fa7e7adae795927245582d1d140dd2a4fdc77164056b33de94f21e1"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-travel-events-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "c1f4d332b1157a0676e7407f65d9fecf21acd21f172904619fb964010f1091d3",
"files_sha256": "a794dd0f469aaad13e9c12f43355bcf268f4e86b0122dec9ca4b48217996e01c",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_travel_events_restore_20261025",
"port": 55441,
"source_dump_sha256": "c1f4d332b1157a0676e7407f65d9fecf21acd21f172904619fb964010f1091d3",
"active_database_writes": 0
}
},
"delivery_local_date": "2026-10-25",
"delivery_timezone": "Africa/Johannesburg",
"served_commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"previous_release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 6,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "afbafcea6281a58aa3caf990b973c04f"
},
"after": {
"rows": 106,
"checksum": "f4020894854937bb59588270290d5ca2"
}
},
"sessions": {
"before": {
"rows": 115,
"checksum": "f36dd405ca80729d500e62879a469862"
},
"after": {
"rows": 120,
"checksum": "7668b80137db2d370aacb82c6909fbe6"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"branch": "main",
"built_at": "2026-10-24T23:50:30.605375+00:00",
"manifest_sha256": "a20890098748b87f8920ab98577acd584ea1ad7e839f745fd23858666c35642a"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"travel-period-margin/1": [
"assets/project-dossier-D2432B9d.js"
],
"travel-suspensive-events/1": [
"assets/project-dossier-D2432B9d.js"
],
"travelOperations": [
"assets/project-dossier-D2432B9d.js"
],
"travelSpecialEvents": [
"assets/project-dossier-D2432B9d.js"
],
"grossReceipts": [
"assets/project-dossier-D2432B9d.js"
],
"directCosts": [
"assets/project-dossier-D2432B9d.js"
],
"excludedCosts": [
"assets/project-dossier-D2432B9d.js"
],
"priorExcess": [
"assets/project-dossier-D2432B9d.js"
],
"carryForward": [
"assets/project-dossier-D2432B9d.js"
],
"baseDivisorRate": [
"assets/project-dossier-D2432B9d.js"
],
"priorOverride": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"travel_special": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"suspensive_exit": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"fullPaymentState": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"fullPaymentDate": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"startState": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"regimeStatus": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"cessationConfirmed": [
"assets/project-dossier-D2432B9d.js",
"assets/services-BCFwhEo3.js"
],
"eventTiming": [
"assets/project-dossier-D2432B9d.js"
],
"Continuidade do trabalho fiscal:": [
"assets/services-BCFwhEo3.js"
],
"sem calcular IVA devido ou dedução": [
"assets/services-BCFwhEo3.js"
],
"não ficam concluídas por esta entrega": [
"assets/services-BCFwhEo3.js"
],
"Cobertura digital deste incremento:": [
"assets/services-BCFwhEo3.js"
],
"Não representa cobertura digital integral": [
"assets/services-BCFwhEo3.js"
]
},
"assets": [
{
"file": "assets/project-dossier-D2432B9d.js",
"status": 200,
"sha256": "df9bca2385332d624360828dd37c07afbdd69a449fdc0b345f4b4d0e5eb2b1e5"
},
{
"file": "assets/services-BCFwhEo3.js",
"status": 200,
"sha256": "83e6989ef8e29146a8ec5d64b514b637d706d15c4cc91f04363bbcbce3a486a3"
},
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
},
{
"file": "assets/project-dossier-document-pJfkPQcV.js",
"status": 200,
"sha256": "150d63c98fbe3814ce7fe40f27af802af88e1b629302b7c630065479dbd58daf"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-DlWp3NMy.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"previous_release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "a48e9749799b7ed0ad370e23c2fda2bab06150d0",
"release": "/var/www/investmoz-homologacao/releases/a48e9749799b7ed0ad370e23c2fda2bab06150d0-4bcb51fd",
"previous_release": "/var/www/investmoz-homologacao/releases/df43aeb1e583e65af854ac71f46ddaa1f49b0b7c-657a60cb",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"a48e9749799b7ed0ad370e23c2fda2bab06150d0"
],
"finished_at": "2026-10-24T23:50:33.760342+00:00"
},
"log_file": "1792885713880205022.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 28.68s",
"OK (59 tests, 317 assertions)",
"# tests 549",
"# pass 549",
"# fail 0"
],
"log_bytes": 173885
},
"rollback_executed": false
},
"activation": "One joint Git fast-forward/webhook/installer; zero migrations/imports; accepted QA proofs reused",
"IVA_due_calculation": false,
"deduction_calculation": false
}
@@ -0,0 +1,22 @@
--- a/resources/js/lib/iva-travel.ts
+++ b/resources/js/lib/iva-travel.ts
@@ -87,7 +87,7 @@
}
function key(draft:Record<string,unknown>,book:TravelBook):string{return JSON.stringify({version:travelVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},currency:draft.currency,rows:book.rows,periods:book.periods});}
export function travelCurrent(draft:Record<string,unknown>,book:TravelBook):boolean{return!!book.result&&book.result.sourceKey===key(draft,book);}
-export function recordTravel(draft:Record<string,unknown>,book:TravelBook):TravelBook{
+export function recordTravel(draft:Record<string,unknown>,book:TravelBook):TravelBook{throw new Error('Novas versões P129 temporariamente suspensas; dados, histórico e relatórios conservados.');
const costIds=book.rows.flatMap(r=>r.costs.map(c=>c.id));
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length||new Set(book.rows.map(r=>r.operatorRef+'|'+r.period+'|'+r.operationRef)).size!==book.rows.length||new Set(costIds).size!==costIds.length||new Set(book.periods.map(p=>p.id)).size!==book.periods.length||new Set(book.periods.map(p=>p.operatorRef+'|'+p.period)).size!==book.periods.length)throw new Error('Identidades de operações/custos/períodos devem ser distintas; evite dupla soma, originais conservados.');
const rows=book.rows.map(row=>evaluateTravel(row,draft.currency));const result:TravelCalculation={version:travelVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:travelSource,inputs:structuredClone(book.rows),periodInputs:structuredClone(book.periods),rows,periods:evaluateTravelPeriods(book,rows)};
--- a/resources/js/lib/iva-travel-events.ts
+++ b/resources/js/lib/iva-travel-events.ts
@@ -88,7 +88,7 @@
}
function key(draft:Record<string,unknown>,book:TravelEventBook):string{return JSON.stringify({version:travelEventVersion,scope:acquisitionScope(draft),location:draft.selection_labels??{},rows:book.rows,dependencies:book.rows.map(row=>row.treatment==='travel_special'?travelEventSources(draft).find(s=>s.id===row.travelRowId):null)});}
export function travelEventCurrent(draft:Record<string,unknown>,book:TravelEventBook):boolean{try{return!!book.result&&book.result.sourceKey===key(draft,book);}catch{return false;}}
-export function recordTravelEvents(draft:Record<string,unknown>,book:TravelEventBook):TravelEventBook{
+export function recordTravelEvents(draft:Record<string,unknown>,book:TravelEventBook):TravelEventBook{throw new Error('Novas versões P133 temporariamente suspensas; dados, histórico e relatórios conservados.');
if(!book.rows.length||new Set(book.rows.map(r=>r.id)).size!==book.rows.length)throw new Error('Identifique eventos distintos; originais conservados.');
const result:TravelEventCalculation={version:travelEventVersion,revision:(book.result?.revision??0)+1,calculatedAt:new Date().toISOString(),opportunity:acquisitionScope(draft),sourceKey:key(draft,book),source:travelEventSource,inputs:structuredClone(book.rows),rows:book.rows.map(row=>evaluateTravelEvent(draft,row))};
const next={...book,result,history:[...(book.history??[]),...(book.result?[book.result]:[])]};saveTravelEventBook(draft,next);return next;
@@ -0,0 +1,55 @@
{
"state": "L2-A concluído em QA no âmbito demonstrado; não instalado",
"matrix_anchor": "AUD-SIM-INT02",
"installed_revision": "ada9629b",
"installed_receipt": "7febb6f7",
"l1": {
"state": "operacional com limitações explícitas",
"delivered": 129,
"functional_residuals": [
"P058",
"P084",
"P085"
],
"documentary_residual": "P001 — exclusivamente correspondência05/06"
},
"scope": "Extensão dos livros de compras e da classificação existentes. Aquisições internas MZN/2026,afectação exclusiva,documento e dedução no mesmo período,sem despesas especiais. Vínculo explícito à operação; motivos e fontes individuais; elegível/sem direito/indeterminado. Projecção permanece pressuposto. Sem reconstruir o motor.",
"reuse": "Documento,valores,moeda,período e edições deliberadas preservados. Seleccionar origem existente reutiliza classificação,sem copiar valor da venda para compra nem criar segunda aquisição. Operação alterada exige adopção expressa e revisão da afectação.",
"preservation": "Histórico congelado,sem recálculo automático. Livros anteriores sem vínculo conservam cálculo e chaves anteriores. Livro que iniciaL2-A conserva essa versão ao remover vínculos: informação em falta permanece indeterminada. Todos os mapas anteriores da fixture comparados integralmente em frontend e API.",
"legal_delta": "Cotejo delimitado de fontes oficiais já aceites:Lei13/2016 PDF15/p1426(273),art19(1);Lei10/2025 PDF13/p2180(13),18(2)/19(2).17-A sem direito apesar de IVA liquidado. Não inferir direito pela caixa05/06/07 ou IVAzero. Correspondência não implementada fica indeterminada.",
"F": {
"accompanies": "L2-A",
"example_MZN": {
"base14": "500.00",
"deduction15": "48.00",
"output16": "21.00",
"difference17": "0.00",
"difference18": "27.00"
},
"missing_document": "Campos09/15/17/18 indeterminados,sem substituir porzero.",
"duplicate_guard": "Mesma linha de factura em projecção/efectivo bloqueada no livro; operações de outras oportunidades não são consolidadas silenciosamente.",
"not_included": "Campos19–27,créditos anteriores,pagamentos/reembolsosL3; diferenças17/18 não equivalem a ordem de pagamento/reembolso."
},
"validation": {
"frontend": "16 testes dirigidos, incluindo12 anteriores reutilizados de compras/continuidade e4 novos de direito",
"api": "1teste/74asserções;DatabaseTransactions rollback;guardcurrent_database=simulator_fiscal_delta_20261021_test,port55441",
"types": "npm.cmd run types:check passou",
"build": "npm.cmd run build passou",
"ui": "Componente real em127.0.0.1:18708;posse em falta→Indeterminado→gravarficheiroQA→recuperar→relatório com motivo/fonte;API privada conferida separadamente",
"ui_proof": "outputs/iva-l2-a-20261025/ui-recovered-report.png"
},
"remaining_dependencies": {
"B_C": "Preparar conjuntamente quando compatíveis:documento aduaneiro/importação e exclusões/excepções;não tratar fornecedor estrangeiro como fornecedor interno. Bebidas permanecem no âmbitoL2/L3.",
"D": "Afectação parcial/pro rata e proporções específicas18(6);não presumir dedução integral.",
"E": "Regularizações dependem de evento,documento e histórico original;sem recalcular versões anteriores.",
"F": "Repetir sódelta dos totais afectados em cada incremento."
},
"active_writes": false,
"schema_changes": false,
"hashes": {
"resources/js/lib/iva-acquisition-right.ts": "ba63b02a99f476ae035a9301fdab6558363c603470e3f5f1e8ee061a6fbf9ed5",
"resources/js/lib/iva-acquisitions.ts": "3eff66925378d81353b6c9d3dccf1ca53f9fc5ad5ba3eef963d7ce47c0b1d2b0",
"resources/js/components/acquisition-operation-link.tsx": "8cb2afa1048507733d1a8e26f99a982858c86749fa8595655e17195477e20c1c",
"resources/js/components/simulation-acquisitions.tsx": "2595d6667b3adebba631ff6aa56490d1fdb8c4fdc127aa54234318006d42d8eb"
}
}
@@ -0,0 +1,323 @@
{
"status": "installed_L2_ABC_demonstrated_scope_F_affected_totals",
"base_installed": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"base_receipt": "7febb6f7",
"accepted_A_candidate": "56c948ec",
"coverage_complete_in_demonstrated_scope": [
"L2-A",
"L2-B",
"L2-C"
],
"F": "Totais afectados incluídos emA eB/C;provas individuais reutilizadas.",
"reports": [
"docs/investmoz/simulations/l2-a-acquisition-right-qa-20261025.json",
"docs/investmoz/simulations/l2-bc-imports-exclusions-qa-20261025.json"
],
"runtime_delta": [
{
"path": "resources/js/lib/iva-acquisitions.ts",
"sha256_LF": "5c75d86e3cffda929fffc56a2613cebf26031c0c0bd466fab33887354ffb8281"
},
{
"path": "resources/js/lib/iva-acquisition-right.ts",
"sha256_LF": "1df109ef6eea9e370fa3ecb33993296e260cfb77b6adc8e4f414e5bda655c895"
},
{
"path": "resources/js/lib/iva-acquisition-bc.ts",
"sha256_LF": "14035966df3c680df6ac1b03f2cef8083fa5f67533deb9d98905f51c0bc1110d"
},
{
"path": "resources/js/components/simulation-acquisitions.tsx",
"sha256_LF": "efdc16a84cc64f47b2c587651f966f9dcfd57f1fe534645725629973ce92e12e"
},
{
"path": "resources/js/components/acquisition-operation-link.tsx",
"sha256_LF": "e6894e4986a2293b0d2cd9743074f045dc8e5c50610cb9d09a625108b4561144"
},
{
"path": "resources/js/components/acquisition-imports-exclusions.tsx",
"sha256_LF": "8f84ffeeafc7afeefcf64cd99df7bf84c16a9cc92432e215f7b48feb24d5b7d1"
}
],
"preservation": {
"state": "operacional com limitações explícitas",
"delivered": 129,
"functional_pending": [
"P058",
"P084",
"P085"
],
"documentary_pending": "P001 — exclusivamente05/06",
"no_reopening": true
},
"excluded": {
"D": "Afectação mista/pro rata e proporções específicas18(6) não implementadas neste conjunto. Gasóleo50% é regraC,sem fecharD.",
"E": "Activos/regularizações por evento e resultado original ainda seguem dependências próprias.",
"L3": "Bebidas por restituição,créditos anteriores,saldo final e formulários continuam no âmbitoL3.",
"L1": "129fechos e quatro residuais preservados;Estatísticas/IA adiadas."
},
"delivery_process": "Uma integração/backup/restauro/conferência do delta pelo processoGit existente. Rever concorrência imediatamente antes da instalação. Não há instalação/backup novo efectuado nesta preparação.",
"schema_changes": false,
"active_writes": "Git release installation only;no migrations/imports/history recalculation",
"candidate": "fc7e590d4e56e28035e45aa9a7917da7d6c2890d",
"accepted_candidates": [
"56c948ec",
"fc7e590d"
],
"coverage_label": "L2-A/B/C no âmbito demonstrado;F nos totais afectados. Não fechaD/E,L3 ou os quatro residuaisL1.",
"compiled_delta_markers_expected": [
"acquisition-imports-exclusions/1",
"Bilhete de despacho de importação",
"Exigibilidade do IVA aduaneiro",
"Via de dedução13(2)",
"Gasóleo20(1)(b):dedução50%",
"Telefone fixo em nome do sujeito passivo",
"Documento/linha repetido entre projecção e efectivo",
"fxSelection",
"formDecisionHash",
"Não representa cobertura digital integral"
],
"authorization": "Tempo25/10 pede entrega agrupada da candidatafc7e590d,pelo processoGit existente,backup/restauro e delta instalado;depoisD eE pelas dependências.",
"documentary_delta": [
{
"path": "docs/investmoz/simulations/source-archive/Lei-13-2016-CIVA-BR-156-10-suplemento.pdf",
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b"
},
{
"path": "docs/investmoz/simulations/source-archive/Lei-22-2022-IVA-republicada-BR-250-2-suplemento.pdf",
"sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53"
},
{
"path": "docs/investmoz/simulations/source-archive/BR-248-I-Suplemento-1-2025.pdf",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251"
}
],
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"previous_release": "/var/www/investmoz-homologacao/releases/e38aa74920412e545213b35b7585c847a0b8a969-c2a813e8",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"release_revision": {
"commit": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"branch": "main",
"built_at": "2026-10-25T09:52:26.492458+00:00",
"manifest_sha256": "d74ef12d0fa825df158d7debd86e74939cf79c15be4f56663eceebde001f91c8"
},
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"configuration_keys": [
"repository",
"branch",
"target_url",
"legacy_root",
"state_root",
"release_root",
"current_link",
"shared_assets",
"php",
"schema_contract",
"ci_environment",
"postgis_image",
"test_database",
"qa_port",
"retention",
"webhook_secret_file"
],
"safe_paths": {
"repository": "nala/Investidor-V2",
"release_root": "/var/www/investmoz-homologacao/releases",
"postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
},
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l2-abc-delivery-20261025/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "75a4303a7c2099e6fa61a44ee3b6edb85c3245d5083976cf9c18960f927b15af",
"files_sha256": "4f44b96098893075b90ef52d1acb50faf52654a877c338518d3cd944bfad6712",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l2_abc_restore_20261025",
"port": 55441,
"source_dump_sha256": "75a4303a7c2099e6fa61a44ee3b6edb85c3245d5083976cf9c18960f927b15af",
"active_database_writes": 0
}
},
"served_commit": "819ae791e9f3a7347ec8c804f58e6cc34a22cfaf",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "819ae791e9f3a7347ec8c804f58e6cc34a22cfaf",
"release": "/var/www/investmoz-homologacao/releases/819ae791e9f3a7347ec8c804f58e6cc34a22cfaf-1b2bd7df",
"previous_release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 6,
"documentary_files_verified": 3,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 106,
"checksum": "c11b8f23025be92ba2d34051e3bc0a60"
},
"after": {
"rows": 106,
"checksum": "3843fb5b12061e89a660436cf6c1b56a"
}
},
"sessions": {
"before": {
"rows": 133,
"checksum": "082bb777cce1052323ed4611444d1510"
},
"after": {
"rows": 134,
"checksum": "7567a4db35e2daa0549d6dee60b60651"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "819ae791e9f3a7347ec8c804f58e6cc34a22cfaf",
"branch": "main",
"built_at": "2026-10-25T10:43:59.555868+00:00",
"manifest_sha256": "2585604e0619d796c3e1e541d316c66b267691ba83cc55b305721f2f50f197f1"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"acquisition-imports-exclusions/1": [
"assets/project-dossier-DlR10S8z.js"
],
"Bilhete de despacho de importação": [
"assets/services-DHnjZGhf.js",
"assets/project-dossier-DlR10S8z.js"
],
"Exigibilidade do IVA aduaneiro": [
"assets/project-dossier-DlR10S8z.js"
],
"Via de dedução13(2)": [
"assets/project-dossier-DlR10S8z.js"
],
"Gasóleo20(1)(b):dedução50%": [
"assets/project-dossier-DlR10S8z.js"
],
"Telefone fixo em nome do sujeito passivo": [
"assets/project-dossier-DlR10S8z.js"
],
"Documento/linha repetido entre projecção e efectivo": [
"assets/project-dossier-DlR10S8z.js"
],
"fxSelection": [
"assets/services-DHnjZGhf.js",
"assets/project-dossier-DlR10S8z.js"
],
"formDecisionHash": [
"assets/project-dossier-DlR10S8z.js"
],
"Não representa cobertura digital integral": [
"assets/services-DHnjZGhf.js"
]
},
"assets": [
{
"file": "assets/services-DHnjZGhf.js",
"status": 200,
"sha256": "dfa7c53df2877d80c413956fdff06261d657b7e719950f04b0321a45dce981a9"
},
{
"file": "assets/simulation-form-BqVD91Ek.js",
"status": 200,
"sha256": "85cbd533c5bc92af5a448db71da006d4346d2d0adb09dde825db0aa19ad5048c"
},
{
"file": "assets/project-dossier-document-DklRdsBS.js",
"status": 200,
"sha256": "506bc83ce2827592b1511894d2f9c094798b8f699f1d71515fb0f9c3e908e8c1"
},
{
"file": "assets/project-dossier-DlR10S8z.js",
"status": 200,
"sha256": "0662c5f9c5f6885376ef083780520c62520edef93e4e7c81a21dac43a7a69352"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-Dn8xqseO.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "819ae791e9f3a7347ec8c804f58e6cc34a22cfaf",
"release": "/var/www/investmoz-homologacao/releases/819ae791e9f3a7347ec8c804f58e6cc34a22cfaf-1b2bd7df",
"previous_release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "819ae791e9f3a7347ec8c804f58e6cc34a22cfaf",
"release": "/var/www/investmoz-homologacao/releases/819ae791e9f3a7347ec8c804f58e6cc34a22cfaf-1b2bd7df",
"previous_release": "/var/www/investmoz-homologacao/releases/ada9629bb65ba186f54d970f0e41194888ebf53b-9238f6ba",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"819ae791e9f3a7347ec8c804f58e6cc34a22cfaf"
],
"finished_at": "2026-10-25T10:44:02.825192+00:00"
},
"log_file": "1792924914229120853.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 29.22s",
"OK (59 tests, 317 assertions)",
"# tests 690",
"# pass 690",
"# fail 0"
],
"log_bytes": 202199
},
"rollback_executed": false
},
"next": "D:affectation partial/proportions;E by effective dependencies",
"L1": "operacional com limitações explícitas;129entregues+P058/P084/P085+P001=133;sem reabertura",
"beverage_refund": "L3,not delivered here"
}
@@ -0,0 +1,62 @@
{
"status": "prepared_not_installed",
"base_installed": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"base_receipt": "7febb6f7",
"accepted_A_candidate": "56c948ec",
"coverage_complete_in_demonstrated_scope": [
"L2-A",
"L2-B",
"L2-C"
],
"F": "Totais afectados incluídos emA eB/C;provas individuais reutilizadas.",
"reports": [
"docs/investmoz/simulations/l2-a-acquisition-right-qa-20261025.json",
"docs/investmoz/simulations/l2-bc-imports-exclusions-qa-20261025.json"
],
"runtime_delta": [
{
"path": "resources/js/lib/iva-acquisitions.ts",
"sha256_LF": "5c75d86e3cffda929fffc56a2613cebf26031c0c0bd466fab33887354ffb8281"
},
{
"path": "resources/js/lib/iva-acquisition-right.ts",
"sha256_LF": "1df109ef6eea9e370fa3ecb33993296e260cfb77b6adc8e4f414e5bda655c895"
},
{
"path": "resources/js/lib/iva-acquisition-bc.ts",
"sha256_LF": "14035966df3c680df6ac1b03f2cef8083fa5f67533deb9d98905f51c0bc1110d"
},
{
"path": "resources/js/components/simulation-acquisitions.tsx",
"sha256_LF": "efdc16a84cc64f47b2c587651f966f9dcfd57f1fe534645725629973ce92e12e"
},
{
"path": "resources/js/components/acquisition-operation-link.tsx",
"sha256_LF": "e6894e4986a2293b0d2cd9743074f045dc8e5c50610cb9d09a625108b4561144"
},
{
"path": "resources/js/components/acquisition-imports-exclusions.tsx",
"sha256_LF": "8f84ffeeafc7afeefcf64cd99df7bf84c16a9cc92432e215f7b48feb24d5b7d1"
}
],
"preservation": {
"state": "operacional com limitações explícitas",
"delivered": 129,
"functional_pending": [
"P058",
"P084",
"P085"
],
"documentary_pending": "P001 — exclusivamente05/06",
"no_reopening": true
},
"excluded": {
"D": "Afectação mista/pro rata e proporções específicas18(6) não implementadas neste conjunto. Gasóleo50% é regraC,sem fecharD.",
"E": "Activos/regularizações por evento e resultado original ainda seguem dependências próprias.",
"L3": "Bebidas por restituição,créditos anteriores,saldo final e formulários continuam no âmbitoL3.",
"L1": "129fechos e quatro residuais preservados;Estatísticas/IA adiadas."
},
"delivery_process": "Uma integração/backup/restauro/conferência do delta pelo processoGit existente. Rever concorrência imediatamente antes da instalação. Não há instalação/backup novo efectuado nesta preparação.",
"schema_changes": false,
"active_writes": false
}
@@ -0,0 +1,103 @@
{
"status": "L2-B/C concluídos em QA no âmbito demonstrado;preparação de entrega conjunta comA,sem instalação",
"matrix_anchor": "AUD-SIM-INT02",
"base_installed": "ada9629bb65ba186f54d970f0e41194888ebf53b",
"base_receipt": "7febb6f7",
"included_A_candidate": "56c948ec",
"main_fetch": "git fetch origin main obtido com sucesso;main permaneceada9629b",
"L1": {
"state": "operacional com limitações explícitas",
"delivered": 129,
"functional_pending": [
"P058",
"P084",
"P085"
],
"documentary_pending": "P001 — exclusivamente05/06",
"no_reopening": true
},
"B": {
"coverage": "Documento aduaneiro próprio,campo11,titularidade/importador,bens/linha,fonte de IVA e exigibilidade no mês declarado;posse,forma legal,integridade,direito e afectação da aquisição. Não exige fornecedor estrangeiro inscrito no IVA interno nem regra17-A de factura interna.",
"amount": "IVA expresso no bilhete/pressuposto basta;líquido/bruto opcionais,conservados se conhecidos.Não infere IVA da diferença de custos nem da classificaçãoL1;IVA isento/zero só contribui0 com montante0 expresso.Montante desconhecido permanece indeterminado.Sem calcular direitosL13.",
"reuse": "Reutiliza importações dos livrosL1 da mesma oportunidade:descrição,importador,documento/data/período apenas se vazios;montantes e edições deliberadas conservados. Mudança da origem invalida cálculo actual e pede adopção expressa;histórico não é recalculado.",
"coverage_control": "Todas as importações do período precisam cobertura própria,distinta de08–10. Não declarar ausência11 quando há importações.",
"anti_duplication": "Documento/linha repetido entre efectivo/projecção impedido;IVA próprio dos bens separado do serviço incluído na base. OrigemL1 que seja serviço12(1)e não pode fornecer IVA próprio dos bens no campo11."
},
"C": {
"coverage": [
"20(1)a:veículos/bens abrangidos e excepção de venda/exploração20(3)a",
"20(1)b:combustíveis;gasóleo50%;integral nos quatro usos específicos confirmados;revenda com fundamento próprio",
"20(1)c:transportes/viagens do sujeito passivo/pessoal",
"20(1)d:alojamento/alimentação,bebidas/tabaco/recepção;excepção de viajante comercial por conta própria20(3)b restrita a alojamento/alimentação",
"20(1)e:comunicações telefónicas,excepto telefone fixo em nome do sujeito passivo",
"20(1)f:divertimento/luxo segundo natureza/montante e exploração normal declarados",
"20(2),redacçãoLei22/2022:IVA suportado em fornecimento17-A excluído,distinto do destino19(2)",
"Bebidas13(2):via de dedução ligada a origemL1 actualc/d/h,condições,afectação e parcela exclusivamente para dedução;d exige excluir provisões de pesca costeira. Não estende a e,tabaco ou recepção;sem isenção directa ou restituiçãoL3."
],
"precision": "Percentagens aplicadas à dedução,sem inventar taxaIVA/pro rata. Fracções exactas dedutível/não dedutível conservadas;totais não somam apresentações arredondadas.",
"unknown": "Facto/fonte/categoria por esclarecer permanece indeterminado;escolha de excepção não dispensa documento,direito ou afectação exclusiva.",
"source_cotejo": [
"Lei13/2016 PDF12,p1426(270),13(2–3);PDF14,p1426(272),18(1)b;PDF15,p1426(273),18–21",
"Lei22/2022 PDF3,p2252(27),20(2–3),renumeração das excepções",
"Lei10/2025 PDF13,p2180(13),18(2)/19(2)"
]
},
"F": {
"included_each_increment": true,
"example_MZN": {
"09": "24.00",
"11": "16.00",
"14": "1000.00",
"15": "40.00",
"16": "160.00",
"17": "120.00",
"18": "0.00"
},
"unknown_import": "11/15/17/18 indeterminados;semzero presumido.",
"exact_diesel_test": "Duas parcelas deIVA0.000001×50%=1/2000000 cada,total exacto1/1000000;sem dupla aproximação.",
"limit": "17/18 antes de créditos anteriores;19–27,restituição/pagamentoL3 fora deste incremento."
},
"validation": {
"frontend": "21testes dirigidos:16anteriores deA/compras/continuidade e5novosB/C,com múltiplos cenários por família",
"api": "1teste/80asserções,guardcurrent_database=simulator_fiscal_delta_20261021_test/port55441,DatabaseTransactions rollback;A e todos os mapas anteriores preservados integralmente",
"types": "npm.cmd run types:check passou",
"build": "npm.cmd run build passou após encerrar servidoresQA temporários e reduzir concorrência de memória",
"ui": "Componente real:origemL1 reutilizada sem sobrescrita;IVA desconhecido→11/totais indeterminados;reposição de montante identificado→calcular→gravar→recuperar→relatório dos totais",
"ui_proof": "outputs/iva-l2-bc-20261025/ui-recovered-totals.png",
"resource_incident": "Última repetição deAPI/build encontrou falta de memória do Windows;servidores de demonstraçãoA/B/C encerrados;API,tipos e build repetidos sequencialmente. Não alterou activo ou limites de memória/configuração do sistema."
},
"remaining": {
"D": "Afectação mista/pro rata e proporções específicas18(6) não implementadas neste conjunto. Gasóleo50% é regraC,sem fecharD.",
"E": "Activos/regularizações por evento e resultado original ainda seguem dependências próprias.",
"L3": "Bebidas por restituição,créditos anteriores,saldo final e formulários continuam no âmbitoL3.",
"L1": "129fechos e quatro residuais preservados;Estatísticas/IA adiadas."
},
"active_writes": false,
"schema_changes": false,
"runtime_delta": [
{
"path": "resources/js/lib/iva-acquisitions.ts",
"sha256_LF": "5c75d86e3cffda929fffc56a2613cebf26031c0c0bd466fab33887354ffb8281"
},
{
"path": "resources/js/lib/iva-acquisition-right.ts",
"sha256_LF": "1df109ef6eea9e370fa3ecb33993296e260cfb77b6adc8e4f414e5bda655c895"
},
{
"path": "resources/js/lib/iva-acquisition-bc.ts",
"sha256_LF": "14035966df3c680df6ac1b03f2cef8083fa5f67533deb9d98905f51c0bc1110d"
},
{
"path": "resources/js/components/simulation-acquisitions.tsx",
"sha256_LF": "efdc16a84cc64f47b2c587651f966f9dcfd57f1fe534645725629973ce92e12e"
},
{
"path": "resources/js/components/acquisition-operation-link.tsx",
"sha256_LF": "e6894e4986a2293b0d2cd9743074f045dc8e5c50610cb9d09a625108b4561144"
},
{
"path": "resources/js/components/acquisition-imports-exclusions.tsx",
"sha256_LF": "8f84ffeeafc7afeefcf64cd99df7bf84c16a9cc92432e215f7b48feb24d5b7d1"
}
]
}
@@ -0,0 +1,101 @@
{
"status": "L2-D concluído em QA no âmbito demonstrado;F acompanha;sem instalação deD",
"matrix_anchor": "AUD-SIM-INT02",
"installed_revision": "819ae791",
"installed_receipt": "855ab066",
"L1": {
"delivered": 129,
"functional_residuals": [
"P058",
"P084",
"P085"
],
"documentary_residual": "P001 — exclusivamente05/06",
"state": "operacional com limitações explícitas;sem reabertura"
},
"implemented": {
"actual": "22(2):numerador/denominador,mesma unidade/critério,âmbito e fonte;comunicação prévia referenciada e condições concretamente aplicáveis. Sem aprovador novo. Fracção real exacta,sem arredondamento de pro rata.",
"pro_rata": "22(1)/(4)/(5)/(6)/(7)/(8):bases anuais semIVA,numerador com direito18/19,denominador de todas operações incluindo fora de campo;exclui vendas de activo usado e operações imobiliárias/financeiras acessórias. Provisório do ano anterior ou estimativa expressa de início/alteração substancial com referência da declaração. Quociente arredondado à centésima superior;original e aplicado conservados. Imposição concreta de afectação real22(3) não é substituída por pro rata.",
"specific_18_6": "Reutiliza origem actual e demonstradaP096/P097/P098/P099,no mesmo âmbito por oportunidade,com proporções62/85/40/75%. Aquisição exclusivamente afecta à origem;alteração/invalidação da origem pede adopção expressa,sem recalcular histórico. Sem segunda redução da base e sem taxaIVA inferida.",
"conditions_ABC": "Condições própriasA/B/C permanecem. ExclusãoC não é afastada porD;combustível50% compõe-se uma única vez com a afectaçãoD. Documento aduaneiro mantém titularidade,IVA próprio,exigibilidade/posse e cobertura11,sem fornecedor interno.",
"reuse": "Reutiliza livro/documento,valores,moeda,mês,condições e referências existentes;19(2) já declarado no vínculo pode ser reutilizado. Campos anuais/critério/comunicação apenas onde necessários;vínculoA conservado,sem o reinterpretar como âmbito misto. Mudanças deliberadas/históricos preservados."
},
"F": {
"example_MZN": {
"09": "13.44",
"11": "10.72",
"14": "1000.00",
"15": "24.16",
"16": "160.00",
"17": "135.84",
"18": "0.00"
},
"exact_composition": "16×1/3=16/3;gasóleo16×50%×1/3=8/3;pro rata1/3→34%,2/3→67%;somar fracções exactas antes da apresentação decimal.",
"incomplete_parameters": "Denominador ausente/zero,numerador maior que denominador,factos/fontes/ano por esclarecer→indeterminado,não0/100% presumidos.",
"output_limit": "Existindo bases reduzidas no mesmo âmbito/período,IVA liquidado ainda não consolidado impede totais14/16/17/18 completos,mesmo se não são a origem directa da aquisição seleccionada. Dedução15 conserva apuramento próprio. Adicionar/alterar essas origens invalida a versão actual do apuramentoD.",
"specific_example_MZN": {
"15": "6.40",
"14": null,
"16": null,
"17": null,
"18": null
},
"L3": "19–27,créditos anteriores,pagamento/reembolso e restituição de bebidas fora deste incremento."
},
"validation": {
"frontend": "26testes dirigidos no conjunto;21anteriores deABC/compras/continuidade reutilizados e5novosD. Os5D repetidos após os ajustes finais de fonte/guardaF:todos passaram.",
"api": "1teste/89asserções;current_database=simulator_fiscal_delta_20261021_test,port55441;DatabaseTransactions rollback. Gravação/recuperação conserva fracções,factos,método,referências,histórico e todos os mapas anterioresABC/L1.",
"types": "npm.cmd run types:check passou",
"build": "npm.cmd run build passou",
"ui": "Componente real;denominador0→totais indeterminados;reutilização de origem18(6);dois âmbitos sintéticos separados,gravar→recuperar→relatório.",
"proofs": [
"outputs/iva-l2-d-20261025/ui-recovered-totals.png",
"outputs/iva-l2-d-20261025/ui-reduced-output-limit.png"
],
"preservation": "129linhasL1 entregues e quatro residuais comparados sem alterações;livrosABC comparados integralmente e mantidos actuais."
},
"scope_limits": [
"Combinação de18(6)com afectação mista não demonstrada:não aplicar produto genérico de percentagens.",
"Bases reduzidas mantêm limitação de IVA liquidado/fecho integral dos totais explicitamente identificada.",
"Excepções ministeriais específicas22(9),ou condições/imposições concretas não identificadas,não são inventadas nem activadas genericamente.",
"Pro rata é provisório;regularização anual22(6) depende do resultado histórico e dos valores anuais efectivos emE.",
"Activos/outros motivos de regularização não são concluídos por este incrementoD."
],
"E_next_by_dependency": {
"first_executable": "Acerto anual22(6) do pro rata provisório:seleccionar resultadoD congelado,ano/âmbito e parcela original;registar bases anuais finais22(4–5)/quociente22(8);calcular diferença face ao efectivamente deduzido,no último período do ano,com evento único e sentidos12/13 separados. Não substituir o histórico.",
"reused_from_D": [
"Identidade da aquisição/documento/linha",
"Moeda/período/âmbito",
"IVA elegível antesD (já limitado porC)",
"Quociente original e aplicado",
"Deduções exactas e não dedutível",
"Revisão,data/fontes e resultados congelados"
],
"other_motives": "Activos e restantes regularizações seguem documento/evento/prazo e fonte específicos;não recebem regra genérica de percentagem anual. A divergência textual de remissões11/12 versus caixas12/13 permanece identificada separadamente deP001.",
"code_status": "E ainda não implementado;dependênciaD agora disponível emQA. Isto não declaraE entregue nem fechaL2."
},
"schema_changes": false,
"active_writes": false,
"runtime_delta": [
{
"path": "resources/js/lib/iva-acquisitions.ts",
"sha256_LF": "7933ca0a080af2b8ea3a8ee02f75dd4151a3452da161911960c877f5c404a2e1"
},
{
"path": "resources/js/lib/iva-acquisition-bc.ts",
"sha256_LF": "4ce47274449e075e5e22a02f7bc497e4df6925c1d628f1e9cd057748d016012f"
},
{
"path": "resources/js/lib/iva-acquisition-allocation.ts",
"sha256_LF": "df960bab63e89c3b3cea3c61b5c57481194b19d5dd0894830a181cdbe10dc972"
},
{
"path": "resources/js/components/simulation-acquisitions.tsx",
"sha256_LF": "c11971ff255db1faced4c5cd0f48587f66565a2c4d58f7e786bb8e01214be9e2"
},
{
"path": "resources/js/components/acquisition-allocation.tsx",
"sha256_LF": "222204ee4c699b2cbddb9cb921a37397f6be313a215905163ee135aa2b26f104"
}
]
}

Some files were not shown because too many files have changed in this diff Show More