Merge branch 'master' of github.com:ZUGFeRD/mustangproject
This commit is contained in:
@@ -155,7 +155,7 @@ corrections
|
|||||||
- #707 invoiceimporter may fail if certain values are not set
|
- #707 invoiceimporter may fail if certain values are not set
|
||||||
- #708 embedded files cannot be determined
|
- #708 embedded files cannot be determined
|
||||||
- #709 ZUGFeRDInvoiceImporter ignored "first" embedded file in list of pdf attachments
|
- #709 ZUGFeRDInvoiceImporter ignored "first" embedded file in list of pdf attachments
|
||||||
- #607 Enable flexible PaymentReference and a DocumentName.
|
- #607 Enable flexible PaymentReference and a DocumentName. **Important note:** The library’s behavior for generating ZUGFeRD 2 documents is not fully backward compatible. Except for the “Minimum” profile, BT‑83 was automatically populated with the document number in earlier versions. From this release onward, applications must explicitly set BT‑83.
|
||||||
- #649 Reuse toPDF method to work without any dependencies to the file system
|
- #649 Reuse toPDF method to work without any dependencies to the file system
|
||||||
- #650 Add net.sf.offo:fop-hyph
|
- #650 Add net.sf.offo:fop-hyph
|
||||||
- #665 Fix #632: Return ubl_creditnote as Standard for CreditNotes
|
- #665 Fix #632: Return ubl_creditnote as Standard for CreditNotes
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ public class Item implements IZUGFeRDExportableItem {
|
|||||||
protected ArrayList<IZUGFeRDAllowanceCharge> Charges = new ArrayList<>();
|
protected ArrayList<IZUGFeRDAllowanceCharge> Charges = new ArrayList<>();
|
||||||
protected List<IncludedNote> includedNotes = null;
|
protected List<IncludedNote> includedNotes = null;
|
||||||
protected String accountingReference;
|
protected String accountingReference;
|
||||||
|
protected String parentLineID = null;
|
||||||
|
protected String lineStatusReasonCode = null;
|
||||||
//protected HashMap<String, String> attributes = new HashMap<>();
|
//protected HashMap<String, String> attributes = new HashMap<>();
|
||||||
|
|
||||||
/***
|
/***
|
||||||
@@ -91,9 +93,11 @@ public class Item implements IZUGFeRDExportableItem {
|
|||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
itemMap.getAsNodeMap("AssociatedDocumentLineDocument")
|
itemMap.getAsNodeMap("AssociatedDocumentLineDocument").ifPresent(adld -> {
|
||||||
.flatMap(icnm -> icnm.getAsString("LineID"))
|
adld.getAsString("LineID").ifPresent(this::setId);
|
||||||
.ifPresent(this::setId);
|
adld.getAsString("ParentLineID").ifPresent(this::setParentLineID);
|
||||||
|
adld.getAsString("LineStatusReasonCode").ifPresent(this::setLineStatusReasonCode);
|
||||||
|
});
|
||||||
|
|
||||||
itemMap.getAsNodeMap("Price").ifPresent(icnm -> {
|
itemMap.getAsNodeMap("Price").ifPresent(icnm -> {
|
||||||
// ubl
|
// ubl
|
||||||
@@ -189,6 +193,9 @@ public class Item implements IZUGFeRDExportableItem {
|
|||||||
icnm.getAsNodeMap("ApplicableTradeTax")
|
icnm.getAsNodeMap("ApplicableTradeTax")
|
||||||
.flatMap(cnm -> cnm.getAsString("ExemptionReason"))
|
.flatMap(cnm -> cnm.getAsString("ExemptionReason"))
|
||||||
.ifPresent(product::setTaxExemptionReason);
|
.ifPresent(product::setTaxExemptionReason);
|
||||||
|
icnm.getAsNodeMap("ApplicableTradeTax")
|
||||||
|
.flatMap(cnm -> cnm.getAsString("ExemptionReasonCode"))
|
||||||
|
.ifPresent(product::setTaxExemptionReasonCode);
|
||||||
|
|
||||||
icnm.getAllNodes("SpecifiedTradeAllowanceCharge").map(NodeMap::new).forEach(stac -> {
|
icnm.getAllNodes("SpecifiedTradeAllowanceCharge").map(NodeMap::new).forEach(stac -> {
|
||||||
stac.getAsNodeMap("ChargeIndicator").ifPresent(ci -> {
|
stac.getAsNodeMap("ChargeIndicator").ifPresent(ci -> {
|
||||||
@@ -644,4 +651,34 @@ public class Item implements IZUGFeRDExportableItem {
|
|||||||
public String getAccountingReference() {
|
public String getAccountingReference() {
|
||||||
return accountingReference;
|
return accountingReference;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getParentLineID() {
|
||||||
|
return parentLineID;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* for sub invoice lines: set the parent line ID
|
||||||
|
* @param parentLineID the line ID of the parent line
|
||||||
|
* @return fluent setter
|
||||||
|
*/
|
||||||
|
public Item setParentLineID(String parentLineID) {
|
||||||
|
this.parentLineID = parentLineID;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLineStatusReasonCode() {
|
||||||
|
return lineStatusReasonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* for sub invoice lines: set the status reason code (DETAIL, GROUP, INFORMATION)
|
||||||
|
* @param lineStatusReasonCode the status reason code
|
||||||
|
* @return fluent setter
|
||||||
|
*/
|
||||||
|
public Item setLineStatusReasonCode(String lineStatusReasonCode) {
|
||||||
|
this.lineStatusReasonCode = lineStatusReasonCode;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ public class Product implements IZUGFeRDExportableProduct {
|
|||||||
protected String unit, name, sellerAssignedID, buyerAssignedID;
|
protected String unit, name, sellerAssignedID, buyerAssignedID;
|
||||||
protected String description = "";
|
protected String description = "";
|
||||||
protected String taxExemptionReason = null;
|
protected String taxExemptionReason = null;
|
||||||
|
protected String taxExemptionReasonCode = null;
|
||||||
protected String taxCategoryCode = null;
|
protected String taxCategoryCode = null;
|
||||||
protected BigDecimal VATPercent;
|
protected BigDecimal VATPercent;
|
||||||
protected boolean isReverseCharge = false;
|
protected boolean isReverseCharge = false;
|
||||||
@@ -157,7 +158,22 @@ public class Product implements IZUGFeRDExportableProduct {
|
|||||||
* @return fluent setter
|
* @return fluent setter
|
||||||
*/
|
*/
|
||||||
public Product setTaxExemptionReason(String taxExemptionReasonText) {
|
public Product setTaxExemptionReason(String taxExemptionReasonText) {
|
||||||
taxExemptionReason = taxExemptionReasonText;
|
this.taxExemptionReason = taxExemptionReasonText;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getTaxExemptionReasonCode() {
|
||||||
|
return taxExemptionReasonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
*
|
||||||
|
* @param taxExemptionReasonCode, https://docs.peppol.eu/poacc/billing/3.0/codelist/vatex/
|
||||||
|
* @return fluent setter
|
||||||
|
*/
|
||||||
|
public Product setTaxExemptionReasonCode(String taxExemptionReasonCode) {
|
||||||
|
this.taxExemptionReasonCode = taxExemptionReasonCode;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -192,6 +192,36 @@ public interface IZUGFeRDExportableItem extends IAbsoluteValueProvider{
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* for sub invoice lines in ZUGFeRD Extended: the line ID of the parent line
|
||||||
|
* @return the parent line ID or null if this is a top-level line
|
||||||
|
*/
|
||||||
|
default String getParentLineID() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* for sub invoice lines in ZUGFeRD Extended: the status reason code
|
||||||
|
* determines if a line is relevant for calculation
|
||||||
|
* @return DETAIL, GROUP, INFORMATION or null for standard lines
|
||||||
|
*/
|
||||||
|
default String getLineStatusReasonCode() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* checks if this line should be included in sum calculation.
|
||||||
|
* GROUP and INFORMATION lines are not calculation-relevant,
|
||||||
|
* only DETAIL lines (or lines without status code) are.
|
||||||
|
* @return true if the line should be included in calculation
|
||||||
|
*/
|
||||||
|
@com.fasterxml.jackson.annotation.JsonIgnore
|
||||||
|
default boolean isCalculationRelevant() {
|
||||||
|
String status = getLineStatusReasonCode();
|
||||||
|
// null means standard line (backwards compatible), DETAIL is explicitly relevant
|
||||||
|
return status == null || "DETAIL".equals(status);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A grouping of business terms to indicate accounting-relevant free texts including a qualification of these.
|
* A grouping of business terms to indicate accounting-relevant free texts including a qualification of these.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -158,6 +158,10 @@ public interface IZUGFeRDExportableProduct {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
default String getTaxExemptionReasonCode() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
default String getCountryOfOrigin() {
|
default String getCountryOfOrigin() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -155,12 +155,15 @@ public class TransactionCalculator implements IAbsoluteValueProvider {
|
|||||||
|
|
||||||
/***
|
/***
|
||||||
* returns the total net value of all items, without document level
|
* returns the total net value of all items, without document level
|
||||||
* charges/allowances
|
* charges/allowances. For sub invoice lines only DETAIL lines are summed,
|
||||||
|
* GROUP and INFORMATION lines are ignored.
|
||||||
*
|
*
|
||||||
* @return item sum
|
* @return item sum
|
||||||
*/
|
*/
|
||||||
protected BigDecimal getTotal() {
|
protected BigDecimal getTotal() {
|
||||||
BigDecimal dec = Stream.of(trans.getZFItems()).map(LineCalculator::new)
|
BigDecimal dec = Stream.of(trans.getZFItems())
|
||||||
|
.filter(IZUGFeRDExportableItem::isCalculationRelevant)
|
||||||
|
.map(LineCalculator::new)
|
||||||
.map(LineCalculator::getItemTotalNetAmount).reduce(ZERO, BigDecimal::add);
|
.map(LineCalculator::getItemTotalNetAmount).reduce(ZERO, BigDecimal::add);
|
||||||
return dec;
|
return dec;
|
||||||
}
|
}
|
||||||
@@ -189,6 +192,10 @@ public class TransactionCalculator implements IAbsoluteValueProvider {
|
|||||||
final String vatDueDateTypeCode = trans.getVATDueDateTypeCode();
|
final String vatDueDateTypeCode = trans.getVATDueDateTypeCode();
|
||||||
|
|
||||||
for (IZUGFeRDExportableItem currentItem : trans.getZFItems()) {
|
for (IZUGFeRDExportableItem currentItem : trans.getZFItems()) {
|
||||||
|
// skip GROUP and INFORMATION lines for sub invoice lines
|
||||||
|
if (!currentItem.isCalculationRelevant()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
BigDecimal percent = null;
|
BigDecimal percent = null;
|
||||||
if (currentItem.getProduct() != null) {
|
if (currentItem.getProduct() != null) {
|
||||||
percent = currentItem.getProduct().getVATPercent();
|
percent = currentItem.getProduct().getVATPercent();
|
||||||
@@ -254,7 +261,12 @@ public class TransactionCalculator implements IAbsoluteValueProvider {
|
|||||||
protected List<VATAmount> getVATAmountList() {
|
protected List<VATAmount> getVATAmountList() {
|
||||||
final List<VATAmount> vatAmounts = new ArrayList<>();
|
final List<VATAmount> vatAmounts = new ArrayList<>();
|
||||||
final String vatDueDateTypeCode = this.trans.getVATDueDateTypeCode();
|
final String vatDueDateTypeCode = this.trans.getVATDueDateTypeCode();
|
||||||
for (final IZUGFeRDExportableItem currentItem : this.trans.getZFItems()) {
|
for (final IZUGFeRDExportableItem currentItem : this.trans.getZFItems())
|
||||||
|
{
|
||||||
|
// skip GROUP and INFORMATION lines for sub invoice lines
|
||||||
|
if (!currentItem.isCalculationRelevant()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
BigDecimal percent = null;
|
BigDecimal percent = null;
|
||||||
if (currentItem.getProduct() != null) {
|
if (currentItem.getProduct() != null) {
|
||||||
percent = currentItem.getProduct().getVATPercent();
|
percent = currentItem.getProduct().getVATPercent();
|
||||||
|
|||||||
@@ -537,6 +537,9 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
|||||||
if (currentItem.getProduct().getTaxExemptionReason() != null) {
|
if (currentItem.getProduct().getTaxExemptionReason() != null) {
|
||||||
xml += "<ram:ExemptionReason>" + XMLTools.encodeXML(currentItem.getProduct().getTaxExemptionReason()) + "</ram:ExemptionReason>";
|
xml += "<ram:ExemptionReason>" + XMLTools.encodeXML(currentItem.getProduct().getTaxExemptionReason()) + "</ram:ExemptionReason>";
|
||||||
}
|
}
|
||||||
|
if (currentItem.getProduct().getTaxExemptionReasonCode() != null) {
|
||||||
|
xml += "<ram:ExemptionReasonCode>" + XMLTools.encodeXML(currentItem.getProduct().getTaxExemptionReasonCode()) + "</ram:ExemptionReasonCode>";
|
||||||
|
}
|
||||||
xml += "<ram:CategoryCode>" + currentItem.getProduct().getTaxCategoryCode() + "</ram:CategoryCode>";
|
xml += "<ram:CategoryCode>" + currentItem.getProduct().getTaxCategoryCode() + "</ram:CategoryCode>";
|
||||||
BigDecimal vatValue=BigDecimal.ZERO;
|
BigDecimal vatValue=BigDecimal.ZERO;
|
||||||
if (currentItem.getProduct().getTaxCategoryCode().equals(TaxCategoryCodeTypeConstants.ZEROTAXPRODUCTS)) {
|
if (currentItem.getProduct().getTaxCategoryCode().equals(TaxCategoryCodeTypeConstants.ZEROTAXPRODUCTS)) {
|
||||||
@@ -1009,11 +1012,6 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
|||||||
|
|
||||||
ArrayList<IZUGFeRDPaymentTerms> paymentTerms = new ArrayList<IZUGFeRDPaymentTerms>(Arrays.asList(trans.getExtendedPaymentTerms()));
|
ArrayList<IZUGFeRDPaymentTerms> paymentTerms = new ArrayList<IZUGFeRDPaymentTerms>(Arrays.asList(trans.getExtendedPaymentTerms()));
|
||||||
|
|
||||||
IZUGFeRDPaymentTerms izpt= trans.getPaymentTerms();
|
|
||||||
if (izpt!=null) {
|
|
||||||
paymentTerms.add(izpt);
|
|
||||||
}
|
|
||||||
|
|
||||||
String paymentTermsXml = "";
|
String paymentTermsXml = "";
|
||||||
if (paymentTerms.size() == 0) {
|
if (paymentTerms.size() == 0) {
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ public class ZF2PushTest extends TestCase {
|
|||||||
.setRecipient(new TradeParty("Franz Müller", "teststr.12", "55232", "Entenhausen", "DE").addVATID("DE4711")
|
.setRecipient(new TradeParty("Franz Müller", "teststr.12", "55232", "Entenhausen", "DE").addVATID("DE4711")
|
||||||
.setContact(new Contact("Franz Müller", "01779999999", "franz@mueller.de", "teststr. 12", "55232", "Entenhausen", "DE")))
|
.setContact(new Contact("Franz Müller", "01779999999", "franz@mueller.de", "teststr. 12", "55232", "Entenhausen", "DE")))
|
||||||
.setNumber(number)
|
.setNumber(number)
|
||||||
.addItem(new Item(new Product("Testprodukt", "", "H87", new BigDecimal(0)).setTaxExemptionReason("Kleinunternehmer gemäß §19 UStG").setTaxCategoryCode("E"), price, new BigDecimal(1.0)).addNote(theNote))
|
.addItem(new Item(new Product("Testprodukt", "", "H87", new BigDecimal(0)).setTaxExemptionReason("Kleinunternehmer gemäß §19 UStG").setTaxCategoryCode("E").setTaxExemptionReasonCode( "VATEX-EU-I" ), price, new BigDecimal(1.0)).addNote(theNote))
|
||||||
);
|
);
|
||||||
String theXML = new String(ze.getProvider().getXML(), StandardCharsets.UTF_8);
|
String theXML = new String(ze.getProvider().getXML(), StandardCharsets.UTF_8);
|
||||||
assertTrue(theXML.contains("<rsm:CrossIndustryInvoice"));
|
assertTrue(theXML.contains("<rsm:CrossIndustryInvoice"));
|
||||||
@@ -179,6 +179,7 @@ public class ZF2PushTest extends TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
assertEquals(i.getZFItems()[0].getNotesWithSubjectCode().get(0).getContent(), theNote);
|
assertEquals(i.getZFItems()[0].getNotesWithSubjectCode().get(0).getContent(), theNote);
|
||||||
|
assertNotNull(i.getZFItems()[0].getProduct().getTaxExemptionReasonCode());
|
||||||
assertEquals(senderDescription, i.getSender().getDescription());
|
assertEquals(senderDescription, i.getSender().getDescription());
|
||||||
|
|
||||||
// now check the contents (like MustangReaderTest)
|
// now check the contents (like MustangReaderTest)
|
||||||
|
|||||||
@@ -895,4 +895,117 @@ public class ZF2ZInvoiceImporterTest extends ResourceCase {
|
|||||||
assertNull(invoice.getDespatchAdviceReferencedDocumentID());
|
assertNull(invoice.getDespatchAdviceReferencedDocumentID());
|
||||||
assertNull(invoice.getInvoiceReferencedDocumentID());
|
assertNull(invoice.getInvoiceReferencedDocumentID());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testSubInvoiceLinesImport() throws FileNotFoundException, XPathExpressionException, ParseException {
|
||||||
|
// test import of sub invoice lines with GROUP and DETAIL lines
|
||||||
|
File inputFile = getResourceAsFile("subinvoicelines/Extended_SubInvoiceLines_Hardware_Bsp2.xml");
|
||||||
|
ZUGFeRDInvoiceImporter zii = new ZUGFeRDInvoiceImporter();
|
||||||
|
zii.setInputStream(new FileInputStream(inputFile));
|
||||||
|
|
||||||
|
Invoice invoice = zii.extractInvoice();
|
||||||
|
assertEquals(6, invoice.getZFItems().length);
|
||||||
|
|
||||||
|
// find GROUP and DETAIL lines and verify LineStatusReasonCode and ParentLineID
|
||||||
|
Item group01 = findItemById(invoice, "01");
|
||||||
|
assertNotNull(group01);
|
||||||
|
assertEquals("GROUP", group01.getLineStatusReasonCode());
|
||||||
|
assertNull(group01.getParentLineID());
|
||||||
|
assertFalse(group01.isCalculationRelevant());
|
||||||
|
|
||||||
|
Item detail0101 = findItemById(invoice, "0101");
|
||||||
|
assertNotNull(detail0101);
|
||||||
|
assertEquals("DETAIL", detail0101.getLineStatusReasonCode());
|
||||||
|
assertEquals("01", detail0101.getParentLineID());
|
||||||
|
assertTrue(detail0101.isCalculationRelevant());
|
||||||
|
|
||||||
|
Item detail0102 = findItemById(invoice, "0102");
|
||||||
|
assertNotNull(detail0102);
|
||||||
|
assertEquals("DETAIL", detail0102.getLineStatusReasonCode());
|
||||||
|
assertEquals("01", detail0102.getParentLineID());
|
||||||
|
assertTrue(detail0102.isCalculationRelevant());
|
||||||
|
|
||||||
|
// verify that only DETAIL lines are summed (not GROUP lines)
|
||||||
|
// DETAIL lines: 0101=600, 0102=450, 0201=360, 0202=90 = 1500
|
||||||
|
// GROUP lines should NOT be added: 01=1050, 02=450
|
||||||
|
TransactionCalculator tc = new TransactionCalculator(invoice);
|
||||||
|
assertEquals(new BigDecimal("1500.00"), tc.getTotal().setScale(2));
|
||||||
|
assertEquals(new BigDecimal("1785.00"), tc.getGrandTotal().setScale(2));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testSubInvoiceLinesNestedImport() throws FileNotFoundException, XPathExpressionException, ParseException {
|
||||||
|
// test import of nested sub invoice lines (GROUP containing GROUP containing DETAIL)
|
||||||
|
File inputFile = getResourceAsFile("subinvoicelines/Extended___SubInvoiceLines_Kaffee_Bundle_Set_Bsp4__.xml");
|
||||||
|
ZUGFeRDInvoiceImporter zii = new ZUGFeRDInvoiceImporter();
|
||||||
|
zii.setInputStream(new FileInputStream(inputFile));
|
||||||
|
|
||||||
|
Invoice invoice = zii.extractInvoice();
|
||||||
|
|
||||||
|
// find nested structure: 1 (GROUP) -> 1.3 (GROUP) -> 1.3.1 (DETAIL)
|
||||||
|
Item group1 = findItemById(invoice, "1");
|
||||||
|
assertNotNull(group1);
|
||||||
|
assertEquals("GROUP", group1.getLineStatusReasonCode());
|
||||||
|
|
||||||
|
Item group13 = findItemById(invoice, "1.3");
|
||||||
|
assertNotNull(group13);
|
||||||
|
assertEquals("GROUP", group13.getLineStatusReasonCode());
|
||||||
|
assertEquals("1", group13.getParentLineID());
|
||||||
|
|
||||||
|
Item detail131 = findItemById(invoice, "1.3.1");
|
||||||
|
assertNotNull(detail131);
|
||||||
|
assertEquals("DETAIL", detail131.getLineStatusReasonCode());
|
||||||
|
assertEquals("1.3", detail131.getParentLineID());
|
||||||
|
|
||||||
|
// verify calculation only includes DETAIL lines
|
||||||
|
// DETAIL: 1.1=30, 1.2=60, 1.3.1=90, 1.3.2=36 = 216
|
||||||
|
TransactionCalculator tc = new TransactionCalculator(invoice);
|
||||||
|
assertEquals(new BigDecimal("216.00"), tc.getTotal().setScale(2));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testSubInvoiceLinesWithDiscounts() throws FileNotFoundException, XPathExpressionException, ParseException {
|
||||||
|
// test sub invoice lines with negative amounts (discounts)
|
||||||
|
File inputFile = getResourceAsFile("subinvoicelines/Extended___SubInvoiceLines_Buero_Material_Bsp3__.xml");
|
||||||
|
ZUGFeRDInvoiceImporter zii = new ZUGFeRDInvoiceImporter();
|
||||||
|
zii.setInputStream(new FileInputStream(inputFile));
|
||||||
|
|
||||||
|
Invoice invoice = zii.extractInvoice();
|
||||||
|
|
||||||
|
// verify calculation handles negative DETAIL lines correctly
|
||||||
|
// GROUP 01: 600 + 450 - 50 = 1000
|
||||||
|
// GROUP 02: 360 + 90 - 45 = 405
|
||||||
|
// Total DETAIL: 1405
|
||||||
|
TransactionCalculator tc = new TransactionCalculator(invoice);
|
||||||
|
assertEquals(new BigDecimal("1405.00"), tc.getTotal().setScale(2));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testSubInvoiceLinesInformation() throws FileNotFoundException, XPathExpressionException, ParseException {
|
||||||
|
// test INFORMATION lines (should have price 0 and not affect calculation)
|
||||||
|
File inputFile = getResourceAsFile("subinvoicelines/Extended_Fallschutz-Set_SubInvoiceLine_Bsp5.xml");
|
||||||
|
ZUGFeRDInvoiceImporter zii = new ZUGFeRDInvoiceImporter();
|
||||||
|
zii.setInputStream(new FileInputStream(inputFile));
|
||||||
|
|
||||||
|
Invoice invoice = zii.extractInvoice();
|
||||||
|
|
||||||
|
// find INFORMATION lines
|
||||||
|
Item info0101 = findItemById(invoice, "01.01");
|
||||||
|
assertNotNull(info0101);
|
||||||
|
assertEquals("INFORMATION", info0101.getLineStatusReasonCode());
|
||||||
|
assertFalse(info0101.isCalculationRelevant());
|
||||||
|
|
||||||
|
// DETAIL line 01 = 45000
|
||||||
|
TransactionCalculator tc = new TransactionCalculator(invoice);
|
||||||
|
assertEquals(new BigDecimal("45000.00"), tc.getTotal().setScale(2));
|
||||||
|
}
|
||||||
|
|
||||||
|
private Item findItemById(Invoice invoice, String id) {
|
||||||
|
for (IZUGFeRDExportableItem item : invoice.getZFItems()) {
|
||||||
|
if (item instanceof Item && id.equals(((Item) item).getId())) {
|
||||||
|
return (Item) item;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,408 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat“).
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>9099999999</ram:ID>
|
||||||
|
<ram:Name>RECHNUNG</ram:Name>
|
||||||
|
<ram:TypeCode>380</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20261031</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster Maschinenbau GmbH etc. </ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 (Extended)</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur empfohlenen Darstellung von Unterpositionen für ein Verkaufsset</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">99999999999</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>99999000000090 1</ram:SellerAssignedID>
|
||||||
|
<ram:Name>INDIVIDUELLES Fallschutzset</ram:Name>
|
||||||
|
<ram:Description>Kundenindividuelles Sortiment Fallschutz</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:GrossPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>4500.00</ram:ChargeAmount>
|
||||||
|
<ram:BasisQuantity unitCode="H87">1.0000</ram:BasisQuantity>
|
||||||
|
</ram:GrossPriceProductTradePrice>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>4500.00</ram:ChargeAmount>
|
||||||
|
<ram:BasisQuantity unitCode="H87">1.0000</ram:BasisQuantity>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:ID>0009999999</ram:ID>
|
||||||
|
<ram:Name>Muster Bau und Fassaden GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>76543</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Muster Str. 19</ram:LineOne>
|
||||||
|
<ram:CityName>Musterhausen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:BillingSpecifiedPeriod>
|
||||||
|
<ram:StartDateTime>
|
||||||
|
<udt:DateTimeString format="102">20261006</udt:DateTimeString>
|
||||||
|
</ram:StartDateTime>
|
||||||
|
<ram:EndDateTime>
|
||||||
|
<udt:DateTimeString format="102">20261021</udt:DateTimeString>
|
||||||
|
</ram:EndDateTime>
|
||||||
|
</ram:BillingSpecifiedPeriod>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>45000.00</ram:LineTotalAmount>
|
||||||
|
<ram:TotalAllowanceChargeAmount>0.00</ram:TotalAllowanceChargeAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>2133367983</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>130</ram:TypeCode>
|
||||||
|
<ram:ReferenceTypeCode>VN</ram:ReferenceTypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.01</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>INFORMATION</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">9947376819504</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>1239932943961 1</ram:SellerAssignedID>
|
||||||
|
<ram:Name>RUCKSACK-Fallschutz</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>0.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>0.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.02</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>INFORMATION</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">9961975355683</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>1234300430961 1</ram:SellerAssignedID>
|
||||||
|
<ram:Name>Gehörschutz</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>0.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>0.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.03</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>INFORMATION</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">9945727365021</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>1234102250061 1</ram:SellerAssignedID>
|
||||||
|
<ram:Name>Schutzbrille-KLAR</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>0.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>0.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.04</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>INFORMATION</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">9953479245027</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>1234200243961 1</ram:SellerAssignedID>
|
||||||
|
<ram:Name>Schutzhelm-6PUNKT-WEISS</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>0.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>0.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:GlobalID schemeID="0088">GLN4000000000</ram:GlobalID>
|
||||||
|
<ram:Name>Lieferant GmbH & Co. KG</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Georg Verkäufer</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>0160 123456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>georg.Verkäufer@lieferant.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>98765</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Lieferanten-Str.12-17</ram:LineOne>
|
||||||
|
<ram:CityName>Lieferstadt</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:URIUniversalCommunication>
|
||||||
|
<ram:URIID schemeID="0088">info@lieferant.de</ram:URIID>
|
||||||
|
</ram:URIUniversalCommunication>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="FC">78910/12345</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE12435679</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>21212121</ram:ID>
|
||||||
|
<ram:Name>Muster Maschinenbau GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>87654</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Käufer-Str. 12</ram:LineOne>
|
||||||
|
<ram:CityName>Käuferstadt</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>555555555</ram:IssuerAssignedID>
|
||||||
|
<ram:FormattedIssueDateTime>
|
||||||
|
<qdt:DateTimeString format="102">20261031</qdt:DateTimeString>
|
||||||
|
</ram:FormattedIssueDateTime>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>456789123</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:ID>0009999999</ram:ID>
|
||||||
|
<ram:Name>Muster Bau und Fassaden GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>76543</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Muster Str. 19</ram:LineOne>
|
||||||
|
<ram:CityName>Musterhausen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20261031</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:DeliveryNoteReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>8876543219</ram:IssuerAssignedID>
|
||||||
|
<ram:FormattedIssueDateTime>
|
||||||
|
<qdt:DateTimeString format="102">20261031</qdt:DateTimeString>
|
||||||
|
</ram:FormattedIssueDateTime>
|
||||||
|
</ram:DeliveryNoteReferencedDocument>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:PaymentReference>Kundennummer:. 8888855555 Rechnungsnummer:. 6069999999</ram:PaymentReference>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:Information>Bezahlung per SEPA Überweisung</ram:Information>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>SOLADESTXYZ</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>8550.00</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>45000.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum 29.11.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20261129</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>45000.00</ram:LineTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>45000.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">8550.00</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>53550.00</ram:GrandTotalAmount>
|
||||||
|
<ram:DuePayableAmount>53550.00</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
@@ -0,0 +1,443 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat“).
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>99877</ram:ID>
|
||||||
|
<ram:TypeCode>380</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster Bau GmbH etc.</ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 Extended</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur empfohlenen Darstellung von Unterpositionen</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0101</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">88888886349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>123456789</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>987654321</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Laser printer B/W</ram:Name>
|
||||||
|
<ram:Description>Schwarzweiß Laserdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>300.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">2.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>600.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0102</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">77777776349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>2345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Ink printer color</ram:Name>
|
||||||
|
<ram:Description>Farbdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>150.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">6666656349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal hardware</ram:Name>
|
||||||
|
<ram:Description>Hardware Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>1050.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1050.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0201</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">55555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>456789123</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>654321987</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Toner</ram:Name>
|
||||||
|
<ram:Description>Toner</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>120.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>360.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0202</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">5555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>567891234</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>543219876</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>PAPER</ram:Name>
|
||||||
|
<ram:Description>Kopierpapier</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>9.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>90.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>02</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">2222256349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>9345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>9765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal Accessories</ram:Name>
|
||||||
|
<ram:Description>Zubehör Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>450.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:BuyerReference>Kundenref. BT-10</ram:BuyerReference>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:ID>998877</ram:ID>
|
||||||
|
<ram:Name>Musterbetrieb Systemhaus AG </ram:Name>
|
||||||
|
<ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:ID>HRA 45678</ram:ID>
|
||||||
|
</ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Kontaktperson</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>5578</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>absender@musterberieb.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37079</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>August-Müller-Strasse 222</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE09687654321</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>330145</ram:ID>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Herr Thomas Auftraggeber</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>+49 321 456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>thomas.auftraggeber@Firmenkunde.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE1234567890</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>G12042-1-01</ram:IssuerAssignedID>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>BT-13</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:ContractReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vertragsnr. BT-12</ram:IssuerAssignedID>
|
||||||
|
</ram:ContractReferencedDocument>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vergabenr. BT-17</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>50</ram:TypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:SpecifiedProcuringProject>
|
||||||
|
<ram:ID>Projektnr. BT-11</ram:ID>
|
||||||
|
<ram:Name>Project reference</ram:Name>
|
||||||
|
</ram:SpecifiedProcuringProject>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
<ram:AccountName>Musterbetrieb Kontoname</ram:AccountName>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>PBNKDEFF</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>285.00</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>1500.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bei Zahlung bis zum 06.06.2026 zahlen Sie mit 2,00 % Skonto € 1749,30 €</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260606</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
<ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
<ram:BasisAmount>1785.00</ram:BasisAmount>
|
||||||
|
<ram:CalculationPercent>2.00</ram:CalculationPercent>
|
||||||
|
</ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum zum 13.06.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260613</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1500.00</ram:LineTotalAmount>
|
||||||
|
<ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>1500.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">285.00</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>1785.00</ram:GrandTotalAmount>
|
||||||
|
<ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
|
||||||
|
<ram:DuePayableAmount>1785.00</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
<ram:ID>Kostenstelle BT-19</ram:ID>
|
||||||
|
</ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
@@ -0,0 +1,507 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat“).
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>99877</ram:ID>
|
||||||
|
<ram:TypeCode>380</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster Bau GmbH etc.</ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 Extended</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur empfohlenen Darstellung von Unterpositionen</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0101</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">88888886349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>123456789</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>987654321</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Laser printer B/W</ram:Name>
|
||||||
|
<ram:Description>Schwarzweiß Laserdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>300.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">2.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>600.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0102</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">77777776349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>2345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Ink printer color</ram:Name>
|
||||||
|
<ram:Description>Farbdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>150.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0103</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">0000006349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>99992345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>88888876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Allowance</ram:Name>
|
||||||
|
<ram:Description>Abschlagsposition</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>50.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">-1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>-50.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">6666656349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal hardware</ram:Name>
|
||||||
|
<ram:Description>Hardware Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>1000.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1000.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0201</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">55555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>456789123</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>654321987</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Toner</ram:Name>
|
||||||
|
<ram:Description>Toner</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>120.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>360.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0202</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">5555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>567891234</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>543219876</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>PAPER</ram:Name>
|
||||||
|
<ram:Description>Kopierpapier</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>9.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>90.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0203</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">0000006349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>99992345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>88888876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Allowance</ram:Name>
|
||||||
|
<ram:Description>Abschlagsposition 10% von 450,- </ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>45.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">-1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>-45.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>02</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">2222256349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>9345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>9765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal Accessories</ram:Name>
|
||||||
|
<ram:Description>Zubehör Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>405.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>405.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:BuyerReference>Kundenref. BT-10</ram:BuyerReference>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:ID>998877</ram:ID>
|
||||||
|
<ram:Name>Musterbetrieb Systemhaus AG </ram:Name>
|
||||||
|
<ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:ID>HRA 45678</ram:ID>
|
||||||
|
</ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Kontaktperson</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>5578</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>absender@musterberieb.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37079</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>August-Müller-Strasse 222</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE09687654321</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>330145</ram:ID>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Herr Thomas Auftraggeber</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>+49 321 456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>thomas.auftraggeber@Firmenkunde.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE1234567890</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>G12042-1-01</ram:IssuerAssignedID>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>BT-13</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:ContractReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vertragsnr. BT-12</ram:IssuerAssignedID>
|
||||||
|
</ram:ContractReferencedDocument>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vergabenr. BT-17</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>50</ram:TypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:SpecifiedProcuringProject>
|
||||||
|
<ram:ID>Projektnr. BT-11</ram:ID>
|
||||||
|
<ram:Name>Project reference</ram:Name>
|
||||||
|
</ram:SpecifiedProcuringProject>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
<ram:AccountName>Musterbetrieb Kontoname</ram:AccountName>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>PBNKDEFF</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>266.95</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>1405.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bei Zahlung bis zum 06.06.2026 zahlen Sie mit 2,00 % Skonto € 1638,51 €</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260606</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
<ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
<ram:BasisAmount>1671.95</ram:BasisAmount>
|
||||||
|
<ram:CalculationPercent>2.00</ram:CalculationPercent>
|
||||||
|
</ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum zum 13.06.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260613</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1405.00</ram:LineTotalAmount>
|
||||||
|
<ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>1405.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">266.95</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>1671.95</ram:GrandTotalAmount>
|
||||||
|
<ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
|
||||||
|
<ram:DuePayableAmount>1671.95</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
<ram:ID>Kostenstelle BT-19</ram:ID>
|
||||||
|
</ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
@@ -0,0 +1,458 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat“).
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>50099877</ram:ID>
|
||||||
|
<ram:TypeCode>380</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster GmbH etc.</ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 Extended</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur empfohlenen Darstellung von Unterpositionen im Bundle mit verschiedenen Steuersätzen</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>1</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Positionswert nicht Rechnungs- bzw. Steuerrelevant - Zusammenfassung der steuerrelevanten Unterpositionen</ram:Content>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">88888886349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>123456789</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>987654321</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Kaffee-Display "Delicous"</ram:Name>
|
||||||
|
<ram:Description>Kaffee-Display / Bundle/Set bestehend aus folgenden Positionen</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>108.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">2.00</ram:BilledQuantity>
|
||||||
|
<ram:PackageQuantity unitCode="H87">1.00</ram:PackageQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>0.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>216.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>1.1</ram:LineID>
|
||||||
|
<ram:ParentLineID>1</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">77777776349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>2345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Kenia Röstung</ram:Name>
|
||||||
|
<ram:Description>feinste Röstung</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>5.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">6.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>30.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>1.2</ram:LineID>
|
||||||
|
<ram:ParentLineID>1</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">0000006349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>99992345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>88888876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Dunkle Röstung</ram:Name>
|
||||||
|
<ram:Description>feinste Röstung dunkel</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>5.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">12.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>60.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>1.3</ram:LineID>
|
||||||
|
<ram:ParentLineID>1</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Positionswert nicht Rechnungs- bzw. Steuerrelevant - Zusammenfassung der steuerrelevanten Unterpositionen</ram:Content>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">6666656349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Colombia Bundle</ram:Name>
|
||||||
|
<ram:Description>Bundle/Set kolumbianische Röstung</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>21.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">6.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>0.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>126.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>1.3.1</ram:LineID>
|
||||||
|
<ram:ParentLineID>1.3</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">55555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>456789123</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>654321987</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Colombia Roast</ram:Name>
|
||||||
|
<ram:Description>kolumbianische Röstung</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>5.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">18.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>90.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>1.3.2</ram:LineID>
|
||||||
|
<ram:ParentLineID>1.3</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">5555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>567891234</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>543219876</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Becher</ram:Name>
|
||||||
|
<ram:Description>Kaffeebecher Sonderanfertigung</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>2.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">18.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>36.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:BuyerReference>Kundenref. BT-10</ram:BuyerReference>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:ID>998877</ram:ID>
|
||||||
|
<ram:Name>Musterbetrieb Kaffee AG </ram:Name>
|
||||||
|
<ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:ID>HRA 45678</ram:ID>
|
||||||
|
</ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Kontaktperson</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>5578</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>absender@musterberieb.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37079</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>August-Müller-Strasse 222</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE09687654321</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>330145</ram:ID>
|
||||||
|
<ram:Name>Auftraggeber Kaffeehaus GmbH</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Herr Thomas Auftraggeber</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>+49 321 456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>thomas.auftraggeber@Firmenkunde.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE1234567890</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>G12042-1-01</ram:IssuerAssignedID>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>BT-13</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:ContractReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vertragsnr. BT-12</ram:IssuerAssignedID>
|
||||||
|
</ram:ContractReferencedDocument>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vergabenr. BT-17</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>50</ram:TypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:SpecifiedProcuringProject>
|
||||||
|
<ram:ID>Projektnr. BT-11</ram:ID>
|
||||||
|
<ram:Name>Project reference</ram:Name>
|
||||||
|
</ram:SpecifiedProcuringProject>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:Name>Auftraggeber Kaffeehaus GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
<ram:AccountName>Musterbetrieb Kontoname</ram:AccountName>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>PBNKDEFF</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>12.60</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>180.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>6.84</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>36.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bei Zahlung bis zum 06.06.2026 zahlen Sie mit 2,00 % Skonto € 230,73 €</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260606</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
<ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
<ram:BasisAmount>235.44</ram:BasisAmount>
|
||||||
|
<ram:CalculationPercent>2.00</ram:CalculationPercent>
|
||||||
|
</ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum zum 13.06.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260613</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>216.00</ram:LineTotalAmount>
|
||||||
|
<ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>216.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">19.44</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>235.44</ram:GrandTotalAmount>
|
||||||
|
<ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
|
||||||
|
<ram:DuePayableAmount>235.44</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
<ram:ID>Kostenstelle BT-19</ram:ID>
|
||||||
|
</ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
@@ -0,0 +1,473 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat“).
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>210111 mit LV</ram:ID>
|
||||||
|
<ram:TypeCode>875</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>1. Abschlagsrechnung</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster Bau GmbH etc.</ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 Extended</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur Darstellung einer Bau-Abschlags-Rechnung mit Sub-Invoice-Lines und Leistungsverzeichnis-Bezug je Position</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Betreff zum LV für eine Kurzinformation zum Bauvorhaben BT-22</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Kopftext für zusätzliche Beschreibungen zur Rechnung. Z.B. als Anschreiben für die Rechnung BT-22</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ergänzneder Fußtext für die Rechnung mit zusätzlichen Angaben. Z.B: Ist kein gesondertes Lieferdatum angegeben, entspricht das Rechnungsdatum dem Datum der Lieferung und Leistung</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>freier Text zur Rechnung BT-22</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.01</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:Name>Baugelände abräumen Anfallender Schutt, Pflanzenreste und Müll entsorgen</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>7.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">300.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>2100.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.01.01</ram:LineID>
|
||||||
|
<ram:ParentLineID>01.01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:Name>Baugelände abräumen</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>LV 1.1.1.1.1.</ram:IssuerAssignedID>
|
||||||
|
<ram:LineID>LV000001.1</ram:LineID>
|
||||||
|
<ram:TypeCode>130</ram:TypeCode>
|
||||||
|
<ram:Name>Leistungsverzeichnis</ram:Name>
|
||||||
|
<ram:ReferenceTypeCode>BD</ram:ReferenceTypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>7.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">100.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>700.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.01.02</ram:LineID>
|
||||||
|
<ram:ParentLineID>01.01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:Name>Anfallender Pflanzenreste entsorgen</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>LV 1.1.1.1.1.</ram:IssuerAssignedID>
|
||||||
|
<ram:LineID>LV000001.2</ram:LineID>
|
||||||
|
<ram:TypeCode>130</ram:TypeCode>
|
||||||
|
<ram:Name>Leistungsverzeichnis</ram:Name>
|
||||||
|
<ram:ReferenceTypeCode>BD</ram:ReferenceTypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>7.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">100.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>700.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.01.03</ram:LineID>
|
||||||
|
<ram:ParentLineID>01.01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:Name>Müll entsorgen</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>LV 1.1.1.1.1.</ram:IssuerAssignedID>
|
||||||
|
<ram:LineID>LV000001.3</ram:LineID>
|
||||||
|
<ram:TypeCode>130</ram:TypeCode>
|
||||||
|
<ram:Name>Leistungsverzeichnis</ram:Name>
|
||||||
|
<ram:ReferenceTypeCode>BD</ram:ReferenceTypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>7.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">100.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>700.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01.02</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:Name>Pflasterfläche vorbereiten, Planum herstellen und verdichten</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>6.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="MTK">250.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1500.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:Name>Summe 01 Bauabschnitt 1 - Vorarbeiten</ram:Name>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:LineID>000001</ram:LineID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>3600</ram:ChargeAmount>
|
||||||
|
<ram:BasisQuantity unitCode="H87">1.0000</ram:BasisQuantity>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>3600.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:BuyerReference>Kundenref. BT-10</ram:BuyerReference>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:ID>998877</ram:ID>
|
||||||
|
<ram:Name>Musterbetrieb AG Demodaten</ram:Name>
|
||||||
|
<ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:ID>HRA 45678</ram:ID>
|
||||||
|
</ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Kontaktperson</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>5578</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>absender@musterberieb.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37079</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>August-Spindler-Strasse 222</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE09687654321</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>330145</ram:ID>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Herr Thomas Auftraggeber</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>+49 321 456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>thomas.auftraggeber@Firmenkunde.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Gartenstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE1234567890</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>G12042-1-01</ram:IssuerAssignedID>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>BT-13</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:ContractReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vertragsnr. BT-12</ram:IssuerAssignedID>
|
||||||
|
</ram:ContractReferencedDocument>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vergabenr. BT-17</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>50</ram:TypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:SpecifiedProcuringProject>
|
||||||
|
<ram:ID>Projektnr. BT-11</ram:ID>
|
||||||
|
<ram:Name>Project reference</ram:Name>
|
||||||
|
</ram:SpecifiedProcuringProject>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Gartenstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
<ram:AccountName>Musterbetrieb Kontoname</ram:AccountName>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>PBNKDEFF</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>684.00</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>3600.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:BillingSpecifiedPeriod>
|
||||||
|
<ram:StartDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260513</udt:DateTimeString>
|
||||||
|
</ram:StartDateTime>
|
||||||
|
<ram:EndDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:EndDateTime>
|
||||||
|
</ram:BillingSpecifiedPeriod>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bei Zahlung bis zum 06.06.2026 zahlen Sie mit 2,50 % Skonto € 4.176,90</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260606</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
<ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
<ram:BasisAmount>4284.00</ram:BasisAmount>
|
||||||
|
<ram:CalculationPercent>2.5</ram:CalculationPercent>
|
||||||
|
</ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum zum 13.06.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260613</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>3600.00</ram:LineTotalAmount>
|
||||||
|
<ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>3600.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">684.00</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>4284.00</ram:GrandTotalAmount>
|
||||||
|
<ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
|
||||||
|
<ram:DuePayableAmount>4284.00</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
<ram:ID>Kostenstelle BT-19</ram:ID>
|
||||||
|
</ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
@@ -0,0 +1,456 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--
|
||||||
|
MUSTANG TEST FILE - Invalid SubInvoiceLine Hierarchy
|
||||||
|
=====================================================
|
||||||
|
This file is a copy of Extended_SubInvoiceLines_Hardware_Bsp2.xml with an
|
||||||
|
intentionally incorrect GROUP sum for testing the SubInvoiceLine hierarchy validation.
|
||||||
|
|
||||||
|
Modification: GROUP line 01 has LineTotalAmount 999.00 instead of correct 1050.00
|
||||||
|
(DETAIL 0101: 600.00 + DETAIL 0102: 450.00 = 1050.00)
|
||||||
|
|
||||||
|
Expected: Validation should produce a warning about hierarchy mismatch.
|
||||||
|
-->
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat").
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>99877</ram:ID>
|
||||||
|
<ram:TypeCode>380</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster Bau GmbH etc.</ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 Extended</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur empfohlenen Darstellung von Unterpositionen</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0101</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">88888886349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>123456789</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>987654321</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Laser printer B/W</ram:Name>
|
||||||
|
<ram:Description>Schwarzweiß Laserdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>300.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">2.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>600.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0102</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">77777776349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>2345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Ink printer color</ram:Name>
|
||||||
|
<ram:Description>Farbdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>150.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">6666656349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal hardware</ram:Name>
|
||||||
|
<ram:Description>Hardware Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<!-- MUSTANG TEST: intentionally wrong, should be 1050.00 -->
|
||||||
|
<ram:ChargeAmount>999.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<!-- MUSTANG TEST: intentionally wrong, should be 1050.00 (600.00 + 450.00) -->
|
||||||
|
<ram:LineTotalAmount>999.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0201</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">55555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>456789123</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>654321987</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Toner</ram:Name>
|
||||||
|
<ram:Description>Toner</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>120.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>360.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0202</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">5555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>567891234</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>543219876</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>PAPER</ram:Name>
|
||||||
|
<ram:Description>Kopierpapier</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>9.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>90.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>02</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">2222256349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>9345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>9765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal Accessories</ram:Name>
|
||||||
|
<ram:Description>Zubehör Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>450.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:BuyerReference>Kundenref. BT-10</ram:BuyerReference>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:ID>998877</ram:ID>
|
||||||
|
<ram:Name>Musterbetrieb Systemhaus AG </ram:Name>
|
||||||
|
<ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:ID>HRA 45678</ram:ID>
|
||||||
|
</ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Kontaktperson</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>5578</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>absender@musterberieb.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37079</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>August-Müller-Strasse 222</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE09687654321</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>330145</ram:ID>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Herr Thomas Auftraggeber</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>+49 321 456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>thomas.auftraggeber@Firmenkunde.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE1234567890</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>G12042-1-01</ram:IssuerAssignedID>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>BT-13</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:ContractReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vertragsnr. BT-12</ram:IssuerAssignedID>
|
||||||
|
</ram:ContractReferencedDocument>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vergabenr. BT-17</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>50</ram:TypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:SpecifiedProcuringProject>
|
||||||
|
<ram:ID>Projektnr. BT-11</ram:ID>
|
||||||
|
<ram:Name>Project reference</ram:Name>
|
||||||
|
</ram:SpecifiedProcuringProject>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
<ram:AccountName>Musterbetrieb Kontoname</ram:AccountName>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>PBNKDEFF</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>285.00</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>1500.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bei Zahlung bis zum 06.06.2026 zahlen Sie mit 2,00 % Skonto € 1749,30 €</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260606</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
<ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
<ram:BasisAmount>1785.00</ram:BasisAmount>
|
||||||
|
<ram:CalculationPercent>2.00</ram:CalculationPercent>
|
||||||
|
</ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum zum 13.06.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260613</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1500.00</ram:LineTotalAmount>
|
||||||
|
<ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>1500.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">285.00</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>1785.00</ram:GrandTotalAmount>
|
||||||
|
<ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
|
||||||
|
<ram:DuePayableAmount>1785.00</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
<ram:ID>Kostenstelle BT-19</ram:ID>
|
||||||
|
</ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
@@ -5,6 +5,7 @@ import java.io.PrintWriter;
|
|||||||
import java.io.StringReader;
|
import java.io.StringReader;
|
||||||
import java.io.StringWriter;
|
import java.io.StringWriter;
|
||||||
import java.io.UncheckedIOException;
|
import java.io.UncheckedIOException;
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
import java.nio.file.Paths;
|
import java.nio.file.Paths;
|
||||||
@@ -24,6 +25,8 @@ import javax.xml.xpath.XPathFactory;
|
|||||||
|
|
||||||
import org.mustangproject.CalculatedInvoice;
|
import org.mustangproject.CalculatedInvoice;
|
||||||
import org.mustangproject.XMLTools;
|
import org.mustangproject.XMLTools;
|
||||||
|
import org.mustangproject.ZUGFeRD.IZUGFeRDExportableItem;
|
||||||
|
import org.mustangproject.ZUGFeRD.LineCalculator;
|
||||||
import org.mustangproject.ZUGFeRD.ZUGFeRDInvoiceImporter;
|
import org.mustangproject.ZUGFeRD.ZUGFeRDInvoiceImporter;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
@@ -454,6 +457,9 @@ public class XMLValidator extends Validator {
|
|||||||
CalculatedInvoice ci=new CalculatedInvoice();
|
CalculatedInvoice ci=new CalculatedInvoice();
|
||||||
zi.extractInto(ci);
|
zi.extractInto(ci);
|
||||||
|
|
||||||
|
// check sub invoice line hierarchy if present
|
||||||
|
checkSubInvoiceLineHierarchy(ci, context);
|
||||||
|
|
||||||
} catch ( ArithmeticException e) {
|
} catch ( ArithmeticException e) {
|
||||||
try {
|
try {
|
||||||
context.addResultItem(new ValidationResultItem(ESeverity.warning, "Arithmetical issue:"+e.getMessage()).setSection(10));
|
context.addResultItem(new ValidationResultItem(ESeverity.warning, "Arithmetical issue:"+e.getMessage()).setSection(10));
|
||||||
@@ -469,6 +475,77 @@ public class XMLValidator extends Validator {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* validates that GROUP line totals match the sum of their DETAIL child lines
|
||||||
|
*/
|
||||||
|
private void checkSubInvoiceLineHierarchy(CalculatedInvoice invoice, ValidationContext context) {
|
||||||
|
IZUGFeRDExportableItem[] items = invoice.getZFItems();
|
||||||
|
if (items == null || items.length == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if we have any sub invoice lines at all
|
||||||
|
boolean hasSubInvoiceLines = false;
|
||||||
|
for (IZUGFeRDExportableItem item : items) {
|
||||||
|
if (item.getLineStatusReasonCode() != null) {
|
||||||
|
hasSubInvoiceLines = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!hasSubInvoiceLines) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// build a map of line ID to item for quick lookup
|
||||||
|
java.util.HashMap<String, IZUGFeRDExportableItem> itemMap = new java.util.HashMap<>();
|
||||||
|
for (IZUGFeRDExportableItem item : items) {
|
||||||
|
if (item.getId() != null) {
|
||||||
|
itemMap.put(item.getId(), item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// for each GROUP line, sum up the DETAIL children and compare
|
||||||
|
for (IZUGFeRDExportableItem item : items) {
|
||||||
|
if ("GROUP".equals(item.getLineStatusReasonCode())) {
|
||||||
|
String groupId = item.getId();
|
||||||
|
if (groupId == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// sum up direct DETAIL children
|
||||||
|
BigDecimal childSum = BigDecimal.ZERO;
|
||||||
|
for (IZUGFeRDExportableItem child : items) {
|
||||||
|
if (groupId.equals(child.getParentLineID()) && "DETAIL".equals(child.getLineStatusReasonCode())) {
|
||||||
|
LineCalculator lc = child.getCalculation();
|
||||||
|
childSum = childSum.add(lc.getItemTotalNetAmount());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// also sum up nested GROUP children (their totals should already include their DETAIL children)
|
||||||
|
for (IZUGFeRDExportableItem child : items) {
|
||||||
|
if (groupId.equals(child.getParentLineID()) && "GROUP".equals(child.getLineStatusReasonCode())) {
|
||||||
|
LineCalculator lc = child.getCalculation();
|
||||||
|
childSum = childSum.add(lc.getItemTotalNetAmount());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// compare with GROUP total
|
||||||
|
LineCalculator groupLc = item.getCalculation();
|
||||||
|
BigDecimal groupTotal = groupLc.getItemTotalNetAmount();
|
||||||
|
if (childSum.compareTo(groupTotal) != 0) {
|
||||||
|
try {
|
||||||
|
context.addResultItem(new ValidationResultItem(ESeverity.warning,
|
||||||
|
"Sub invoice line hierarchy mismatch: GROUP line " + groupId +
|
||||||
|
" has total " + groupTotal + " but sum of child lines is " + childSum)
|
||||||
|
.setSection(10));
|
||||||
|
} catch (IrrecoverableValidationError ie) {
|
||||||
|
LOGGER.error(ie.getMessage(), ie);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void validateXR(String xml, ESeverity errorImpact) throws IrrecoverableValidationError {
|
public void validateXR(String xml, ESeverity errorImpact) throws IrrecoverableValidationError {
|
||||||
|
|
||||||
//Guideline ID=urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2 or
|
//Guideline ID=urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2 or
|
||||||
|
|||||||
@@ -373,4 +373,28 @@ public class XMLValidatorTest extends ResourceCase {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testSubInvoiceLineHierarchy() {
|
||||||
|
final ValidationContext ctx = new ValidationContext(null);
|
||||||
|
final XMLValidator xv = new XMLValidator(ctx);
|
||||||
|
final XPathEngine xpath = new JAXPXPathEngine();
|
||||||
|
|
||||||
|
// test invalid hierarchy: GROUP sum does not match DETAIL children sum
|
||||||
|
// GROUP 01 has LineTotalAmount=999, but children sum to 1050 (600+450)
|
||||||
|
File tempFile = getResourceAsFile("invalidSubInvoiceLineHierarchy.xml");
|
||||||
|
try {
|
||||||
|
xv.setFilename(tempFile.getAbsolutePath());
|
||||||
|
xv.validate();
|
||||||
|
|
||||||
|
String s = "<validation>" + xv.getXMLResult() + "</validation>";
|
||||||
|
// hierarchy mismatch should produce at least one warning
|
||||||
|
assertThat(s).valueByXPath("count(//warning)")
|
||||||
|
.asInt()
|
||||||
|
.isGreaterThanOrEqualTo(1);
|
||||||
|
|
||||||
|
} catch (final IrrecoverableValidationError e) {
|
||||||
|
// ignore, will be in XML output anyway
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
456
validator/src/test/resources/invalidSubInvoiceLineHierarchy.xml
Normal file
456
validator/src/test/resources/invalidSubInvoiceLineHierarchy.xml
Normal file
@@ -0,0 +1,456 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<!--
|
||||||
|
MUSTANG TEST FILE - Invalid SubInvoiceLine Hierarchy
|
||||||
|
=====================================================
|
||||||
|
This file is a copy of Extended_SubInvoiceLines_Hardware_Bsp2.xml with an
|
||||||
|
intentionally incorrect GROUP sum for testing the SubInvoiceLine hierarchy validation.
|
||||||
|
|
||||||
|
Modification: GROUP line 01 has LineTotalAmount 999.00 instead of correct 1050.00
|
||||||
|
(DETAIL 0101: 600.00 + DETAIL 0102: 450.00 = 1050.00)
|
||||||
|
|
||||||
|
Expected: Validation should produce a warning about hierarchy mismatch.
|
||||||
|
-->
|
||||||
|
<!--English disclaimer below.-->
|
||||||
|
<!--
|
||||||
|
Nutzungsrechte
|
||||||
|
ZUGFeRD Datenformat Version 2.4.0, 29.10.2025
|
||||||
|
Beispiel Version 29.10.2025
|
||||||
|
|
||||||
|
Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
|
||||||
|
wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
|
||||||
|
für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
|
||||||
|
Technologien („ZUGFeRD Datenformat").
|
||||||
|
|
||||||
|
Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
|
||||||
|
frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
|
||||||
|
Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
|
||||||
|
diskriminierenden Bedingungen an.
|
||||||
|
|
||||||
|
Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
|
||||||
|
abrufbar unter www.ferd-net.de.
|
||||||
|
|
||||||
|
Im Einzelnen schließt die Nutzungsgewährung ein:
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
|
||||||
|
geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
|
||||||
|
Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
|
||||||
|
Weiterbearbeitung und Verbindung mit anderen Produkten.
|
||||||
|
Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
|
||||||
|
anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
|
||||||
|
Anwendungen und Dienste.
|
||||||
|
Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
|
||||||
|
und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
|
||||||
|
notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
|
||||||
|
die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
|
||||||
|
Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
|
||||||
|
unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
|
||||||
|
anderen Produkten einzuräumen.
|
||||||
|
|
||||||
|
Die Lizenz wird kostenfrei zur Verfügung gestellt.
|
||||||
|
|
||||||
|
Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
|
||||||
|
Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
|
||||||
|
Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
|
||||||
|
beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
|
||||||
|
Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
Right of use
|
||||||
|
ZUGFeRD Data format version 2.4.0, October 29th, 2025
|
||||||
|
|
||||||
|
The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
|
||||||
|
umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
|
||||||
|
open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
|
||||||
|
technologies ("ZUGFeRD data format").
|
||||||
|
|
||||||
|
The ZUGFeRD data format is used by both companies and public administration according to the FeRD
|
||||||
|
made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
|
||||||
|
License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
|
||||||
|
discriminatory conditions.
|
||||||
|
|
||||||
|
The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
|
||||||
|
available at www.ferd-net.de.
|
||||||
|
|
||||||
|
In detail, the grant of use includes
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
|
||||||
|
valid and accepted version (www.ferd-net.de).
|
||||||
|
The license includes an irrevocable right of use including the right of further development,
|
||||||
|
Further processing and connection with other products.
|
||||||
|
The license applies in particular to the development, design, production, sale, use or
|
||||||
|
other use of the ZUGFeRD data format for hardware and/or software products and other
|
||||||
|
applications and services.
|
||||||
|
This license does not include the essential patents of the members of FeRD. The essential patents are patents
|
||||||
|
and patent applications worldwide which contain one or more claims that are
|
||||||
|
necessary claims. Necessary claims are only those claims of the essential patents which are
|
||||||
|
the implementation of the ZUGFeRD data format would necessarily be violated.
|
||||||
|
The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
|
||||||
|
irrevocable right of use including the right of further development, further processing and connection with
|
||||||
|
other products.
|
||||||
|
|
||||||
|
The license is provided free of charge.
|
||||||
|
|
||||||
|
Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
|
||||||
|
Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
|
||||||
|
damages, losses or liabilities in connection with an interruption of business, nor for concrete,
|
||||||
|
incidental, indirect, punitive or consequential damages, even if the possibility of
|
||||||
|
costs, losses or damages could normally have been foreseen.
|
||||||
|
-->
|
||||||
|
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
||||||
|
<rsm:ExchangedDocumentContext>
|
||||||
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
<ram:ID>urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended</ram:ID>
|
||||||
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
||||||
|
</rsm:ExchangedDocumentContext>
|
||||||
|
<rsm:ExchangedDocument>
|
||||||
|
<ram:ID>99877</ram:ID>
|
||||||
|
<ram:TypeCode>380</ram:TypeCode>
|
||||||
|
<ram:IssueDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:IssueDateTime>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Geschäftsführer: Herr Geschäftsführer , Muster Bau GmbH etc.</ram:Content>
|
||||||
|
<ram:SubjectCode>REG</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Es bestehen Vereinbarungen, aus denen sich Minderungen des Entgelts ergeben können.</ram:Content>
|
||||||
|
<ram:SubjectCode>AAI</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>ZUGFeRD vers 2.4.0 Extended</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
<ram:IncludedNote>
|
||||||
|
<ram:Content>Dies ist eine Beispiel-Rechnung zur empfohlenen Darstellung von Unterpositionen</ram:Content>
|
||||||
|
<ram:SubjectCode>ACB</ram:SubjectCode>
|
||||||
|
</ram:IncludedNote>
|
||||||
|
</rsm:ExchangedDocument>
|
||||||
|
<rsm:SupplyChainTradeTransaction>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0101</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">88888886349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>123456789</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>987654321</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Laser printer B/W</ram:Name>
|
||||||
|
<ram:Description>Schwarzweiß Laserdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>300.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">2.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>600.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0102</ram:LineID>
|
||||||
|
<ram:ParentLineID>01</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">77777776349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>2345678910</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>876543219</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Ink printer color</ram:Name>
|
||||||
|
<ram:Description>Farbdrucker</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>150.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>01</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">6666656349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal hardware</ram:Name>
|
||||||
|
<ram:Description>Hardware Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<!-- MUSTANG TEST: intentionally wrong, should be 1050.00 -->
|
||||||
|
<ram:ChargeAmount>999.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<!-- MUSTANG TEST: intentionally wrong, should be 1050.00 (600.00 + 450.00) -->
|
||||||
|
<ram:LineTotalAmount>999.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0201</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">55555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>456789123</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>654321987</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Toner</ram:Name>
|
||||||
|
<ram:Description>Toner</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>120.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">3.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>360.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>0202</ram:LineID>
|
||||||
|
<ram:ParentLineID>02</ram:ParentLineID>
|
||||||
|
<ram:LineStatusReasonCode>DETAIL</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">5555556349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>567891234</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>543219876</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>PAPER</ram:Name>
|
||||||
|
<ram:Description>Kopierpapier</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>9.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">10.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>90.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:LineID>02</ram:LineID>
|
||||||
|
<ram:LineStatusReasonCode>GROUP</ram:LineStatusReasonCode>
|
||||||
|
</ram:AssociatedDocumentLineDocument>
|
||||||
|
<ram:SpecifiedTradeProduct>
|
||||||
|
<ram:GlobalID schemeID="0160">2222256349852</ram:GlobalID>
|
||||||
|
<ram:SellerAssignedID>9345678912</ram:SellerAssignedID>
|
||||||
|
<ram:BuyerAssignedID>9765432198</ram:BuyerAssignedID>
|
||||||
|
<ram:Name>Subtotal Accessories</ram:Name>
|
||||||
|
<ram:Description>Zubehör Gesamt</ram:Description>
|
||||||
|
</ram:SpecifiedTradeProduct>
|
||||||
|
<ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:NetPriceProductTradePrice>
|
||||||
|
<ram:ChargeAmount>450.00</ram:ChargeAmount>
|
||||||
|
</ram:NetPriceProductTradePrice>
|
||||||
|
</ram:SpecifiedLineTradeAgreement>
|
||||||
|
<ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:BilledQuantity unitCode="H87">1.00</ram:BilledQuantity>
|
||||||
|
</ram:SpecifiedLineTradeDelivery>
|
||||||
|
<ram:SpecifiedLineTradeSettlement>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>450.00</ram:LineTotalAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
||||||
|
</ram:SpecifiedLineTradeSettlement>
|
||||||
|
</ram:IncludedSupplyChainTradeLineItem>
|
||||||
|
<ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:BuyerReference>Kundenref. BT-10</ram:BuyerReference>
|
||||||
|
<ram:SellerTradeParty>
|
||||||
|
<ram:ID>998877</ram:ID>
|
||||||
|
<ram:Name>Musterbetrieb Systemhaus AG </ram:Name>
|
||||||
|
<ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:ID>HRA 45678</ram:ID>
|
||||||
|
</ram:SpecifiedLegalOrganization>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Kontaktperson</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>5578</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>absender@musterberieb.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37079</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>August-Müller-Strasse 222</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE09687654321</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:SellerTradeParty>
|
||||||
|
<ram:BuyerTradeParty>
|
||||||
|
<ram:ID>330145</ram:ID>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:DefinedTradeContact>
|
||||||
|
<ram:PersonName>Herr Thomas Auftraggeber</ram:PersonName>
|
||||||
|
<ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:CompleteNumber>+49 321 456789</ram:CompleteNumber>
|
||||||
|
</ram:TelephoneUniversalCommunication>
|
||||||
|
<ram:EmailURIUniversalCommunication>
|
||||||
|
<ram:URIID>thomas.auftraggeber@Firmenkunde.de</ram:URIID>
|
||||||
|
</ram:EmailURIUniversalCommunication>
|
||||||
|
</ram:DefinedTradeContact>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
<ram:SpecifiedTaxRegistration>
|
||||||
|
<ram:ID schemeID="VA">DE1234567890</ram:ID>
|
||||||
|
</ram:SpecifiedTaxRegistration>
|
||||||
|
</ram:BuyerTradeParty>
|
||||||
|
<ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>G12042-1-01</ram:IssuerAssignedID>
|
||||||
|
</ram:SellerOrderReferencedDocument>
|
||||||
|
<ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>BT-13</ram:IssuerAssignedID>
|
||||||
|
</ram:BuyerOrderReferencedDocument>
|
||||||
|
<ram:ContractReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vertragsnr. BT-12</ram:IssuerAssignedID>
|
||||||
|
</ram:ContractReferencedDocument>
|
||||||
|
<ram:AdditionalReferencedDocument>
|
||||||
|
<ram:IssuerAssignedID>Vergabenr. BT-17</ram:IssuerAssignedID>
|
||||||
|
<ram:TypeCode>50</ram:TypeCode>
|
||||||
|
</ram:AdditionalReferencedDocument>
|
||||||
|
<ram:SpecifiedProcuringProject>
|
||||||
|
<ram:ID>Projektnr. BT-11</ram:ID>
|
||||||
|
<ram:Name>Project reference</ram:Name>
|
||||||
|
</ram:SpecifiedProcuringProject>
|
||||||
|
</ram:ApplicableHeaderTradeAgreement>
|
||||||
|
<ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ShipToTradeParty>
|
||||||
|
<ram:Name>Auftraggeber Firmenkunde GmbH</ram:Name>
|
||||||
|
<ram:PostalTradeAddress>
|
||||||
|
<ram:PostcodeCode>37073</ram:PostcodeCode>
|
||||||
|
<ram:LineOne>Musterstraße 1212</ram:LineOne>
|
||||||
|
<ram:CityName>Göttingen</ram:CityName>
|
||||||
|
<ram:CountryID>DE</ram:CountryID>
|
||||||
|
</ram:PostalTradeAddress>
|
||||||
|
</ram:ShipToTradeParty>
|
||||||
|
<ram:ActualDeliverySupplyChainEvent>
|
||||||
|
<ram:OccurrenceDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260530</udt:DateTimeString>
|
||||||
|
</ram:OccurrenceDateTime>
|
||||||
|
</ram:ActualDeliverySupplyChainEvent>
|
||||||
|
</ram:ApplicableHeaderTradeDelivery>
|
||||||
|
<ram:ApplicableHeaderTradeSettlement>
|
||||||
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
||||||
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:TypeCode>58</ram:TypeCode>
|
||||||
|
<ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
||||||
|
<ram:AccountName>Musterbetrieb Kontoname</ram:AccountName>
|
||||||
|
</ram:PayeePartyCreditorFinancialAccount>
|
||||||
|
<ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
<ram:BICID>PBNKDEFF</ram:BICID>
|
||||||
|
</ram:PayeeSpecifiedCreditorFinancialInstitution>
|
||||||
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
||||||
|
<ram:ApplicableTradeTax>
|
||||||
|
<ram:CalculatedAmount>285.00</ram:CalculatedAmount>
|
||||||
|
<ram:TypeCode>VAT</ram:TypeCode>
|
||||||
|
<ram:BasisAmount>1500.00</ram:BasisAmount>
|
||||||
|
<ram:CategoryCode>S</ram:CategoryCode>
|
||||||
|
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
|
||||||
|
</ram:ApplicableTradeTax>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bei Zahlung bis zum 06.06.2026 zahlen Sie mit 2,00 % Skonto € 1749,30 €</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260606</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
<ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
<ram:BasisAmount>1785.00</ram:BasisAmount>
|
||||||
|
<ram:CalculationPercent>2.00</ram:CalculationPercent>
|
||||||
|
</ram:ApplicableTradePaymentDiscountTerms>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:Description>Bis zum zum 13.06.2026 ohne Abzug</ram:Description>
|
||||||
|
<ram:DueDateDateTime>
|
||||||
|
<udt:DateTimeString format="102">20260613</udt:DateTimeString>
|
||||||
|
</ram:DueDateDateTime>
|
||||||
|
</ram:SpecifiedTradePaymentTerms>
|
||||||
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:LineTotalAmount>1500.00</ram:LineTotalAmount>
|
||||||
|
<ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
|
||||||
|
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
|
||||||
|
<ram:TaxBasisTotalAmount>1500.00</ram:TaxBasisTotalAmount>
|
||||||
|
<ram:TaxTotalAmount currencyID="EUR">285.00</ram:TaxTotalAmount>
|
||||||
|
<ram:GrandTotalAmount>1785.00</ram:GrandTotalAmount>
|
||||||
|
<ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
|
||||||
|
<ram:DuePayableAmount>1785.00</ram:DuePayableAmount>
|
||||||
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
||||||
|
<ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
<ram:ID>Kostenstelle BT-19</ram:ID>
|
||||||
|
</ram:ReceivableSpecifiedTradeAccountingAccount>
|
||||||
|
</ram:ApplicableHeaderTradeSettlement>
|
||||||
|
</rsm:SupplyChainTradeTransaction>
|
||||||
|
</rsm:CrossIndustryInvoice>
|
||||||
Reference in New Issue
Block a user