mirror of
https://github.com/BSchneppe/einvoice-rs.git
synced 2026-03-17 10:24:08 +00:00
212 lines
11 KiB
XML
212 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
|
|
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
|
|
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
|
|
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
|
|
<rsm:ExchangedDocumentContext>
|
|
<ram:BusinessProcessSpecifiedDocumentContextParameter>
|
|
<ram:ID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</ram:ID>
|
|
</ram:BusinessProcessSpecifiedDocumentContextParameter>
|
|
<ram:GuidelineSpecifiedDocumentContextParameter>
|
|
<ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</ram:ID>
|
|
</ram:GuidelineSpecifiedDocumentContextParameter>
|
|
</rsm:ExchangedDocumentContext>
|
|
<rsm:ExchangedDocument>
|
|
<ram:ID>1234567</ram:ID>
|
|
<ram:TypeCode>380</ram:TypeCode>
|
|
<ram:IssueDateTime>
|
|
<udt:DateTimeString format="102">20180413</udt:DateTimeString>
|
|
</ram:IssueDateTime>
|
|
<ram:IncludedNote>
|
|
<ram:Content>Invoice Note Description</ram:Content>
|
|
<ram:SubjectCode>AAC</ram:SubjectCode>
|
|
</ram:IncludedNote>
|
|
</rsm:ExchangedDocument>
|
|
<rsm:SupplyChainTradeTransaction>
|
|
<ram:IncludedSupplyChainTradeLineItem>
|
|
<ram:AssociatedDocumentLineDocument>
|
|
<ram:LineID>1</ram:LineID>
|
|
</ram:AssociatedDocumentLineDocument>
|
|
<ram:SpecifiedTradeProduct>
|
|
<ram:Name>Beratung</ram:Name>
|
|
</ram:SpecifiedTradeProduct>
|
|
<ram:SpecifiedLineTradeAgreement>
|
|
<ram:NetPriceProductTradePrice>
|
|
<ram:ChargeAmount>143.75</ram:ChargeAmount>
|
|
</ram:NetPriceProductTradePrice>
|
|
</ram:SpecifiedLineTradeAgreement>
|
|
<ram:SpecifiedLineTradeDelivery>
|
|
<ram:BilledQuantity unitCode="XPP">33</ram:BilledQuantity>
|
|
</ram:SpecifiedLineTradeDelivery>
|
|
<ram:SpecifiedLineTradeSettlement>
|
|
<ram:ApplicableTradeTax>
|
|
<ram:TypeCode>VAT</ram:TypeCode>
|
|
<ram:CategoryCode>S</ram:CategoryCode>
|
|
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
|
|
</ram:ApplicableTradeTax>
|
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
|
<ram:LineTotalAmount>4743.75</ram:LineTotalAmount>
|
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
|
</ram:SpecifiedLineTradeSettlement>
|
|
</ram:IncludedSupplyChainTradeLineItem>
|
|
<ram:IncludedSupplyChainTradeLineItem>
|
|
<ram:AssociatedDocumentLineDocument>
|
|
<ram:LineID>2</ram:LineID>
|
|
</ram:AssociatedDocumentLineDocument>
|
|
<ram:SpecifiedTradeProduct>
|
|
<ram:Name>Beratung</ram:Name>
|
|
</ram:SpecifiedTradeProduct>
|
|
<ram:SpecifiedLineTradeAgreement>
|
|
<ram:NetPriceProductTradePrice>
|
|
<ram:ChargeAmount>143.75</ram:ChargeAmount>
|
|
</ram:NetPriceProductTradePrice>
|
|
</ram:SpecifiedLineTradeAgreement>
|
|
<ram:SpecifiedLineTradeDelivery>
|
|
<ram:BilledQuantity unitCode="XPP">42</ram:BilledQuantity>
|
|
</ram:SpecifiedLineTradeDelivery>
|
|
<ram:SpecifiedLineTradeSettlement>
|
|
<ram:ApplicableTradeTax>
|
|
<ram:TypeCode>VAT</ram:TypeCode>
|
|
<ram:CategoryCode>S</ram:CategoryCode>
|
|
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
|
|
</ram:ApplicableTradeTax>
|
|
<ram:SpecifiedTradeSettlementLineMonetarySummation>
|
|
<ram:LineTotalAmount>6037.5</ram:LineTotalAmount>
|
|
</ram:SpecifiedTradeSettlementLineMonetarySummation>
|
|
</ram:SpecifiedLineTradeSettlement>
|
|
</ram:IncludedSupplyChainTradeLineItem>
|
|
<ram:ApplicableHeaderTradeAgreement>
|
|
<ram:BuyerReference>90000000-03083-72</ram:BuyerReference>
|
|
<ram:SellerTradeParty>
|
|
<ram:Name>[Seller name]</ram:Name>
|
|
<ram:SpecifiedLegalOrganization>
|
|
<ram:ID>HRB 123</ram:ID>
|
|
</ram:SpecifiedLegalOrganization>
|
|
<ram:DefinedTradeContact>
|
|
<ram:PersonName>Tim Tester</ram:PersonName>
|
|
<ram:TelephoneUniversalCommunication>
|
|
<ram:CompleteNumber>012 3456789</ram:CompleteNumber>
|
|
</ram:TelephoneUniversalCommunication>
|
|
<ram:EmailURIUniversalCommunication>
|
|
<ram:URIID>tim.tester@test.com</ram:URIID>
|
|
</ram:EmailURIUniversalCommunication>
|
|
</ram:DefinedTradeContact>
|
|
<ram:PostalTradeAddress>
|
|
<ram:PostcodeCode>12345</ram:PostcodeCode>
|
|
<ram:CityName>[Seller city]</ram:CityName>
|
|
<ram:CountryID>DE</ram:CountryID>
|
|
</ram:PostalTradeAddress>
|
|
<ram:URIUniversalCommunication>
|
|
<ram:URIID schemeID="EM">seller@email.de</ram:URIID>
|
|
</ram:URIUniversalCommunication>
|
|
<ram:SpecifiedTaxRegistration>
|
|
<ram:ID schemeID="VA">ATU123456789</ram:ID>
|
|
</ram:SpecifiedTaxRegistration>
|
|
</ram:SellerTradeParty>
|
|
<ram:BuyerTradeParty>
|
|
<ram:ID>138</ram:ID>
|
|
<ram:Name>[Buyer name]</ram:Name>
|
|
<ram:SpecifiedLegalOrganization>
|
|
<ram:ID>HRB 3456</ram:ID>
|
|
</ram:SpecifiedLegalOrganization>
|
|
<ram:DefinedTradeContact>
|
|
<ram:PersonName>Tina Tester</ram:PersonName>
|
|
<ram:TelephoneUniversalCommunication>
|
|
<ram:CompleteNumber>0800 123456</ram:CompleteNumber>
|
|
</ram:TelephoneUniversalCommunication>
|
|
<ram:EmailURIUniversalCommunication>
|
|
<ram:URIID>tester@test.de</ram:URIID>
|
|
</ram:EmailURIUniversalCommunication>
|
|
</ram:DefinedTradeContact>
|
|
<ram:PostalTradeAddress>
|
|
<ram:PostcodeCode>98765</ram:PostcodeCode>
|
|
<ram:CityName>[Buyer city]</ram:CityName>
|
|
<ram:CountryID>DE</ram:CountryID>
|
|
</ram:PostalTradeAddress>
|
|
<ram:URIUniversalCommunication>
|
|
<ram:URIID schemeID="EM">buyer@info.de</ram:URIID>
|
|
</ram:URIUniversalCommunication>
|
|
<ram:SpecifiedTaxRegistration>
|
|
<ram:ID schemeID="VA">DE12345ABC</ram:ID>
|
|
</ram:SpecifiedTaxRegistration>
|
|
</ram:BuyerTradeParty>
|
|
<ram:SellerTaxRepresentativeTradeParty>
|
|
<ram:Name>[Seller tax representative name]</ram:Name>
|
|
<ram:PostalTradeAddress>
|
|
<ram:CountryID>DE</ram:CountryID>
|
|
</ram:PostalTradeAddress>
|
|
<ram:SpecifiedTaxRegistration>
|
|
<ram:ID schemeID="VA">DE124567</ram:ID>
|
|
</ram:SpecifiedTaxRegistration>
|
|
</ram:SellerTaxRepresentativeTradeParty>
|
|
<ram:SellerOrderReferencedDocument>
|
|
<ram:IssuerAssignedID>ABC123456789</ram:IssuerAssignedID>
|
|
</ram:SellerOrderReferencedDocument>
|
|
<ram:BuyerOrderReferencedDocument>
|
|
<ram:IssuerAssignedID>65002278</ram:IssuerAssignedID>
|
|
</ram:BuyerOrderReferencedDocument>
|
|
</ram:ApplicableHeaderTradeAgreement>
|
|
<ram:ApplicableHeaderTradeDelivery>
|
|
<ram:ShipToTradeParty>
|
|
<ram:ID>68</ram:ID>
|
|
<ram:Name>[Deliver to party name]</ram:Name>
|
|
<ram:PostalTradeAddress>
|
|
<ram:PostcodeCode>98765</ram:PostcodeCode>
|
|
<ram:LineOne>[Deliver to street]</ram:LineOne>
|
|
<ram:LineTwo>4. OG</ram:LineTwo>
|
|
<ram:CityName>[Deliver to city]</ram:CityName>
|
|
<ram:CountryID>DE</ram:CountryID>
|
|
<ram:CountrySubDivisionName>Bayern</ram:CountrySubDivisionName>
|
|
</ram:PostalTradeAddress>
|
|
</ram:ShipToTradeParty>
|
|
<ram:ActualDeliverySupplyChainEvent>
|
|
<ram:OccurrenceDateTime>
|
|
<udt:DateTimeString format="102">20180413</udt:DateTimeString>
|
|
</ram:OccurrenceDateTime>
|
|
</ram:ActualDeliverySupplyChainEvent>
|
|
</ram:ApplicableHeaderTradeDelivery>
|
|
<ram:ApplicableHeaderTradeSettlement>
|
|
<ram:PaymentReference>Deb. 12345 / Fact. 9876543</ram:PaymentReference>
|
|
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
|
|
<ram:PayeeTradeParty>
|
|
<ram:ID>74</ram:ID>
|
|
<ram:Name>[Payee name]</ram:Name>
|
|
</ram:PayeeTradeParty>
|
|
<ram:SpecifiedTradeSettlementPaymentMeans>
|
|
<ram:TypeCode>58</ram:TypeCode>
|
|
<ram:PayeePartyCreditorFinancialAccount>
|
|
<!-- dies ist eine nicht existerende aber valide IBAN als test dummy -->
|
|
<ram:IBANID>DE75512108001245126199</ram:IBANID>
|
|
</ram:PayeePartyCreditorFinancialAccount>
|
|
</ram:SpecifiedTradeSettlementPaymentMeans>
|
|
<ram:ApplicableTradeTax>
|
|
<ram:CalculatedAmount>2048.44</ram:CalculatedAmount>
|
|
<ram:TypeCode>VAT</ram:TypeCode>
|
|
<ram:BasisAmount>10781.25</ram:BasisAmount>
|
|
<ram:CategoryCode>S</ram:CategoryCode>
|
|
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
|
|
</ram:ApplicableTradeTax>
|
|
<ram:BillingSpecifiedPeriod>
|
|
<ram:StartDateTime>
|
|
<udt:DateTimeString format="102">20180413</udt:DateTimeString>
|
|
</ram:StartDateTime>
|
|
<ram:EndDateTime>
|
|
<udt:DateTimeString format="102">20180413</udt:DateTimeString>
|
|
</ram:EndDateTime>
|
|
</ram:BillingSpecifiedPeriod>
|
|
<ram:SpecifiedTradePaymentTerms>
|
|
<ram:DueDateDateTime>
|
|
<udt:DateTimeString format="102">20180413</udt:DateTimeString>
|
|
</ram:DueDateDateTime>
|
|
</ram:SpecifiedTradePaymentTerms>
|
|
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
|
<ram:LineTotalAmount>10781.25</ram:LineTotalAmount>
|
|
<ram:TaxBasisTotalAmount>10781.25</ram:TaxBasisTotalAmount>
|
|
<ram:TaxTotalAmount currencyID="EUR">2048.44</ram:TaxTotalAmount>
|
|
<ram:GrandTotalAmount>12829.69</ram:GrandTotalAmount>
|
|
<ram:DuePayableAmount>12829.69</ram:DuePayableAmount>
|
|
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
|
|
</ram:ApplicableHeaderTradeSettlement>
|
|
</rsm:SupplyChainTradeTransaction>
|
|
</rsm:CrossIndustryInvoice>
|