Created
December 28, 2023 14:45
-
-
Save bjoerntx/3f8a7c314b004ed017a7f95868f5fc72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XRechnung xRechnung = new XRechnung() | |
{ | |
InvoiceNumber = "471102", | |
InvoiceDate = new DateTime(2013, 6, 5), | |
Currency = CurrencyCodes.EUR, | |
OrderNumber = "AB-312", | |
DeliveryDate = new DateTime(2013, 6, 3), | |
PaymentTerms = "Zahlbar innerhalb 30 Tagen netto bis 04.07.2023", | |
PaymentDueDate = new DateTime(2023, 07, 04), | |
Seller = new Seller() | |
{ | |
Name = "Lieferant GmbH", | |
Street = "Lieferantenstraße", | |
ZipCode = "80333", | |
City = "München", | |
VATID = "DE123456789", | |
TaxRegistrationSchemeID = TaxRegistrationSchemeID.VA, | |
Contact = "Max Mustermann", | |
Phone = "+4942142706710", | |
Email = "max@mustermann.de" | |
}, | |
Buyer = new Buyer() | |
{ | |
Name = "Kunden Mitte AG", | |
Street = "Kundenstraße", | |
ZipCode = "69876", | |
City = "Frankfurt", | |
VATID = "DE234567890", | |
TaxRegistrationSchemeID = TaxRegistrationSchemeID.VA, | |
Contact = "Hans Muster", | |
OrganizationUnit = "Einkauf", | |
Email = "hans@muster.de", | |
Phone = "22342424", | |
OrderReferenceDocument = "2013-471102", | |
OrderReferenceDocumentDate = new DateTime(2013, 5, 5) | |
}, | |
LineItems = new List<LineItem>() | |
{ | |
new LineItem() | |
{ | |
Name = "Item name", | |
Description = "Detail description", | |
Quantity = 1, | |
Unit = QuantityCodes.H87, | |
UnitPrice = 10m, | |
TaxCategory = TaxCategoryCodes.S, | |
TaxType = TaxTypes.VAT, | |
TaxPercent = 19 | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment