Skip to content

Instantly share code, notes, and snippets.

@jerronimo
Last active December 4, 2017 08:55
Show Gist options
  • Save jerronimo/c14b0ffd139a4e9367acd76467f87086 to your computer and use it in GitHub Desktop.
Save jerronimo/c14b0ffd139a4e9367acd76467f87086 to your computer and use it in GitHub Desktop.
IF CLIENT & ARTIST ARE in same country) the rules are very simple:
These rules are for generating the invoice and select the appropriate INVOICE template
When we say apply VAT or with VAT it is ALWAYS talking about the ARTIST VAT
Rule 1. INDIVIDUAL USER (ARTIST)
--> NO VAT be definition
use template "TEMPLATE INVOICE WITH NO VAT"
Rule 2. LEGAL USER (ARTIST) NOT REGISTERED to VAT
--> NO VAT
use template "TEMPLATE INVOICE WITH NO VAT"
Rule 3. LEGAL USER (ARTIST) REGISTERED to VAT
--> if he enters a valid VAT number in the settings then VAT for corresponding Country is used
use template "TEMPLATE INVOICE WITH VAT"
IF ARTIST in EUROPE & CLIENT are based in 2 different countries:
Rule 4: INDIVIDUAL USER (ARTIST)
--> NO VAT by definition
use template "TEMPLATE INVOICE WITH NO VAT"
(this is same as Rule 1)
Rule 5: LEGAL USER (ARTIST) - NOT REGISTERED to VAT
--> NO VAT
use template "TEMPLATE INVOICE WITH NO VAT"
(this is same as rule 1)
Rule 6. LEGAL USER (ARTIST) - REGISTERED to VAT:
if ARTIST is IN EUROPE
AND
If CLIENT is OUTSIDE of EUROPEAN Community
--> NO VAT
use template "TEMPLATE INVOICE WITH NO VAT"
Rule 7. LEGAL USER (ARTIST) - REGISTERED to VAT: LEGAL USER (CLIENT) NOT REGISTERED to VAT
--> apply (ARTIST) VAT on invoice
use template "TEMPLATE INVOICE WITH VAT"
Rule 8. LEGAL USER (ARTIST) - REGISTERED to VAT: LEGAL USER (CLIENT) REGISTERED to VAT
if ARTIST is IN EUROPE
AND
If CLIENT is within EUROPEAN Community but different European country
use template "TEMPLATE INVOICE WITH VAT"
This is for the BETA version ONLY. This may change in future
--> this may lead to the necessity to manually REFUND the VAT that would be collected by ACTED.
This is the artist that will need to do the REFUND, as well as re-issuing a new invoice.
IF ARTIST OUTSIDE EUROPE & CLIENT are based in 2 different countries:
We cannot handle that case as MangoPay is not supporting Artist Payments out side of Europe
Sketch template "TEMPLATE INVOICE WITH 0% VAT (EU VAT REGISTERED CLIENTS ONLY)"
is not used at the moment for BETA version, as we need to re-think that case also in the payment process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment