1. Go to this page and download the library: Download bnussbau/rksv-parser-php 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/ */
bnussbau / rksv-parser-php example snippets
use Bnussbau\Rksv\RksvParser;
$rksvString = "_R1-AT0_0003111_0003111001000202404157928_2024-04-15T16:28:54_0,00_13,80_0,00_0,00_0,00_4jJVnlBGlgw=_U:ATU59193205-001_xg2ik+BDjGE=_MRuODBrEHpIbqWbi+JbMg3A8jaCrind4hTi07PpeqwN9i+Anww4pEjrFXQ1+sQ7vi1M6d5a0aN+X0+EMbHt2HA==";
$parser = new RksvParser($rksvString);
// Get receipt details
$receiptDateTime = $parser->getReceiptDateTime();
$totalIncludingTax = $parser->getTotalIncludingTax();
$companyVatId = $parser->getCompanyEuVatId();