• carlamkt

    (@carlamkt)


    Hello,

    I have configured my Woocommerce taxes as follows:

    Buyer from Spain 21% VAT
    EU individual buyer: 21%
    EU company buyer (with VAT): 0%
    Non-EU buyer: 0%

    I need the following phrase to be added to the invoice in the event that the buyer is an EU company: “entrega intracomunitaria exenta art 25 LIVA”

    And if the buyer is from outside the EU, the following phrase is added to the invoice: “operación no sujeta por las reglas de localización”

    How can I do it?

    Thank you in advance and regards!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Darren Peyou

    (@dpeyou)

    Hello @carlamkt,

    How does WooCommerce know that this is an EU company?
    We need this information in order to write a code snippet that will check if the order is from an EU Company. ??

    Thread Starter carlamkt

    (@carlamkt)

    Hello,

    Because I’m using EU VAT Number Woocommerce extension.

    Thread Starter carlamkt

    (@carlamkt)

    Hello,

    any news about this?

    Plugin Contributor dwpriv

    (@dwpriv)

    @carlamkt apologies for the late reply. Could you share the meta key that stores the value for the EU company, please? You can use this guide to find that meta key.

    Thread Starter carlamkt

    (@carlamkt)

    VAT Numbers are stored in a meta field named?_billing_vat_number?(and?_vat_number?for backward compatibility). The function?wc_eu_vat_get_vat_from_order($order)?takes care of retrieving the VAT regardless of how it is stored.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for providing more details, @carlamkt:

    If I understood correctly, you want to display a custom text if the order has VAT reverse charged, right? If so, the easiest way to achieve this is with the?customizer, included in the?Premium Templates?extension, which allows you to add?custom blocks?with a set-up like this:

    Please note that the “VAT reverse charge” setting has been checked to display this custom block only if that condition is met.

    Then, your PDF invoice will display the custom text if the VAT reverse charge condition is met, this way:

    The VAT Reverse Charge option will be considered ‘true’ if all these conditions are met:

    1. The billing country is from a European Union country.
    2. The billing country is not the same as the shop base country.
    3. Order total is greater than zero (0)
    4. The VAT of the order is equal to zero (0)
    5. The order has a VAT number (you should have a compatible plugin installed that collects the VAT number on the checkout page, e.g.?EU/UK VAT Compliance Assistant for WooCommerce)

    Please note that, since the rules for the www.remarpro.com forums doesn’t allow us providing premium support or answering pre-sale questions for paid plugins, please contact us by email to?[email protected], if you have further questions regarding the Premium Templates extension.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add setence based on tax’ is closed to new replies.