Skip to content

Instantly share code, notes, and snippets.

@ratM1n
ratM1n / directo_example.xml
Created April 26, 2017 06:01
example invoice in English and in Estonian
<invoices>
<!-- Period (UTC) : 2017-02-28 22:00:00 to 2017-03-31 21:00:00 -->
<!-- Executed at : Sat Apr 1 00:00:01 2017 -->
<invoice Number="10001" InvoiceDate="2017-03-31" PaymentTerm="E" CustomerCode="REGISTRARDIRECTOCODE" Language="ENG" Currency="EUR" SalesAgent="SALESPERSONNAME">
<line RN="1" RR="1" ProductName="Domain registrations - March 2017" />
<line RN="2" RR="2" ProductID="01EE" Quantity="34" Unit="tk" ProductName=".ee registrations: 1 year" UnitPriceWoVAT="6.00" />
<line RN="3" RR="3" ProductID="01EE" Quantity="1" Unit="tk" ProductName=".ee registrations: 3 years" UnitPriceWoVAT="6.00" />
<line RN="4" RR="3" ProductID="01EE" Quantity="1" Unit="tk" ProductName=".ee registrations: 3 years" UnitPriceWoVAT="6.00" StartDate="2018-03-31" EndDate="2018-03-31" />
<line RN="5" RR="3" ProductID="01EE" Quantity="1" Unit="tk" ProductName=".ee registrations: 3 years" UnitPriceWoVAT="6.00" StartDate="2019-03-31" EndDate="2019-03-31" />
<line RN="6" RR="6" ProductID="02COM" Quanti