PHP code example of justinholtweb / craft-twinsies
1. Go to this page and download the library: Download justinholtweb/craft-twinsies library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
justinholtweb / craft-twinsies example snippets
xml
<salesinvoice>
<header>
<office>001</office>
<invoicetype>FACTUUR</invoicetype>
<customer>1000</customer>
<invoicedate>20260820</invoicedate>
<duedate>20260903</duedate>
<currency>EUR</currency>
<status>concept</status>
<paymentmethod>bank</paymentmethod>
</header>
<lines>
<line id="1">
<article>WIDGET</article>
<quantity>2</quantity>
<unitspriceexcl>49.50</unitspriceexcl>
<vatcode>VH</vatcode>
<dim1>8000</dim1>
</line>
</lines>
</salesinvoice>