Class Invoice
Represents an electronic invoice conforming to EN 16931 / EInvoice.
public sealed class Invoice
- Inheritance
-
Invoice
- Inherited Members
Properties
AdditionalDocuments
BG-1: Additional supporting documents.
public IReadOnlyList<DocumentReference> AdditionalDocuments { get; init; }
Property Value
Allowances
BG-20: Document-level allowances.
public IReadOnlyList<Allowance> Allowances { get; init; }
Property Value
Buyer
BG-7: Buyer party.
public required Party Buyer { get; init; }
Property Value
BuyerAccountingReference
BT-19: Buyer accounting reference.
public string? BuyerAccountingReference { get; init; }
Property Value
BuyerReference
BT-10: Buyer reference (Leitweg-ID for German public sector).
public required string BuyerReference { get; init; }
Property Value
BuyerReferenceSchemeId
Optional scheme identifier for BT-10. Use "leitweg-id" to enable
Leitweg-ID format and check digit validation.
public string? BuyerReferenceSchemeId { get; init; }
Property Value
Charges
BG-21: Document-level charges.
public IReadOnlyList<Charge> Charges { get; init; }
Property Value
ContractReference
BT-12: Contract reference.
public string? ContractReference { get; init; }
Property Value
Delivery
BG-13/BG-15: Delivery information.
public DeliveryInformation? Delivery { get; init; }
Property Value
DespatchAdviceReference
BT-16: Despatch advice reference.
public string? DespatchAdviceReference { get; init; }
Property Value
DirectDebit
BG-19: Direct debit mandate.
public DirectDebitMandate? DirectDebit { get; init; }
Property Value
DocumentCurrencyCode
BT-5: Invoice currency code (ISO 4217).
public required CurrencyCode DocumentCurrencyCode { get; init; }
Property Value
DueDate
BT-9: Due date for payment.
public DateOnly? DueDate { get; init; }
Property Value
Id
BT-1: Invoice number (unique identifier assigned by the Seller).
public required string Id { get; init; }
Property Value
InvoicePeriod
BG-14: Invoice period.
public InvoicePeriod? InvoicePeriod { get; init; }
Property Value
InvoiceTypeCode
BT-3: Invoice type code (e.g. 380 = Commercial Invoice, 381 = Credit Note).
public required InvoiceTypeCode InvoiceTypeCode { get; init; }
Property Value
InvoicedObjectIdentifier
BT-18: Invoiced object identifier.
public string? InvoicedObjectIdentifier { get; init; }
Property Value
InvoicedObjectSchemeId
BT-18-1: Scheme identifier for the invoiced object identifier (UNTDID 1153).
public ReferenceCodeQualifier? InvoicedObjectSchemeId { get; init; }
Property Value
IssueDate
BT-2: Invoice issue date.
public required DateOnly IssueDate { get; init; }
Property Value
LegalMonetaryTotal
BG-22: Document totals.
public required MonetaryTotal LegalMonetaryTotal { get; init; }
Property Value
Lines
BG-25: Invoice lines.
public required IReadOnlyList<InvoiceLine> Lines { get; init; }
Property Value
Notes
BT-22: Notes on the invoice.
public IReadOnlyList<Note> Notes { get; init; }
Property Value
OrderReference
BT-13: Purchase order reference.
public string? OrderReference { get; init; }
Property Value
Payee
BG-10: Payee party (if different from the Seller).
public Payee? Payee { get; init; }
Property Value
PaymentMeans
BG-16: Payment means.
public PaymentMeans? PaymentMeans { get; init; }
Property Value
PaymentTerms
BT-20: Payment terms (free text).
public string? PaymentTerms { get; init; }
Property Value
PrecedingInvoices
BG-3: Preceding invoices (corrected or replaced).
public IReadOnlyList<PrecedingInvoice> PrecedingInvoices { get; init; }
Property Value
ProjectReference
BT-11: Project reference.
public string? ProjectReference { get; init; }
Property Value
ReceivingAdviceReference
BT-15: Receiving advice reference.
public string? ReceivingAdviceReference { get; init; }
Property Value
RemittanceInformation
BT-83: Remittance information.
public string? RemittanceInformation { get; init; }
Property Value
SalesOrderReference
BT-14: Sales order reference.
public string? SalesOrderReference { get; init; }
Property Value
Seller
BG-4: Seller party.
public required Party Seller { get; init; }
Property Value
TaxRepresentative
BG-11/BG-12: Seller's tax representative party.
public TaxRepresentative? TaxRepresentative { get; init; }
Property Value
TaxTotal
BG-22: Tax totals.
public required TaxTotal TaxTotal { get; init; }
Property Value
TenderOrLotReference
BT-17: Tender or lot reference.
public string? TenderOrLotReference { get; init; }
Property Value
VatAccountingCurrencyCode
BT-6: VAT accounting currency code (when different from invoice currency).
public CurrencyCode? VatAccountingCurrencyCode { get; init; }
Property Value
VatPointDate
BT-7: Value added tax point date.
public DateOnly? VatPointDate { get; init; }
Property Value
VatPointDateCode
BT-8: Value added tax point date code (UNTDID 2005).
public DateCode? VatPointDateCode { get; init; }