{"_id":"@beliq/sdk","_rev":"8-b268d004f2a8fe0bc15999da03b0ebd0","name":"@beliq/sdk","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"@beliq/sdk","version":"0.1.0","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.1.0","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"5d37c4f142abfeafb94815f09370ecd57c4463c2","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.1.0.tgz","fileCount":13,"integrity":"sha512-h0CpdTmJamxRzcD5+D72epHJ0e/sSxrh3dKXR6uxORnt+5CUiLROgNuS+pUBgiBrQuS0GvNjM9vRe5U0jzCBNw==","signatures":[{"sig":"MEYCIQD+nSWEqH8F8RZ+dGEPZz6kECHERpsWxigdQKa1yU15eQIhAOMZFMuPBbAhTiozYpTv9KuYJB7/XlndjZJB0RDKc/cu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149146},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","openapi:check":"node scripts/gen-types.mjs --check","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"beliq","email":"npmjs@beliq.eu"},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"9.2.0","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"22.22.1","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^8.57.0","vitest":"^2.1.8","typescript":"^5.5.4","@types/node":"^20.14.0","openapi-typescript":"^7.4.0","@typescript-eslint/parser":"^7.18.0","@typescript-eslint/eslint-plugin":"^7.18.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1782845141418_0.13968365281227424","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@beliq/sdk","version":"0.1.1","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.1.1","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"45ed69147976a0fb660b2e610545e0710e1aae07","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.1.1.tgz","fileCount":13,"integrity":"sha512-tt+cwpXqDe/3bqU7xrGizonT0TWqvWxjDZU/I5CUEJ7tjwEwxh7IBKMpSMywKzLCzvVXLQzmxZLl6NXFnNYOUQ==","signatures":[{"sig":"MEYCIQCHJI1PUL5HnhWqdSqLATWp7zMBb+w+qVI2Ym+tf1kNTgIhAP3LrXHNeN0lBlpnKKi/q6a52OaFDpPZRfbJWOk9uQFr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":149146},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"67989f6f3d660b8690676682481a60314059e26e","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","openapi:check":"node scripts/gen-types.mjs --check","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"11.18.0","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"22.23.0","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^8.57.0","vitest":"^2.1.8","typescript":"^5.5.4","@types/node":"^20.14.0","openapi-typescript":"^7.4.0","@typescript-eslint/parser":"^7.18.0","@typescript-eslint/eslint-plugin":"^7.18.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1782847745357_0.3309121509286388","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@beliq/sdk","version":"0.2.0","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.2.0","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"fb2ddd7b68d6c4bf05016928b86447cc9302860c","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.2.0.tgz","fileCount":13,"integrity":"sha512-Hgo0UyB9aCFyFgNpsvtVuKQXe3IW1eS+4DjSbUam/2/Q0FAncvT92jb/BcRpyuzgxLLUTpO4fhZxZFLqIsRZsg==","signatures":[{"sig":"MEUCIQDbWcgQV+iagxO5fIA5dWg2YHFkmfFi1kyzf8ZYDFlsOwIgPdQ1AC9bXFeDso1zjvX3xGI6pl91MgNOACjMSnfe6Pk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":187135},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"6fb7a39e4bf82631cf954b795b4ae007f38a9658","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","spec:drift":"node scripts/check-live-drift.mjs","openapi:check":"node scripts/gen-types.mjs --check","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"12.0.1","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"22.23.1","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^8.57.0","vitest":"^2.1.8","typescript":"^5.5.4","@types/node":"^20.14.0","openapi-typescript":"^7.4.0","@typescript-eslint/parser":"^7.18.0","@typescript-eslint/eslint-plugin":"^7.18.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1784893647003_0.36949526209562644","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@beliq/sdk","version":"0.3.0","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.3.0","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"8ffb7f2c06648de08330cae512c9088cc995b27e","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.3.0.tgz","fileCount":13,"integrity":"sha512-lnpl5eQxQvOm8h1Wmh+AsHX30vsXk80RaWs3sA1+afHMpIptn+Jay3pr0EWjlof9weWAsQgxi4ToIgsgV0pcpQ==","signatures":[{"sig":"MEUCIBmGLvrXL+hRkq4GLR9gog5r+1Y9yrqpyA2utE6KGCkMAiEAnyEvVV8hKkKx9HDrOGPcrc6Fl9j7Oaq7yM96TUjFZR4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":318766},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"71b8c39c626ebcf779b017bd0e564c404fb37633","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","spec:drift":"node scripts/check-live-drift.mjs","openapi:check":"node scripts/gen-types.mjs --check","check:profiles":"node --experimental-strip-types scripts/check-profile-drift.mjs","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"overrides":{"esbuild":"^0.28.1","js-yaml":"^4.3.1"},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"12.0.2","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"24.19.0","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^10.0.0","vitest":"^4.0.0","@eslint/js":"^10.0.0","typescript":"^5.5.4","@types/node":"^20.14.0","typescript-eslint":"^8.0.0","openapi-typescript":"^7.4.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1788107353836_0.3826105219892093","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@beliq/sdk","version":"0.3.1","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.3.1","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"bc1fee966899b938921bdc8a650710193e3b9481","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.3.1.tgz","fileCount":13,"integrity":"sha512-RSBZ6U7yctzMD3KKWlDdAr36gpWOB+D49pSepwH3Mdg/T5MnLG0vwV/vFmCt1PNwmUZrs5EttjDR98SEjCJRrA==","signatures":[{"sig":"MEUCICjjpjSJMzgghJK6t8uBbYMVk8imwrOcJSXWgGLekI4cAiEAt1LrmXcO8QMhwWX40EY9U+ykDd2HZ7Y584IdRmOGpl8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":327783},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"f1317929b62cc70c8adaf5e8c4b9bda02fada93c","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","spec:drift":"node scripts/check-live-drift.mjs","openapi:check":"node scripts/gen-types.mjs --check","check:profiles":"node --experimental-strip-types scripts/check-profile-drift.mjs","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"overrides":{"esbuild":"^0.28.1","js-yaml":"^4.3.1"},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"12.0.2","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"24.19.0","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^10.0.0","vitest":"^4.0.0","@eslint/js":"^10.0.0","typescript":"^5.5.4","@types/node":"^20.14.0","typescript-eslint":"^8.0.0","openapi-typescript":"^7.4.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.1_1788310302866_0.03754331443905534","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@beliq/sdk","version":"0.4.0","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.4.0","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"d0c7a7c6ec1e71ba38ef7596a5bdc74bc8de8438","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.4.0.tgz","fileCount":14,"integrity":"sha512-ynWCnyH8SBlZHJfePBBZ90f6KlJoceHO0LZWuHOXLWoCEYaIIxQlyW4VIsTCW8kobbmTocFDa/xvifZPa2MaGg==","signatures":[{"sig":"MEYCIQCvQgtgNKYNREbY/W3yF8Ths3BvdYcPaNRdvimScU0WjQIhANbF6FNZ4yruRRkTglcPedK+MmOv10Uv89qptDpt0pq2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCTuLW0jMLJYULic+0SRXhD9PJnWHxHhkeIIpS/3GkspAIhAIWFKsUlo0xVZSwv+poweOPhNsV0zdJb2+gA0DuH/hWR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":344906},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"e609cf3be5d3439c433c4e4e10039f612bdb9b8c","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","spec:drift":"node scripts/check-live-drift.mjs","scrub:check":"bash scripts/scrub-check.sh","openapi:check":"node scripts/gen-types.mjs --check","check:profiles":"node --experimental-strip-types scripts/check-profile-drift.mjs","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"overrides":{"esbuild":"^0.28.1","js-yaml":"^4.3.2"},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"12.0.2","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"24.20.0","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^10.0.0","vitest":"^4.0.0","@eslint/js":"^10.0.0","typescript":"^5.5.4","@types/node":"^20.14.0","typescript-eslint":"^8.0.0","openapi-typescript":"^7.4.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.0_1789849959011_0.9306308889033821","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@beliq/sdk","version":"0.4.1","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","_id":"@beliq/sdk@0.4.1","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"homepage":"https://beliq.eu","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"8e9f167d0eb69ad91518f2fbc1d154f8fc78b237","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.4.1.tgz","fileCount":15,"integrity":"sha512-2gAWpoizTYn5/YIb/saTAXPp+UuDkmtnsxBhN9WoJ5LZ9A257O5w0Z1MsrQAfe3cJDEIxwbHm+MA3pRJMUwOjw==","signatures":[{"sig":"MEUCIF2UB9H+vb8Klglbzd34EesKEJwiapI7PxlfSae3SiC9AiEAhNijcGR+JNwiyr5axpc1RI3nJdMiqwTnVXWVXMvtHw0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD2JD/opvB0sAZQ7FcxGUwFHXZWmJ3MlfnRwFg+F3uzRgIgTac+KGFFf6nMYVrgeyyKh2Pi6KMObqiYu53Dk0UNrsA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":352855},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"ec50f67a552b8d9c8b98b92112b3820c840b65e2","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","spec:drift":"node scripts/check-live-drift.mjs","scrub:check":"bash scripts/scrub-check.sh","openapi:check":"node scripts/gen-types.mjs --check","check:profiles":"node --experimental-strip-types scripts/check-profile-drift.mjs","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"overrides":{"esbuild":"^0.28.1","js-yaml":"^4.3.2"},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"12.0.2","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"_nodeVersion":"24.20.0","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^10.0.0","vitest":"^4.0.0","@eslint/js":"^10.0.0","typescript":"^5.5.4","@types/node":"^20.14.0","typescript-eslint":"^8.0.0","openapi-typescript":"^7.4.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.1_1790026872480_0.42238333930242544","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"_id":"@beliq/sdk@0.4.2","bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"dist":{"shasum":"ca594b6d9ca8f5f7589e53e2be2365693b808b7a","tarball":"https://registry.npmjs.org/@beliq/sdk/-/sdk-0.4.2.tgz","fileCount":15,"integrity":"sha512-CXjiX/NonYmU37KrAiSIxBy/gQH0UrFVUH3wmk/N15rBzk/teCyoVN8eDaQDYlGNxV4BcgVYHkqh5De5KRk3tg==","signatures":[{"sig":"MEYCIQDQsnUh02K/WwUy2q/q3SO/P84iaQNHtuCJ8B7968C5xQIhALjadxy5kX1cAjsM+bO6yAys9VOfLUmBSkG68FlJJMgJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBT+g9UVOCyrajqqkOcOt6VbgbFYTgYEgVAp/HPzBwnAAiAnmTpr5karm7cDGuTEDqbbeFEBk00F8LQN/zuEqoO0Iw=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@beliq%2fsdk@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":365227},"main":"./dist/index.cjs","name":"@beliq/sdk","type":"module","types":"./dist/index.d.ts","author":{"name":"beliq","email":"hello@beliq.eu"},"module":"./dist/index.js","engines":{"node":">=20.15"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./helpers":{"import":{"types":"./dist/helpers.d.ts","default":"./dist/helpers.js"},"require":{"types":"./dist/helpers.d.cts","default":"./dist/helpers.cjs"}}},"gitHead":"73cb74d73779f394bbf295c138a899b93f28145c","license":"MIT","scripts":{"lint":"eslint src test","test":"vitest run --exclude test/integration.test.ts","build":"npm run clean && tsup","clean":"rm -rf dist","lint:fix":"eslint src test --fix","gen:types":"node scripts/gen-types.mjs","sync:spec":"node scripts/sync-spec.mjs","typecheck":"tsc --noEmit","spec:drift":"node scripts/check-live-drift.mjs","scrub:check":"bash scripts/scrub-check.sh","openapi:check":"node scripts/gen-types.mjs --check","check:profiles":"node --experimental-strip-types scripts/check-profile-drift.mjs","prepublishOnly":"npm run build","test:integration":"vitest run test/integration.test.ts"},"version":"0.4.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:038bc919-3262-4c51-8203-b707b11ba5d9"}},"homepage":"https://beliq.eu","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"overrides":{"esbuild":"^0.28.1","js-yaml":"^4.3.2"},"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"_npmVersion":"12.0.2","description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","directories":{},"maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"_nodeVersion":"24.20.0","dependencies":{},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^10.0.0","vitest":"^4.0.0","@eslint/js":"^10.0.0","typescript":"^5.5.4","@types/node":"^20.14.0","typescript-eslint":"^8.0.0","openapi-typescript":"^7.4.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.4.2_1790196435615_0.3233987571579582"}}},"time":{"created":"2026-06-30T18:45:41.284Z","modified":"2026-09-23T20:47:16.094Z","0.1.0":"2026-06-30T18:45:41.623Z","0.1.1":"2026-06-30T19:29:05.508Z","0.2.0":"2026-07-24T11:47:27.166Z","0.3.0":"2026-08-30T16:29:13.970Z","0.3.1":"2026-09-02T00:51:43.003Z","0.4.0":"2026-09-19T20:32:39.103Z","0.4.1":"2026-09-21T21:41:12.559Z","0.4.2":"2026-09-23T20:47:15.722Z"},"bugs":{"url":"https://github.com/beliq-eu/beliq-sdk-node/issues"},"author":{"name":"beliq","email":"hello@beliq.eu"},"license":"MIT","homepage":"https://beliq.eu","keywords":["beliq","e-invoice","einvoice","xrechnung","zugferd","factur-x","peppol","en16931","compliance","sdk"],"repository":{"url":"git+https://github.com/beliq-eu/beliq-sdk-node.git","type":"git"},"description":"Official beliq SDK: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.","maintainers":[{"name":"beliq","email":"npmjs@beliq.eu"}],"readme":"# @beliq/sdk\n\nOfficial Node/TypeScript SDK for the [beliq](https://beliq.eu) e-invoicing compliance API. Generate, validate, parse, and convert EN 16931 invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, nightly-drift-checked rules.\n\nbeliq produces and checks the compliant document. Transmission (Peppol, PDP, KSeF, SDI), archiving, and tax-authority reporting stay with your access point.\n\n## Install\n\n```bash\nnpm install @beliq/sdk\n```\n\nRequires Node >= 20.15. Ships ESM and CommonJS builds with bundled type declarations.\n\n## Quick start\n\n```ts\nimport { Beliq } from '@beliq/sdk';\n\nconst beliq = new Beliq({ apiKey: process.env.BELIQ_API_KEY! });\n\n// Account, plan, and quota context (no quota cost).\nconst account = await beliq.me();\n\n// Generate an XRechnung document from an EN 16931 invoice object.\nconst generated = await beliq.generate({\n  standard: 'xrechnung',\n  verify: true,\n  // The XRechnung CIUS asks for more than plain EN 16931: a seller contact\n  // (BR-DE-2), payment instructions (BR-DE-1), a VAT breakdown (BR-CO-18) and an\n  // electronic address for each party. examples/invoice.json is this same shape.\n  invoice: {\n    number: 'INV-2026-001',\n    issueDate: '2026-01-15',\n    currencyCode: 'EUR',\n    buyerReference: '04011000-12345-06',\n    seller: {\n      name: 'Seller GmbH',\n      vatId: 'DE123456789',\n      contactName: 'Anna Muster',\n      email: 'billing@seller.example',\n      phone: '+49 30 1234567',\n      address: { street: 'Hauptstr. 1', city: 'Berlin', postalCode: '10115', countryCode: 'DE' },\n      peppol: { schemeId: '9930', id: 'DE123456789' },\n    },\n    buyer: {\n      name: 'Buyer GmbH',\n      vatId: 'DE987654321',\n      email: 'ap@buyer.example',\n      address: { street: 'Marktweg 2', city: 'Munich', postalCode: '80331', countryCode: 'DE' },\n      peppol: { schemeId: '9930', id: 'DE987654321' },\n    },\n    lines: [{ description: 'Consulting', quantity: 10, unitCode: 'HUR', unitPrice: 100, lineTotal: 1000, vatRate: 19, vatCategoryCode: 'S' }],\n    taxSummary: [{ vatCategoryCode: 'S', vatRate: 19, taxableAmount: 1000, taxAmount: 190 }],\n    paymentMeans: { typeCode: '58', iban: 'DE89370400440532013000' },\n    totalNetAmount: 1000,\n    totalTaxAmount: 190,\n    totalGrossAmount: 1190,\n  },\n});\nconsole.log(generated.xml, generated.meta.schematronVersion);\n\n// Validate any document against authority-pinned rules.\nconst result = await beliq.validate(generated.xml!, { format: 'auto' });\nif (!result.valid) {\n  for (const issue of result.errors) console.log(issue.ruleId, issue.message);\n}\n```\n\n## Authentication\n\nCreate an API key in the beliq dashboard under API Keys, then pass it to the client:\n\n```ts\nnew Beliq({ apiKey: 'blq_live_...' });                 // sends X-API-Key (default)\nnew Beliq({ apiKey: 'blq_live_...', auth: 'bearer' });  // sends Authorization: Bearer\nnew Beliq({ apiKey: 'blq_live_...', baseUrl: 'https://staging.beliq.eu' });\n```\n\nKeys are prefixed `blq_live_` (production, draws your plan quota) or `blq_test_` (sandbox, separate free allowance, watermarked output). `client.livemode` reports the mode from the key prefix before any request; generate and convert results also carry the authoritative `meta.livemode` from the response.\n\n```ts\nconst beliq = new Beliq({ apiKey: process.env.BELIQ_API_KEY! });\nif (!beliq.livemode) console.warn('running against the sandbox');\n```\n\n## Timeouts and retries\n\nThe client retries transient failures for you, so you do not have to reimplement\nbackoff around it.\n\n```ts\nnew Beliq({\n  apiKey: 'blq_live_...',\n  timeoutMs: 90_000,  // per-attempt deadline (default)\n  maxRetries: 3,      // extra attempts after the first (default)\n});\n```\n\nBoth defaults are exported as `DEFAULT_TIMEOUT_MS` and `DEFAULT_MAX_RETRIES`, so\nyou can derive from them instead of repeating the numbers.\n\nOnly `429`, `502` and `503` are retried, honouring the server's `Retry-After`\nwith jitter. beliq refunds the document's quota unit on a `503`, so a retry never\ncosts you a second document.\n\n`504` and this client's own timeout are deliberately **not** retried: both mean\nthe work may still be running on beliq's side, so retrying risks producing a\nsecond document rather than recovering the first.\n\nA `429` carrying `QUOTA_EXCEEDED` is not retried either. `RATE_LIMITED` and\n`ACCOUNT_THROTTLED` clear on their own, but a spent monthly allowance only returns\nwhen your billing window turns, so the error is raised straight away and names the\ncause instead of sleeping against it.\n\nThe default deadline is generous because beliq runs the full Schematron rule set\nover each document, and a generate or validate can legitimately take tens of\nseconds. If you lower it, keep it above the latency you actually see: a deadline\nshorter than the server's own turns completed work into an unknown outcome. Set\n`timeoutMs: 0` to disable it, and `maxRetries: 0` to handle retrying yourself.\n\n## API\n\n| Method | Endpoint | Input | Returns |\n|---|---|---|---|\n| `me()` | GET /v1/me | none | `AccountInfo` (no quota cost) |\n| `generate(input)` | POST /v1/generate | EN 16931 invoice object | `{ contentType, bytes, xml?, sha256?, validationResult?, meta }` |\n| `validate(document, options?)` | POST /v1/validate | XML or PDF | `ValidationResult` |\n| `parse(document, options?)` | POST /v1/parse | XML or PDF | `ParseResult` |\n| `convert(document, options)` | POST /v1/convert | XML or PDF | `{ contentType, bytes, meta }` |\n\n`document` accepts a `string`, `Uint8Array`, `Buffer`, `ArrayBuffer`, or typed array. The content type is sniffed from the bytes (PDF vs XML) unless you pass `options.contentType`. `generate` and `convert` return raw document bytes plus the response-header metadata (`schematronVersion`, `pdfKind`, `sourceFormat`/`targetFormat`, `lostElements`, `conversionTools`, `livemode`); for an XML output, `generate` also decodes `xml`.\n\n### Verify-it-yourself seal\n\nPass `seal: true` to `generate` to also get the document `sha256` and the full `validationResult`. Hashing the returned bytes reproduces the hash, so a recipient can check the document independently:\n\n```ts\nimport { createHash } from 'node:crypto';\n\nconst doc = await beliq.generate({ standard: 'xrechnung', invoice, seal: true });\nconst ok = createHash('sha256').update(doc.bytes).digest('hex') === doc.sha256;\nconsole.log(doc.validationResult?.valid, doc.meta.rulesetSha256, ok);\n```\n\n### Curated option lists\n\n`LIVE_GENERATE_PRESETS` is the set of public generate targets beliq.eu itself offers, each mapping to the API `standard` (plus `profile`/`facturxProfile`) it needs. NLCIUS is a Peppol BIS profile and lives here rather than in `LIVE_GENERATE_STANDARDS`. Connectors build their dropdowns from these lists.\n\n```ts\nimport { LIVE_GENERATE_PRESETS } from '@beliq/sdk';\n\nconst nlcius = LIVE_GENERATE_PRESETS.find((p) => p.id === 'nlcius');\nawait beliq.generate({ standard: nlcius!.standard, profile: nlcius!.profile, invoice });\n```\n\nEvery option enum is typed from the OpenAPI spec, so wrong values fail at compile time. Errors throw `BeliqApiError` with a typed `.code`, HTTP `.status`, and any `.details`:\n\n```ts\nimport { BeliqApiError } from '@beliq/sdk';\n\ntry {\n  await beliq.validate('not xml');\n} catch (err) {\n  if (err instanceof BeliqApiError) console.log(err.code, err.status, err.message);\n}\n```\n\n## Types stay in sync with the API\n\n`src/generated/schema.ts` is generated from a vendored copy of the published OpenAPI spec (`openapi.json`).\n\n```bash\nnpm run sync:spec      # refresh openapi.json from beliq-api / the live spec\nnpm run gen:types      # regenerate src/generated/schema.ts\nnpm run openapi:check  # CI drift guard: fails if the generated types are stale\n```\n\nThe vendored spec is committed so builds are reproducible; nothing is fetched from the network at build time.\n\n## Development\n\n```bash\nnpm install\nnpm run build       # tsup: dual ESM + CJS + d.ts\nnpm run typecheck\nnpm run lint\nnpm run scrub:check   # no em-dash in any tracked file\nnpm test            # unit tests (no network)\nBELIQ_API_KEY=blq_xxx npm run test:integration   # hits the live API; draws quota\n```\n\n## Publishing\n\nReleased to npm as [`@beliq/sdk`](https://www.npmjs.com/package/@beliq/sdk). Releases run from `.github/workflows/release.yml` via npm Trusted Publishing (OIDC, with provenance): bump `version` in `package.json`, run `npm install --package-lock-only`, add the release's entry to [`CHANGELOG.md`](CHANGELOG.md), merge, then push a `v*.*.*` tag on the merge commit to publish. No npm token is stored in the repo.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}