@casoon/invoice-generator
Version:
Generate PDF invoices, XRechnung XML, and ZUGFeRD PDF/A-3 from JSON data with TypeScript support
23 lines • 713 B
TypeScript
import { Invoice } from '../../types/invoice.types';
export declare class EInvoiceSection {
private doc;
private currentY;
private pageHeight;
private footerHeight;
constructor(doc: PDFKit.PDFDocument, currentY: number);
/**
* E-Rechnung Sektion
* Strukturierte elektronische Rechnung nach XRechnung-Standard
*/
draw(invoice: Invoice): number;
private drawEInvoiceHeader;
private drawSellerSection;
private drawBuyerSection;
private drawInvoiceDetails;
private drawStructuredItems;
private drawStructuredTotals;
private drawPaymentInformation;
private drawInfoRow;
private addNewPage;
}
//# sourceMappingURL=e-invoice-section.d.ts.map