Everything on one settings page
All settings are under “eInvoice Viewer → Inbound Check”. From Viewer 2.37.1 on, administrators can also maintain company, mandatory details and supplier list in the settings dialog on the page with the Viewer. The add-on needs no shortcode of its own, that is, no placeholder in square brackets that WordPress replaces with a tool. It appears solely through its button in the viewer.
Who may check
By default, every visitor to the page with the viewer can use the button. With the box “Logged-in users only” you give the check only to logged-in users. Developers can additionally restrict it to users with a specific capability via the filter spiv_capability, for example like this:
add_filter( 'spiv_capability', function () {
return 'edit_posts';
} );
The supplier list
For each supplier you store name, identifiers, accounts, usual currency and usual payment term. You write identifiers as scheme and value, for example VAT:DE123456789; GLN:4012345000009. You can import the whole list from a CSV file and export it again as a CSV file. If you also use the plugin “eInvoice Inbound” for the inbound check in the backend, that is, in the WordPress admin area, you maintain the list only once, because both plugins read the same list.
Which law applies to the mandatory information
By default, the check follows the country of the invoice recipient on the invoice. For Germany the German rules apply in addition, for Austria the Austrian ones, and for other EU countries only the EU rules. Under “Regulations to apply” you can instead set one rule set permanently or choose “Do not check the mandatory details”.
