Files
einfach-produktiv-invoicing/package.json
T
Marco 51ae8a9c0a
Validate e-invoices / mustang (push) Successful in 43s
Add Kleinunternehmerregelung (§19 UStG) support
InvoiceOrder/CorrectionInvoiceOrder gain an optional order-level
kleinunternehmer flag, snapshotted per order (same pattern as vatExempt)
so a later toggle of the tenant's setting never rewrites an
already-issued invoice. Takes precedence over vatExempt.

- Visual PDF: "enthält X% MwSt." becomes the §19 UStG notice.
- E-invoice XML: new UNTDID 5305 category "E" with a free-text exemption
  reason (no VATEX code — §19 UStG has none, BR-E-10 allows text alone).
- New Mustang CI fixture + buildEInvoiceData unit test for the "E" path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 12:51:13 +00:00

43 lines
1.1 KiB
JSON

{
"name": "@einfach-produktiv/invoicing",
"version": "0.2.0",
"private": true,
"description": "Shared invoice / correction-invoice (Stornorechnung, Gutschrift) PDF generation and VAT-breakdown math, consumed as a git dependency by both the einfach-produktiv frontend and the payload backend — not published to npm.",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./einvoice": {
"types": "./src/einvoice/index.ts",
"default": "./src/einvoice/index.ts"
}
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "vitest run",
"lint": "eslint .",
"fixtures:einvoice": "tsx scripts/generate-einvoice-fixtures.mts"
},
"peerDependencies": {
"@react-pdf/renderer": "^4.0.0",
"react": "^19.0.0"
},
"devDependencies": {
"@react-pdf/renderer": "^4.5.1",
"@types/node": "^20",
"@types/react": "^19",
"eslint": "^9",
"react": "^19.2.4",
"tsx": "^4.19.2",
"typescript": "^5",
"vitest": "^4.1.10"
},
"dependencies": {
"@e-invoice-eu/core": "^3.1.1"
}
}