Files
einfach-produktiv-invoicing/package.json
T
Marco 8dc56c9783
Validate e-invoices / mustang (push) Successful in 41s
Fix isPaidImmediately's exact-match regression, add unpaid Vorkasse instructions
isPaidImmediately() matched paymentMethodTitle with an exact !== check
against the literal "Überweisung" — the consuming shop renamed its
Vorkasse row to "Überweisung (Vorkasse)" the same day, which would have
silently made every unpaid Vorkasse invoice show "✓ Bereits beglichen".
Changed to startsWith("Überweisung") — same design, tolerant of a
suffix qualifier.

Also adds an explicit instruction for the unpaid case (previously the
absence of the paid confirmation was the only signal, no actual text):
pay to the listed bank details, order processed after payment received
(~1-2 business days).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-25 16:11:44 +00:00

43 lines
1.1 KiB
JSON

{
"name": "@einfach-produktiv/invoicing",
"version": "0.2.3",
"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"
}
}