Webseiten-Werkzeuge

Benutzer-Werkzeuge


ZUGFeRD Vorlage items.xml

Die XML-Datei items.xml enthält die XML-Daten für jeden einzelnen Rechnungsposten. Neben Tag-Inhalten sind auch Tag-Attribute mit Platzhaltern versehen, weil zum Beispiel nicht per se klar ist, in welchen Einheiten die Mengenangaben vorliegen, und welche Währungen zur Abrechnung kommen.

items.xml
        <ram:IncludedSupplyChainTradeLineItem>
            <ram:AssociatedDocumentLineDocument>
                <ram:LineID>@LineID@</ram:LineID>
            </ram:AssociatedDocumentLineDocument>
            <ram:SpecifiedSupplyChainTradeAgreement>
                <ram:GrossPriceProductTradePrice>
                    <ram:ChargeAmount currencyID="@currencyID@">@ChargeAmount@00</ram:ChargeAmount>
                </ram:GrossPriceProductTradePrice>
                <ram:NetPriceProductTradePrice>
                    <ram:ChargeAmount currencyID="@currencyID@">@ChargeAmount@00</ram:ChargeAmount>
                </ram:NetPriceProductTradePrice>
            </ram:SpecifiedSupplyChainTradeAgreement>
            <ram:SpecifiedSupplyChainTradeDelivery>
                <ram:BilledQuantity unitCode="@unitCode@">@BilledQuantity@</ram:BilledQuantity>
            </ram:SpecifiedSupplyChainTradeDelivery>
            <ram:SpecifiedSupplyChainTradeSettlement>
                <ram:ApplicableTradeTax>
                    <ram:TypeCode>VAT</ram:TypeCode>
                    <ram:CategoryCode>S</ram:CategoryCode>
                    <ram:ApplicablePercent>@ApplicablePercent@.00</ram:ApplicablePercent>
                </ram:ApplicableTradeTax>
                <ram:SpecifiedTradeSettlementMonetarySummation>
                    <ram:LineTotalAmount currencyID="@currencyID@">@LineTotalAmount@</ram:LineTotalAmount>
                </ram:SpecifiedTradeSettlementMonetarySummation>
            </ram:SpecifiedSupplyChainTradeSettlement>
            <ram:SpecifiedTradeProduct>
                <ram:SellerAssignedID>@SellerAssignedID@</ram:SellerAssignedID>
                <ram:BuyerAssignedID>@BuyerAssignedID@</ram:BuyerAssignedID>
                <ram:Name>@Name@</ram:Name>
            </ram:SpecifiedTradeProduct>
        </ram:IncludedSupplyChainTradeLineItem>


Hinweise

  • Die Kodierung der Datei ist Unicode UTF-8.
  • Die Einrückung der Datei ist so gewählt, dass sie korrekt in die Datei comfort.xml eingebaut werden kann.
print2forms/tips/tip69b.txt · Zuletzt geändert: 2019-03-06 16:51 (Externe Bearbeitung)