API Reference
Class
PdfInvoiceComponent
A deterministic invoice recipe implemented over flow paragraphs and tables.
Inheritance
- Object
- PdfInvoiceComponent
Constructors
public PdfInvoiceComponent(String invoiceNumber, DateTime issueDate, PdfInvoiceParty seller, PdfInvoiceParty customer, IEnumerable<PdfInvoiceLine> lines, String currencyCode = "USD", CultureInfo culture = null, Nullable<DateTime> dueDate = null) #Creates an invoice recipe.
Parameters
- invoiceNumber System.String
- issueDate System.DateTime
- seller OfficeIMO.Pdf.PdfInvoiceParty
- customer OfficeIMO.Pdf.PdfInvoiceParty
- lines System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.PdfInvoiceLine}
- currencyCode System.String = "USD"
- culture System.Globalization.CultureInfo = null
- dueDate System.Nullable{System.DateTime} = null
Methods
public virtual Void Compose(PdfItemCompose content) #Returns:
VoidParameters
- content OfficeIMO.Pdf.PdfItemCompose
Inherited Methods
Properties
public String InvoiceNumber { get; } #Invoice identifier.
public Nullable<DateTime> DueDate { get; } #Optional due date.
public PdfInvoiceParty Seller { get; } #Seller identity.
public PdfInvoiceParty Customer { get; } #Customer identity.
public String CurrencyCode { get; } #ISO-style currency code placed beside formatted numbers.
public Decimal Subtotal { get; } #Total before tax.
public Decimal Total { get; } #Total including tax.