commit melhorias compras6
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-23 06:37:16 +02:00
parent db1615fac1
commit dc73540558
73 changed files with 7539 additions and 175 deletions
@@ -0,0 +1,72 @@
{
"date": "2026-11-22",
"status": "prepared_awaiting_specific_qa_financial_contract_authorization",
"source_requirements": "rq01-import-reconciliation.json",
"source_sha256": "9646630ac9b7e08cf84f3e93efc6cf1a90657cdc3e59d680621b74238d3a7408",
"functional_source_sections": [
"10.1",
"10.4",
"10.6",
"10.8"
],
"problem": "The existing common budget source and native invoice principal cover the supplier goods purchase. Landed cost also includes carrier/insurer/customs components with different native documentary origins; adding them to a supplier invoice would fabricate a debt or duplicate another principal. The order-parts authorization does not establish those new financial origins.",
"current_common_source_sha256": "6c4d043fb505622649e03cca510f7027cdb511e713c43c9a6ac4447661c3f9ee",
"requested_scope": [
"Extend only the canonical common budget source and SGC adapter in isolated development/QA for explicitly identified landed-cost components",
"Keep one budget authority and preserve existing V1/order-part capabilities and installed pilot artifact",
"Maintain separate versioned goods, freight, insurance, duties, ICE, VAT and other documented customs components, each with actual native origin identity, original currency and explicitly frozen Finance rate when relevant",
"Apply the existing budget subtotal/total basis to explicit component values; do not infer VAT recoverability, tax applicability, exemption or legal rate",
"Reconcile estimate/reservation/commitment and explicit reviewed actual-cost changes against native approvals and available funds; keep previous versions",
"Use the actual authorized document type for each consumption; do not create a fictional supplier invoice for customs duties or aggregate different creditors into the goods invoice",
"Preserve independent supplier-invoice principals, cumulative limits, operation identities and per-origin cancellation/recovery",
"Only preserve cost-to-item allocation references for inventory integration at this stage; do not create a second stock/valuation writer or change the installed inventory contract"
],
"illustrative_synthetic_acceptance": {
"not_a_legal_rate_or_real_import": true,
"components": [
{
"native_origin": "supplier_invoice",
"subtotal_minor": 10000,
"tax_minor": 1600,
"total_minor": 11600
},
{
"native_origin": "carrier_invoice",
"subtotal_minor": 1000,
"tax_minor": 160,
"total_minor": 1160
},
{
"native_origin": "customs_assessment",
"subtotal_minor": 2000,
"tax_minor": 0,
"total_minor": 2000,
"tax_note": "Explicitly known zero in this synthetic fixture, not a fallback or a legal exemption"
}
],
"budget_reference": {
"subtotal_minor": 13000,
"total_minor": 14760
},
"assertions": [
"One reservation/commitment reconciled to 13000 or 14760 according to the existing explicit budget tax basis",
"Supplier principal remains 11600; carrier principal remains 1160; customs source remains separate at 2000",
"A missing duty, tax rule or conversion rate remains indeterminate; no zero default, automatic compensation or operational activation",
"A source replay produces no duplicate budget consumption or creditor principal"
]
},
"required_verification": [
"Focused native and common financial regression, exact sums and unknown-value failures",
"Company and role isolation, independent Finance review, stale versions and atomic rollback",
"Real disposable PostgreSQL concurrency and same-role pre/post-extension recovery",
"Legacy artifact compatibility and fail-closed downgrade with new data"
],
"excluded": [
"Published or installed packages",
"Pilot or SGF installation, migration or activation",
"Real company data or permissions",
"Bank/JUE submission, customs payment, tax declaration or legal-rate activation",
"Inventory valuation/stock-contract changes, accounting postings and production deployment"
],
"remaining_work_not_blocked_by_this_decision": "Native order-parts forms, read/print/mobile review and other already authorized QA development continue independently"
}