PHP code example of justinholtweb / craft-sevvies
1. Go to this page and download the library: Download justinholtweb/craft-sevvies 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-sevvies example snippets
sh
php craft sevvies/tools/check # test the token, list check accounts and users
php craft sevvies/sync/preview <orderId> # print the payload and the VAT reasoning
php craft sevvies/sync/order <orderId> # file one order
php craft sevvies/sync/pending --limit=50 # backfill every un-invoiced order
php craft sevvies/tools/prune-log
php craft sevvies/tools/flush-cache