Files
Facilitor/CUST/MARX/test/api_mareon.html
Marcel Bourseau d8e3455d1c MARX#41719: UBL ondersteuning voor Rochdale via Mareon: UBL implementatie
svn path=/Website/branches/v2017.1/; revision=35047
2017-08-22 16:26:40 +00:00

604 lines
25 KiB
HTML

<html>
<head>
<script type="text/javascript">
function doSubmit()
{
var http_request = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
SXH_PROXY_SET_PROXY = 2
//http_request.setProxy(SXH_PROXY_SET_PROXY, "127.0.0.1:8888"); // Fiddler
var l_url = document.getElementById("url").value;
var l_apiname = document.getElementById("apiname").value;
var l_apikey = document.getElementById("apikey").value;
var post2url = l_url + "?API=" + l_apiname + "&APIKEY=" + l_apikey;
http_request.open("POST", post2url, false);
var body = document.getElementById("sendxml").value;
http_request.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
http_request.send(body);
document.getElementById("sendoke").innerText = "Bericht is verstuurd naar URL: " + post2url;
document.getElementById("send_info").innerText = "Zie hieronder eventuele terugmeldingen, en bekijk het resultaat in de testomgeving Mareon.";
document.getElementById("Status").innerText = http_request.status;
document.getElementById("StatusText").innerText = http_request.statusText;
document.getElementById("Result").innerText = http_request.responseText;
}
function getXMLexample1()
{
var l_ex_xml = document.getElementById("ex_xml_status").value;
var l_xmlsend = document.getElementById("sendxml").value = l_ex_xml;
}
function getXMLexample2()
{
var l_ex_xml = document.getElementById("ex_xml_factuur").value;
var l_xmlsend = document.getElementById("sendxml").value = l_ex_xml;
}
function getXMLexample3()
{
var l_ex_ubl = document.getElementById("ex_ubl_factuur").value;
var l_xmlsend = document.getElementById("sendxml").value = l_ex_ubl;
}
</script>
</head>
<body style='background-color:#c0c0c0'>
<form method="post"
target="uitvoer">
<img height="40px" valign="middle" src="./../images/mareon.jpg"/>
<span style="font-size:24pt;"><b>TESTPAGINA - KOVRA/KETENSTANDAARD</b></span>
<br/>
<hr style="border-style: dashed;"/>
<span style="font-size:16pt">A.</span>
<span>Deze pagina biedt u een basis om een (voorbeeld) KOVRA-bericht te sturen naar de <u>acceptatietest</u> omgeving van Mareon: </span><input id="url" type="text" style="width:200px"
value="https://marx.mareon-test.nl/" readonly><br/>
<span style="font-size:16pt">B.</span>
<span>U kunt 2 type berichten sturen:
<select id="apiname">
<option value="MLD_OPDR_SIDB">1. Opdrachtstatus bericht</option>
<option value="FIN_FACTUUR_SIDB">2a. Factuurbericht (sidb)</option>
<option value="FIN_FACTUUR_ETIMSIDB">2b. Factuurbericht (etim)</option>
<option value="FIN_FACTUUR_UBL">2c. Factuurbericht (ubl)</option>
</select></span><span style="font-size:9pt"> (Maak uw keuze)</span>
<br/>
<span style="font-size:16pt">C.</span>
<span>Vul het wachtwoord in: <input id="apikey" type="text" style="width:600px"
value=""></span><span style="font-size:9pt"> Dit is de APIkey van de testomgeving die u van de Mareon Helpdesk hebt ontvangen (of indien nog niet ontvangen <a href="mailto:helpdesk@mareon.nl">hier</a> kunt opvragen)</span>
<br/>
<span style="font-size:16pt">D.</span>Vul of plak hieronder de XML in die gepost gaat worden, voorbeelden ziet u aan de rechterzijde:
<br/>
<table>
<tr><td height="400px" rowspan='3'>
<textarea id="sendxml" style="height:500px;width:800px">
<?xml version="1.0" encoding="utf-8"?>
<MaintenanceStatus>
<MessageNumber>143</MessageNumber>
<MessageDate>2016-10-20</MessageDate>
<MessageTime>13:07:30</MessageTime>
<InstructionData>
<InstructionNumber>MARxxx/y</InstructionNumber>
<Status>GER</Status>
<StatusDescription>Gereedmelding</StatusDescription>
<DateReady>2016-10-20</DateReady>
<AppointmentDateTimeInformation>
<RequiredDeliveryDate>2016-10-18</RequiredDeliveryDate>
<RequiredDeliveryTime>00:00:00</RequiredDeliveryTime>
<DeliveryTimeFrame>
<DeliveryDateEarliest>2016-10-01</DeliveryDateEarliest>
<DeliveryTimeEarliest>00:00:00</DeliveryTimeEarliest>
<DeliveryDateLatest>2016-10-30</DeliveryDateLatest>
<DeliveryTimeLatest>00:00:00</DeliveryTimeLatest>
</DeliveryTimeFrame>
</AppointmentDateTimeInformation>
</InstructionData>
</MaintenanceStatus>
</textarea>
</td>
<td height="200" valign="middle">
<input type="button" onclick="getXMLexample1()" value="<<">
</td>
<td>
<span>Voorbeeld van een statusbericht</span><br/>
<textarea id="ex_xml_status" style="height:200px;width:800px" readonly>
<?xml version="1.0" encoding="utf-8"?>
<MaintenanceStatus>
<MessageNumber>143</MessageNumber>
<MessageDate>2016-10-20</MessageDate>
<MessageTime>13:07:30</MessageTime>
<InstructionData>
<InstructionNumber>MARxxx/y</InstructionNumber>
<Status>GER</Status>
<StatusDescription>Gereedmelding</StatusDescription>
<DateReady>2016-10-20</DateReady>
<AppointmentDateTimeInformation>
<RequiredDeliveryDate>2016-10-18</RequiredDeliveryDate>
<RequiredDeliveryTime>00:00:00</RequiredDeliveryTime>
<DeliveryTimeFrame>
<DeliveryDateEarliest>2016-10-01</DeliveryDateEarliest>
<DeliveryTimeEarliest>00:00:00</DeliveryTimeEarliest>
<DeliveryDateLatest>2016-10-30</DeliveryDateLatest>
<DeliveryTimeLatest>00:00:00</DeliveryTimeLatest>
</DeliveryTimeFrame>
</AppointmentDateTimeInformation>
</InstructionData>
</MaintenanceStatus> </textarea>
</td>
</tr>
<tr>
<td valign="middle">
<input type="button" onclick="getXMLexample2()" value="<<">
</td>
<td>
<span>Voorbeeld van een factuurbericht</span><br/>
<textarea id="ex_xml_factuur" style="height:200px;width:800px" readonly>
<?xml version="1.0" encoding="utf-8"?>
<Invoice>
<InvoiceType>380</InvoiceType>
<InvoiceNumber>1601501</InvoiceNumber>
<InvoiceDate>2016-11-17</InvoiceDate>
<ExpirationDate>2016-12-17</ExpirationDate>
<Currency>EUR</Currency>
<Attachment>
<AttachedData/>
<DocumentType/>
<FileType/>
<FileName/>
</Attachment>
<DespatchAdviceNumber>20161117162107509</DespatchAdviceNumber>
<BuyersOrderNumber>MAR1293/1</BuyersOrderNumber>
<Buyer>
<Name>Opdrachtgever</Name>
<StreetAndNumber>Kalverstraat 1</StreetAndNumber>
<City>Amsterdam</City>
<PostalCode>1234 AB</PostalCode>
<Country>NL</Country>
<VATRegistrationNumber>NL001234567890</VATRegistrationNumber>
</Buyer>
<Supplier>
<Name>Opdrachtnemer</Name>
<StreetAndNumber>Kalverstraat 2</StreetAndNumber>
<City>Amsterdam</City>
<PostalCode>1234 AB</PostalCode>
<Country>NL</Country>
<ChamberOfCommerceNumber>1234567</ChamberOfCommerceNumber>
<AccountInformation>
<IBAN>NL99INGB1234567890</IBAN>
</AccountInformation>
</Supplier>
<Invoicee/>
<Invoicer/>
<DeliveryParty>
<StreetAndNumber>Kalverstraat 3</StreetAndNumber>
<City>Amsterdam</City>
<PostalCode>1234 AB</PostalCode>
</DeliveryParty>
<InvoiceLine>
<LineNumber>1</LineNumber>
<DeliveredQuantity>1</DeliveredQuantity>
<DeliveredQuantityMeasureUnitCode>PCE</DeliveredQuantityMeasureUnitCode>
<NumberOfInvoicingUnits>1</NumberOfInvoicingUnits>
<NetLineAmount>32.66</NetLineAmount>
<TradeItemIdentification>
<AdditionalItemIdentification>
<TradeItemDescription>Tochtborstel vervangen</TradeItemDescription>
<PhysicalDimensions/>
</AdditionalItemIdentification>
</TradeItemIdentification>
<PriceInformation>
<Price>39.5186</Price>
<PriceBase>
<NumberOfUnitsInPriceBasis>1</NumberOfUnitsInPriceBasis>
<MeasureUnitPriceBasis>PCE</MeasureUnitPriceBasis>
</PriceBase>
</PriceInformation>
<VATInformation>
<VATRate>S</VATRate>
<VATPercentage>21</VATPercentage>
</VATInformation>
</InvoiceLine>
<InvoiceLine>
<LineNumber>2</LineNumber>
<DeliveredQuantity>1</DeliveredQuantity>
<DeliveredQuantityMeasureUnitCode>HUR</DeliveredQuantityMeasureUnitCode>
<NumberOfInvoicingUnits>1</NumberOfInvoicingUnits>
<NetLineAmount>75</NetLineAmount>
<TradeItemIdentification>
<AdditionalItemIdentification>
<TradeItemDescription>Opname uitgevoerd</TradeItemDescription>
<PhysicalDimensions/>
</AdditionalItemIdentification>
</TradeItemIdentification>
<PriceInformation>
<Price>90.75</Price>
<PriceBase>
<NumberOfUnitsInPriceBasis>1</NumberOfUnitsInPriceBasis>
<MeasureUnitPriceBasis>HUR</MeasureUnitPriceBasis>
</PriceBase>
</PriceInformation>
<VATInformation>
<VATRate>S</VATRate>
<VATPercentage>21</VATPercentage>
</VATInformation>
</InvoiceLine>
<InvoiceLine>
<LineNumber>3</LineNumber>
<DeliveredQuantity>1</DeliveredQuantity>
<DeliveredQuantityMeasureUnitCode>PCE</DeliveredQuantityMeasureUnitCode>
<NumberOfInvoicingUnits>1</NumberOfInvoicingUnits>
<NetLineAmount>29</NetLineAmount>
<TradeItemIdentification>
<AdditionalItemIdentification>
<TradeItemDescription>aanbrengen syphonkap</TradeItemDescription>
<PhysicalDimensions/>
</AdditionalItemIdentification>
</TradeItemIdentification>
<PriceInformation>
<Price>35.09</Price>
<PriceBase>
<NumberOfUnitsInPriceBasis>1</NumberOfUnitsInPriceBasis>
<MeasureUnitPriceBasis>PCE</MeasureUnitPriceBasis>
</PriceBase>
</PriceInformation>
<VATInformation>
<VATRate>S</VATRate>
<VATPercentage>21</VATPercentage>
</VATInformation>
</InvoiceLine>
<InvoiceLine>
<LineNumber>4</LineNumber>
<DeliveredQuantity>1</DeliveredQuantity>
<DeliveredQuantityMeasureUnitCode>MTK</DeliveredQuantityMeasureUnitCode>
<NumberOfInvoicingUnits>1</NumberOfInvoicingUnits>
<NetLineAmount>50</NetLineAmount>
<TradeItemIdentification>
<AdditionalItemIdentification>
<TradeItemDescription>behang verwijderen en nieuw aanbrengen</TradeItemDescription>
<PhysicalDimensions/>
</AdditionalItemIdentification>
</TradeItemIdentification>
<PriceInformation>
<Price>53</Price>
<PriceBase>
<NumberOfUnitsInPriceBasis>1</NumberOfUnitsInPriceBasis>
<MeasureUnitPriceBasis>MTK</MeasureUnitPriceBasis>
</PriceBase>
</PriceInformation>
<VATInformation>
<VATRate>S</VATRate>
<VATPercentage>6</VATPercentage>
</VATInformation>
</InvoiceLine>
<InvoiceTotals>
<TotalInvoiceAmount>53</TotalInvoiceAmount>
<TotalNetLineAmount>186.66</TotalNetLineAmount>
<TotalVATAmount>3</TotalVATAmount>
</InvoiceTotals>
<VATSubTotal>
<VATAmount>3</VATAmount>
<VATInformation>
<VATRate>S</VATRate>
<VATpercentage>6</VATpercentage>
<VATBaseAmount>50</VATBaseAmount>
</VATInformation>
</VATSubTotal>
</Invoice></textarea>
</td>
</tr>
<tr>
<td valign="middle">
<input type="button" onclick="getXMLexample3()" value="<<">
</td>
<td>
<span>Voorbeeld van een factuurbericht (ubl)</span><br/>
<textarea id="ex_ubl_factuur" style="height:200px;width:800px" readonly>
<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2
http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Invoice-2.1.xsd">
<cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>
<cbc:ProfileID>urn:www.cenbii.eu:profile:bii04:ver2.0</cbc:ProfileID>
<cbc:ID>20170102</cbc:ID>
<cbc:IssueDate>2017-02-16</cbc:IssueDate>
<cbc:DueDate>2017-03-18</cbc:DueDate>
<cbc:InvoiceTypeCode listID="UNCL1001" listAgencyID="6">380</cbc:InvoiceTypeCode>
<cbc:TaxPointDate>2017-02-16</cbc:TaxPointDate>
<cbc:DocumentCurrencyCode listID="ISO 4217 Alpha" listAgencyID="6">EUR</cbc:DocumentCurrencyCode>
<cbc:AccountingCost>RK20172013</cbc:AccountingCost>
<cac:InvoicePeriod>
<cbc:StartDate>2017-02-14</cbc:StartDate>
<cbc:EndDate>2017-02-14</cbc:EndDate>
</cac:InvoicePeriod>
<cac:OrderReference>
<cbc:ID>20170205</cbc:ID>
</cac:OrderReference>
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>UBL Platform</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Readystreet 9a</cbc:StreetName>
<cbc:CityName>Amsterdam</cbc:CityName>
<cbc:PostalZone>9876 YZ</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode listID="ISO3166-1:Alpha2" listAgencyID="6">NL</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID schemeID="NL:VAT" schemeAgencyID="ZZZ">NL123456789B01</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>UBL Ketentest BV</cbc:RegistrationName>
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>06 987654321</cbc:Telephone>
<cbc:ElectronicMail>info@gbned.nl</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>UBL Ready</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Demostreet 1</cbc:StreetName>
<cbc:CityName>Arnhem</cbc:CityName>
<cbc:PostalZone>1234 AB</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode listID="ISO3166-1:Alpha2" listAgencyID="6">NL</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName>UBL Ready</cbc:RegistrationName>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Name>John Doe</cbc:Name>
<cbc:Telephone>070-1111111</cbc:Telephone>
<cbc:ElectronicMail>invoices@ublready.com</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:Delivery>
<cbc:ActualDeliveryDate>2017-02-16</cbc:ActualDeliveryDate>
<cac:DeliveryLocation>
<cac:Address>
<cbc:StreetName>Stocklane 10</cbc:StreetName>
<cbc:CityName>Arnhem</cbc:CityName>
<cbc:PostalZone>4321 BA</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode listID="ISO3166-1:Alpha2" listAgencyID="6">NL</cbc:IdentificationCode>
</cac:Country>
</cac:Address>
</cac:DeliveryLocation>
</cac:Delivery>
<cac:PaymentMeans>
<cbc:PaymentMeansCode listID="UNCL4461">31</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
<cbc:ID schemeID='IBAN'>NL23ABNA0123456789</cbc:ID>
<cac:FinancialInstitutionBranch>
<cac:FinancialInstitution>
<cbc:ID schemeID='BIC'>ABNANL2A</cbc:ID>
</cac:FinancialInstitution>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:PaymentTerms>
<cbc:Note>Payments within 30 days.</cbc:Note>
</cac:PaymentTerms>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode listID="UNCL5189">64</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Invoice allowance (VAT low 6%)</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>1</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">22</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">220</cbc:BaseAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>6</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode listID="UNCL5189">64</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Invoice allowance (VAT high 21%)</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>1</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">18</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">180</cbc:BaseAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>21</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode listID="UNCL7161">ZZZ</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Handling costs</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="EUR">10</cbc:Amount>
<cac:TaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>21</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">48.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">198</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">11.88</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">172</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">36.12</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>21.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">400.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">370.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">418.00</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">40.00</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="EUR">10.00</cbc:ChargeTotalAmount>
<cbc:PayableAmount currencyID="EUR">418.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>5</cbc:ID>
<cbc:InvoicedQuantity unitCode="ZZ">1.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">50.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Description>Book The digital highway in Holland</cbc:Description>
<cbc:Name>The digital highway</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>BK0232</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">50.00</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="ZZ">1.00</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>10</cbc:ID>
<cbc:InvoicedQuantity unitCode="ZZ">2.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">170.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Description>Book Coding UBL for orders and invoices</cbc:Description>
<cbc:Name>Coding UBL</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>BK3025</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">85.00</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="ZZ">2.00</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>15</cbc:ID>
<cbc:InvoicedQuantity unitCode="ZZ">1.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">180.00</cbc:LineExtensionAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Price discount</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">20.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">200</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:Item>
<cbc:Description>Conversion softwarepackage to UBL</cbc:Description>
<cbc:Name>Conversion UBL</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>SW4026</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
<cbc:Percent>21.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">200.00</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="ZZ">1.00</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
</Invoice>
</textarea>
</td>
</tr>
</table>
<span style="font-size:16pt">E.</span>Verstuur uw bericht via deze knop: </span>
<input type="button" onclick="doSubmit()" value="Verstuur"> <span style="font-size:9pt;color:red"><b>Tip: Om een korrekte test met de API key te doen, log dan eerst uit Mareon via de knop 'Afmelden' in de header van het portaal (bent u nog ingelogd dan wordt APIkey in deze test niet meegenomen)</b></span>
<br/>
<hr style="border-style: dashed;"/>
<span id="sendoke"></span>
<span style="color:red" id="send_not_oke"></span>
<br/>
<span id="send_info"></span>
<hr style="border-style: dashed;"/>
</form>
<table>
<tr><td>Status:</td><td><span id="Status"></span></td>
<tr><td>StatusText:</td><td><span id="StatusText"></span></td>
<tr><td>Result:</td><td style='border:1px solid blue;font-size:0.8em;'><xmp id="Result"></xmp></td>
</table>
<hr style="border-style: dashed;"/>
</body>
</html>