InvoicingOptions: {
    bankDetailsLabel: string;
    bankName: string | undefined;
    bicLabel: string;
    ceoLabel: string;
    companyInfo: CompanyInfo;
    dateLabel: string;
    dueDateLabel: string;
    emailLabel: string;
    footerFontSize: number;
    headline: string;
    headlineFontSize: number;
    ibanLabel: string;
    images: Record<string, PdfImageDefinition> | undefined;
    invoiceNumberLabel: string;
    invoiceNumberNotice: string;
    itemAmountLabel: string;
    itemNameLabel: string;
    itemSinglePriceLabel: string;
    itemTotalPriceLabel: string;
    logo: string | undefined;
    numberCompanyAbbreviationCharacters: number;
    numberOfDigits: number;
    numberPrivateCustomerAbbreviationCharacters: number;
    performanceDateLabel: string;
    phoneLabel: string;
    separator: string;
    showDueDate: boolean;
    showPerformanceDate: boolean;
    tableFontSize: number;
    taxLabel: string;
    taxNumberLabel: string;
    taxOffice: string | undefined;
    totalAfterTaxLabel: string;
    totalBeforeTaxLabel: string;
    totalLabel: string;
}

Options used throughout the plugin.

Type declaration

  • ReadonlybankDetailsLabel: string

    The label for the bank details in the footer.

    'Bank details:'
    
  • ReadonlybankName: string | undefined

    The bank name to display in the footer. Can be omitted.

  • ReadonlybicLabel: string

    The label for the bic to display in the footer.

    'BIC/SWIFT:'
    
  • ReadonlyceoLabel: string

    The label for the ceo on the invoice.

    'CEO:'
    
  • ReadonlycompanyInfo: CompanyInfo

    The information about the company sending out the invoice.

  • ReadonlydateLabel: string

    The label for the date on the invoice.

    'Date'
    
  • ReadonlydueDateLabel: string

    The label for the due date on the invoice.

    'Due date'
    
  • ReadonlyemailLabel: string

    The label for the email on the invoice.

    'E-Mail'
    
  • ReadonlyfooterFontSize: number

    The font size that should be used for the footer.

    10
    
  • Readonlyheadline: string

    The headline of the invoice.

    'Invoice'
    
  • ReadonlyheadlineFontSize: number

    The font size of the headline.

    20
    
  • ReadonlyibanLabel: string

    The label for the iban to display in the footer.

    'IBAN:'
    
  • Readonlyimages: Record<string, PdfImageDefinition> | undefined

    Globally defined images which can be referenced by name inside the document definition.

    undefined
    
  • ReadonlyinvoiceNumberLabel: string

    The label for the invoice number on the invoice.

    'Invoice No.'
    
  • ReadonlyinvoiceNumberNotice: string

    The notice below the invoice number.

    'Please specify when making payments and invoicing!'
    
  • ReadonlyitemAmountLabel: string

    The label for item amount on the invoice.

    'Amount'
    
  • ReadonlyitemNameLabel: string

    The label for item name on the invoice.

    'Name'
    
  • ReadonlyitemSinglePriceLabel: string

    The label for single price of an item on the invoice.

    'Price'
    
  • ReadonlyitemTotalPriceLabel: string

    The label for total price of an item on the invoice.

    'Total'
    
  • Readonlylogo: string | undefined

    Available options:

    • A reference by name to an image defined in PdfMakeDocumentDefinition.images
    • A data URL
    • A remote URL via http:// or https://.

    Supported image formats: JPEG, PNG.

    undefined
    
  • ReadonlynumberCompanyAbbreviationCharacters: number

    How many characters of the company name should be used in the invoice number.

    6
    
  • ReadonlynumberOfDigits: number

    The number of digits used to generate the consecutive number.

    4
    
  • ReadonlynumberPrivateCustomerAbbreviationCharacters: number

    How many characters of the private customer first and last name should be used in the invoice number.

    3
    
  • ReadonlyperformanceDateLabel: string

    The label for the date of performance on the invoice.

    'Date of performance'
    
  • ReadonlyphoneLabel: string

    The label for the phone number on the invoice.

    'Phone'
    
  • Readonlyseparator: string

    The separator for the parts of the invoice number.

    '-'
    
  • ReadonlyshowDueDate: boolean

    Whether or not a due date should be displayed on the invoice.

    true
    
  • ReadonlyshowPerformanceDate: boolean

    Whether or not a performance date should be displayed on the invoice.

    false
    
  • ReadonlytableFontSize: number

    The font size that should be used inside the tables.

    12
    
  • ReadonlytaxLabel: string

    The label for tax value on the invoice.

    'VAT'
    
  • ReadonlytaxNumberLabel: string

    The label for tax number on the invoice.

    'Tax number:'
    
  • ReadonlytaxOffice: string | undefined

    The tax office to display in the footer. Can be omitted.

  • ReadonlytotalAfterTaxLabel: string

    The label for the total after tax value on the invoice.

    'Total (incl. tax)'
    
  • ReadonlytotalBeforeTaxLabel: string

    The label for the total before tax value on the invoice.

    'Total (excl. tax)'
    
  • ReadonlytotalLabel: string

    The label for the total when no taxes exist on the invoice.

    'Total'