Created
January 2, 2025 12:16
-
-
Save bjoerntx/08572809c7d9f860a4f67fb72cfdb18e to your computer and use it in GitHub Desktop.
This file contains hidden or 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(2024,12,30), | |
| Currency = CurrencyCodes.EUR, | |
| OrderNumber = "AB-312", | |
| DeliveryDate = new DateTime(2024, 12, 30), | |
| PaymentTerms = "Zahlbar innerhalb 30 Tagen netto.", | |
| PaymentDueDate = new DateTime(2025,01,15), | |
| 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", | |
| }, | |
| 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