@kirjapro/mcp-server 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,31 @@
1
1
  # Changelog
2
2
 
3
- ## [0.11.0] - Unreleased
3
+ ## [0.12.0] - 2026-10-04
4
+
5
+ Requires deployment of all seven migrations in the compliance batch before release:
6
+
7
+ 1. `20261002140000_alv_era4a_rules`
8
+ 2. `20261003090000_bank_vat_historical_supply_evidence`
9
+ 3. `20261003103000_invoice_service_role_posting_guard`
10
+ 4. `20261003150000_atomic_knowledge_corpus`
11
+ 5. `20261003160000_purchase_vat_rate_basis`
12
+ 6. `20261003160001_bank_purchase_vat_rate_basis`
13
+ 7. `20261004080000_offer_financial_transfer` (U17)
14
+
15
+ Publish only after `db:deploy` and verification of the production-generated MCP database types. The U17 migration is required for `kirjapro_convert_offer_to_invoice` to preserve line discounts, the price-entry mode and line-specific VAT facts before the invoice lines are calculated.
16
+
17
+ - Invoice and offer tools accept `service_outside_eu` for general-rule B2B services to a non-EU business. The database posts to 5070 and reports field 309 with an AVL 65 § note. Check the receiving establishment and foreign buyer liability separately.
18
+ - This treatment supports PDF invoices. Finvoice transmission remains blocked pending complete O-category validation.
19
+ - VAT reconciliation no longer accepts manual purchase VAT rows as proof of a voucher link, even when net VAT is zero.
20
+ - New taxable purchases and single purchase templates require `vatRateBasis`: a documented supply/advance/period-end day, supply or EU-acquisition month, customs-acceptance day, or original-document reference and correction reason. Historical 24/14% rates are preserved; there is no blanket 12-month purchase-age limit. The posting date still selects the reporting period, which the caller must determine separately. Committed purchase retries return their original receipt before new evidence validation; a missing database capability refuses a new booking instead of silently dropping evidence.
21
+ - `kirjapro_book_purchase` accepts `deductionPercent` and `deductionReason`, retaining the original rounded VAT and its allocation group. On 18.40 € / 4.69 € at 60%, input VAT is 2.81 €, the remainder 1.88 €. Reverse charge always assesses the full buyer VAT, including entertainment and non-registered buyers' general-rule foreign services. These create one voucher with its facts; no additional manual VAT row is needed.
22
+ - The `import` category now means a customs VAT assessment on the complete customs tax base. It books only deductible VAT and any non-deductible tax against the full VAT liability. Supplier invoices and freight costs are booked separately; this command does not post the supplier cost or bank payment again. Outside-register imports remain outside this path.
23
+ - A positive-rate purchase retains its base/evidence when tax rounds to zero. Batch purchase templates remain refused when the batch command cannot write their facts, including zero-rounded tax. Updated tool fingerprints and server guidance reflect these contracts.
24
+
25
+ - Compliance resources now consume a generated package-local subset of the canonical regulatory registry. VAT history, payroll rates and micro/small thresholds no longer have a separate hand-maintained numeric table. Source reviews, legal validity and review-due dates are reported by topic and rule; source review expiry is distinct from an expired annual rate.
26
+ - Corrected conditional VAT deductions, historical 14% supplies/advances/credits, partial-deduction reverse charge, elective VAT-period boundaries, two-calendar-year small-business exemption, earnings-report/TyEL-payment guidance, invoice capability descriptions and retention start dates. Micro transition/odd-year interpretations remain expressly provisional. These resource changes do not make additional posting paths legally supported or deploy any database change.
27
+
28
+ ## [0.11.0] - 2026-10-02
4
29
 
5
30
  Requires the database migrations `20261002070106`–`20261002071619` (ALV report
6
31
  audit batch 2), in particular `book_purchase_with_vat`, and