Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

Invoice

OfficeIMO.Invoicing

Namespace
OfficeIMO.Invoicing
Assembly
OfficeIMO.Invoicing
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Editable semantic invoice shared by XML writers and presentation adapters.

Inheritance

  • object
  • Invoice

Usage

Explore 10 API references to this type

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

Returned or exposed by 2

Accepted by parameters 8

Constructors

public Invoice() #

Methods

public InvoiceLine AddLine(InvoiceLine line) #

Adds a line, assigning an unused positive numeric identifier when its identifier is empty.

Parameters

line OfficeIMO.Invoicing.InvoiceLine required
Caller-created line. An explicit duplicate identifier is rejected before the collection changes.

Returns

InvoiceLine The added line.
public void ClearDeclaredAmounts() #

Removes source-declared amounts so subsequent validation and serialization use calculated line, tax and document amounts.

Properties

public string Number { get; set; } #

Seller-assigned invoice number (BT-1).

public DateTime IssueDate { get; set; } #

Issue date, without a time or timezone (BT-2).

public string TypeCode { get; set; } #

UNCL 1001 document type, normally 380 for an invoice or 381 for a credit note.

public string Currency { get; set; } #

ISO 4217 invoice currency (BT-5). Changing it invalidates any accounting-currency VAT amount.

public string? BusinessProcessId { get; set; } #

Business process identifier (BT-23), distinct from the selected guideline.

public string? BuyerReference { get; set; } #

Buyer routing reference, including a Leitweg-ID where required (BT-10).

public InvoiceParty Seller { get; set; } #

Seller (BG-4).

public InvoiceParty Buyer { get; set; } #

Buyer (BG-7).

public InvoiceParty? Payee { get; set; } #

Payee when different from the seller (BG-10).

public InvoiceParty? TaxRepresentative { get; set; } #

Seller's tax representative (BG-11).

public InvoiceDelivery? Delivery { get; set; } #

Delivery recipient, address, location identifier and date (BG-13).

public InvoicePeriod? Period { get; set; } #

Invoice period (BG-14).

public DateTime? TaxPointDate { get; set; } #

Tax point date (BT-7).

public string? TaxPointDateCode { get; set; } #

Tax point date code when the actual date is not known (BT-8).

public string? ProjectReference { get; set; } #

Project reference (BT-11).

public string? ContractReference { get; set; } #

Contract reference (BT-12).

public string? PurchaseOrderReference { get; set; } #

Purchase order reference (BT-13).

public string? SalesOrderReference { get; set; } #

Sales order reference (BT-14).

public string? ReceivingAdviceReference { get; set; } #

Receiving advice reference (BT-15).

public string? DespatchAdviceReference { get; set; } #

Despatch advice reference (BT-16).

public string? TenderReference { get; set; } #

Tender or lot reference (BT-17).

public string? AccountingReference { get; set; } #

Buyer accounting reference (BT-19).

public InvoiceIdentifier? ObjectIdentifier { get; set; } #

Invoiced object identifier (BT-18).

public IList<InvoiceNote> Notes { get; } #

Free text notes, optionally classified by subject (BG-1).

public IList<InvoiceReference> PrecedingInvoices { get; } #

Preceding invoice references (BG-3).

public IList<InvoiceSupportingDocument> SupportingDocuments { get; } #

Additional supporting documents (BG-24).

public IList<InvoiceLine> Lines { get; } #

Invoice lines (BG-25).

public IList<InvoiceAllowanceCharge> AllowancesAndCharges { get; } #

Document-level allowances and charges (BG-20/BG-21).

public IList<InvoicePayment> Payments { get; } #

Payment instruction occurrences (BG-16), retained independently so conflicting descriptions and references are not collapsed.

public string? PaymentReference { get; set; } #

Invoice-level remittance reference retained when no payment instruction is present.

public string? CreditorIdentifier { get; set; } #

Bank-assigned creditor identifier retained independently of payment instructions.

public string? DirectDebitMandateReference { get; set; } #

Invoice-level direct-debit mandate retained when no payment instruction is present.

public string? PaymentTerms { get; set; } #

Payment terms (BT-20).

public DateTime? DueDate { get; set; } #

Payment due date (BT-9).

public decimal PrepaidAmount { get; set; } #

Amount already paid (BT-113).

public decimal RoundingAmount { get; set; } #

Explicit rounding adjustment to the amount due (BT-114).

public string? TaxCurrency { get; set; } #

Accounting currency for VAT reporting (BT-6). Changing an established currency invalidates its VAT amount.

public decimal? TaxAmountInAccountingCurrency { get; set; } #

VAT total in the accounting currency (BT-111), supplied with an explicit tax currency.

public InvoiceDeclaredTotals? DeclaredTotals { get; set; } #

Totals declared by a source document, retained for validation rather than silently recalculated on import.

public IList<InvoiceDeclaredTax> DeclaredTaxes { get; } #

VAT breakdowns declared by a source document (BG-23).