@e-invoice-eu/core
Advanced tools
@@ -6,8 +6,2 @@ import { Invoice } from '@e-invoice-eu/core'; | ||
| import { InvoiceServiceOptions } from '../invoice/invoice.service'; | ||
| export type Node = { | ||
| [key: string]: Node; | ||
| } | Node[] | string; | ||
| export type ObjectNode = { | ||
| [key: string]: Node; | ||
| }; | ||
| export type FXProfile = 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0xa | 0xb | 0xc | 0xd | 0xe | 0xf | 0x10 | 0x11 | 0x12 | 0x13 | 0x14 | 0x15 | 0x16 | 0x17 | 0x18 | 0x19 | 0x1a | 0x1b | 0x1c | 0x1d | 0x1d | 0x1f | 0x20 | 0x21 | 0x22 | 0x23 | 0x24 | 0x25 | 0x26 | 0x27 | 0x28 | 0x2a | 0x2b | 0x2c | 0x2d | 0x2e | 0x2f | 0x30 | 0x31 | 0x32 | 0x33 | 0x34 | 0x35 | 0x36 | 0x37 | 0x38 | 0x39 | 0x3a | 0x3b | 0x3c | 0x3d | 0x3d | 0x3f; | ||
@@ -45,2 +39,3 @@ export declare const FULL_CII: FXProfile; | ||
| export declare const cacSupplierPartyTaxScheme: Transformation[]; | ||
| export declare const cacSupplierPartyIdentification: Transformation[]; | ||
| export declare const cacAccountingSupplierParty: Transformation[]; | ||
@@ -63,4 +58,5 @@ export declare const cacAccountingCustomerParty: Transformation[]; | ||
| patchSchema(schema: JSONSchemaType<Invoice>): void; | ||
| generate(invoice: Invoice, _options: InvoiceServiceOptions): Promise<string | Uint8Array>; | ||
| generate(invoice: Invoice, options: InvoiceServiceOptions): Promise<string | Uint8Array>; | ||
| private postProcess; | ||
| private postProcessSellerTradeParty; | ||
| private convert; | ||
@@ -67,0 +63,0 @@ private applySubPaths; |
| import { Invoice } from './invoice.interface'; | ||
| import { Logger } from '../logger.interface'; | ||
| import { ExpandObject } from 'xmlbuilder2/lib/interfaces'; | ||
| export type FileInfo = { | ||
@@ -19,2 +20,3 @@ buffer: Uint8Array; | ||
| noWarnings?: boolean; | ||
| postProcessor?: (data: ExpandObject) => Promise<void>; | ||
| }; | ||
@@ -21,0 +23,0 @@ export declare class InvoiceService { |
+1
-1
| { | ||
| "name": "@e-invoice-eu/core", | ||
| "version": "3.0.2", | ||
| "version": "3.0.3", | ||
| "description": "Generate e-invoices (E-Rechnung in German) conforming to EN16931 (Factur-X/ZUGFeRD, UBL, CII, XRechnung aka X-Rechnung) from LibreOffice Calc/Excel data or JSON. ", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
21494530
11549.08%30685
1669.61%1
-50%5
Infinity%3
200%