generatingXSD/example.xml

40 lines
1007 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<invoice>
<general>
<currency>USD</currency>
<isPaid>true</isPaid>
</general>
<seller>
<legalName>Trade LLC</legalName>
<taxCode>558731212</taxCode>
<addressLine>CA</addressLine>
<phoneNumber>784875863</phoneNumber>
<bankName>World bank</bankName>
<bankAccount>111177</bankAccount>
</seller>
<buyer>
<name>Tom Smith</name>
<taxCode>87312131</taxCode>
<addressLine>CA</addressLine>
<phoneNumber>95453121312</phoneNumber>
</buyer>
<itemInfo>
<lineNumber>1</lineNumber>
<code>0001</code>
<name>ENGLISH_COURSE</name>
<unit>ea</unit>
<price>1000</price>
<quantity>10</quantity>
<totalAmountWithoutTax>9000</totalAmountWithoutTax>
<vatRate>10</vatRate>
<taxAmount>1000</taxAmount>
<discount>0</discount>
</itemInfo>
<total>
<amountWithoutTax>9000</amountWithoutTax>
<taxAmount>1000</taxAmount>
<amountWithTax>10000</amountWithTax>
<amountWithTaxInWords>Ten thousands</amountWithTaxInWords>
</total>
</invoice>