1. Go to this page and download the library: Download goldnead/statamic-invoices 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/ */
'tax' => [
'business_only' => ['enabled' => true, ' // off leaves every check "unchecked", so no EU sale gets through
'service' => 'vies',
'timeout' => 8, // past it the check is pending, not invalid
'cache_hours' => 168, // only a *confirmed* number is remembered
],
'merchant_vat_id' => env('INVOICES_SELLER_VAT_ID'), // makes the enquiry a qualified one
],
'oss' => [
'destination_taxation' => true,
'shipped_rates' => true, // off by default: nothing changes until you ask
'shipped_rates_class' => 'standard',
],