29ea9fafd8
Validate e-invoices / mustang (push) Failing after 1m30s
Adds a Gitea Actions workflow that generates realistic e-invoice fixtures (multi-VAT-rate original invoice, Storno, Gutschrift) and validates them against the reference Mustang validator on every push, catching a broken EN16931 mapping before it reaches production instead of relying on manual spot-checks.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "@einfach-produktiv/invoicing",
|
|
"version": "0.1.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"
|
|
}
|
|
}
|