UNPKG

@casoon/invoice-generator

Version:

Generate PDF invoices, XRechnung XML, and ZUGFeRD PDF/A-3 from JSON data with TypeScript support

18 lines 632 B
import { Invoice } from '../../types/invoice.types'; export declare class HeaderSection { private doc; private currentY; private logoPath?; constructor(doc: PDFKit.PDFDocument, currentY: number, logoPath?: string); /** * Bereich 1: Header mit Adressen und Rechnungsdaten * DIN 5008: Sender links oben, Empfänger links unten, Rechnungsdaten rechts */ draw(invoice: Invoice): number; private drawInvoiceDetailsArea; private drawLogoArea; private drawLogoPlaceholder; private drawRecipientAddressArea; private drawSeparatorLine; } //# sourceMappingURL=header-section.d.ts.map