API Reference

Class

PdfInvoiceLine

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

One quantity/price line in the invoice recipe.

Inheritance

  • Object
  • PdfInvoiceLine

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public PdfInvoiceLine(String description, Decimal quantity, Decimal unitPrice, Decimal taxRate = 0) #

Creates an invoice line.

Parameters

description System.String requiredposition: 0
quantity System.Decimal requiredposition: 1
unitPrice System.Decimal requiredposition: 2
taxRate System.Decimal = 0 optionalposition: 3

Properties

public String Description { get; } #

Line description.

public Decimal Quantity { get; } #

Quantity.

public Decimal UnitPrice { get; } #

Unit price before tax.

public Decimal TaxRate { get; } #

Tax rate expressed as a fraction, for example 0.23.

public Decimal Subtotal { get; } #

Line subtotal before tax.

public Decimal Tax { get; } #

Line tax amount.

public Decimal Total { get; } #

Line total including tax.