zibri
    Preparing search index...

    Interface for a service that handles updating an invoice pdf in a way that it conforms to a certain standard like X-Rechnung.

    interface InvoiceConformanceServiceInterface<Invoice extends Invoice> {
        name: InvoiceConformance;
        updateDocument: (doc: PDFDocument) => void | Promise<void>;
        updateDocumentDefinition: (
            invoice: Invoice,
            definition: PdfDocumentDefinition,
        ) => void | Promise<void>;
    }

    Type Parameters

    Implemented by

    Index

    Properties

    The name of the conformance that is handled by this service.

    updateDocument: (doc: PDFDocument) => void | Promise<void>

    Updates the given finished pdf document.

    updateDocumentDefinition: (
        invoice: Invoice,
        definition: PdfDocumentDefinition,
    ) => void | Promise<void>

    Updates the given pdf document definition.