PHP code example of jongotlin / peppol
1. Go to this page and download the library: Download jongotlin/peppol 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/ */
jongotlin / peppol example snippets
$peppolGenerator = new PeppolGenerator();
$invoice = new Invoice();
$invoice->setCurrency('SEK');
$peppolDocument = $peppolGenerator->createInvoiceDocument($invoice);
echo $peppolDocument->saveXML();