Utility functions for VAT.
(This module's source code is available here.)
Plugin(site, app_label, app_name, app_module, needed_by)¶
Pluginobject for this plugin.
eu_country_codes= 'AT BE BG CY CZ DK DE EE ES FI FR GB GR HU HR IE IT LV\n LT LU MT NL PO PT RO SE SI SK'¶
A space-separated list of ISO codes that are to be considered part of the EU. This is used to define the VAT area of a partner, which in turn influences the available VAT regimes. See
When a member state leaves or joins the EU (and you have partners there), you can either update your Lino (we plan to keep this list up to date), or you can change it locally.
At site startup this is converted from a string to a set. Duplicate codes are ignored. For example so in your
layouts_moduleyou may write code like this:
if brexit: dd.plugins.vat.eu_country_codes.remove("GB")
The default VAT regime. If this is specified as a string, Lino will resolve it at startup into an item of
The default VAT class. If this is specified as a string, Lino will resolve it at startup into an item of
The plugin to use as your national declaration module.
This can remain None e.g. in applicatons that use the ledger plugin for orders or invoicing, but don't care about general accounting functionality.
Whether item prices in trade documents are meant VAT included.