• Resolved kfrancik

    (@kfrancik)


    Hi,

    Firstly, thank you for your plugin which works well! We use the free version and maybe it is why we have a small problem.

    The note “Zero rated for VAT as customer has supplied EU VAT number” is added to all invoices when vat is 0 not just to EU vat payers. We also have non-EU customers, they pay zero VAT and in this situation, this note is incorrect. Also, some customers can use the vouchers for free samples and the same note is also generated.

    Is it possible to remove this note, or differentiate it depending whether this is indeed a EU VAT customer or not.

    Thanks
    Kate

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Hi Kate,

    You could have a look at below code. Maybe you are using an older version of the VAT number plugin and it is using a different value?
    Can you send me your WooCommerce System Status?

    
    // Zero Rated VAT message.
    			if ( 'true' === $templater->get_meta( '_vat_number_is_valid' ) && count( $order->get_tax_totals() ) === 0 ) {
    				_e( 'Zero rated for VAT as customer has supplied EU VAT number', 'woocommerce-pdf-invoices' );
    				printf( '<br />' );
    			}
    

    Regards,
    Bas

    Thread Starter kfrancik

    (@kfrancik)

    Hi Bas,

    Thank you, but unfortunately it doesn’t work 🙁
    I added my system status below. I will be grateful for your help.

    Regards,
    Kate

    System status:

    ### WordPress Environment ###

    Home URL: http://adsimulo.com
    Site URL: http://adsimulo.com
    WC Version: 3.2.1
    Log Directory Writable: ✔
    WP Version: 4.8.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 5.6.31
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k

    SUHOSIN Installed: –
    MySQL Version: 5.6.36
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 3.2.1
    WC Database Prefix: wp_
    Total Database Size: 15.61MB
    Database Data Size: 12.15MB
    Database Index Size: 3.46MB
    wp_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.03MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.14MB + Index: 0.11MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_aps_social_icons: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.41MB + Index: 0.04MB
    wp_comments: Data: 0.16MB + Index: 0.07MB
    wp_duplicator_packages: Data: 0.00MB + Index: 0.00MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 2.29MB + Index: 0.16MB
    wp_postmeta: Data: 2.91MB + Index: 2.01MB
    wp_posts: Data: 5.58MB + Index: 0.38MB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB
    wp_terms: Data: 0.03MB + Index: 0.06MB
    wp_term_relationships: Data: 0.07MB + Index: 0.16MB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.06MB
    wp_ufbl_entries: Data: 0.00MB + Index: 0.00MB
    wp_ufbl_forms: Data: 0.01MB + Index: 0.00MB
    wp_usermeta: Data: 0.07MB + Index: 0.06MB
    wp_users: Data: 0.01MB + Index: 0.01MB
    wp_wpsc_also_bought: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_cart_contents: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_cart_item_meta: Data: 0.00MB + Index: 0.02MB
    wp_wpsc_checkout_forms: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_claimed_stock: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_coupon_codes: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_currency_list: Data: 0.02MB + Index: 0.01MB
    wp_wpsc_download_status: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_meta: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_product_rating: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_purchase_logs: Data: 0.01MB + Index: 0.01MB
    wp_wpsc_purchase_meta: Data: 0.01MB + Index: 0.02MB
    wp_wpsc_region_tax: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_sagepaycw_customer_contexts: Data: 0.02MB + Index: 0.02MB
    wp_wpsc_sagepaycw_dbversion: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_sagepaycw_documents: Data: 0.02MB + Index: 0.02MB
    wp_wpsc_sagepaycw_storage: Data: 0.02MB + Index: 0.02MB
    wp_wpsc_sagepaycw_transactions: Data: 0.17MB + Index: 0.05MB
    wp_wpsc_submited_form_data: Data: 0.02MB + Index: 0.02MB
    wp_wpsc_visitors: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_visitor_meta: Data: 0.04MB + Index: 0.03MB
    wp_yoast_seo_links: Data: 0.04MB + Index: 0.01MB
    wp_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB

    ### Post Type Counts ###

    attachment: 181
    custom_css: 1
    nav_menu_item: 26
    page: 116
    polylang_mo: 8
    post: 67
    product: 32
    product_variation: 1151
    revision: 1216
    scheduled-action: 57
    shop_coupon: 8
    shop_order: 60
    shop_order_refund: 2
    shop_subscription: 38
    shop_webhook: 3
    wpcf7_contact_form: 16
    wpsc-product: 46

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (17) ###

    Polylang Pro: by Frédéric Demarle – 2.2.3
    Child Theme Configurator: by Lilaea Media – 2.2.8.1
    Contact Form 7: by Takayuki Miyoshi – 4.9
    Cookie Notice: by dFactory – 1.2.39
    Limit Login Attempts: by Johan Eenfeldt – 1.7.1
    Loco Translate: by Tim Whitlock – 2.0.16
    Maintenance: by fruitfulcode – 3.5.1
    Polylang for WooCommerce: by Frédéric Demarle – 0.9 – Not tested with the active version of WooCommerce
    Shortcodes Ultimate: by Vladimir Anokhin – 5.0.0
    UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.13.11

    WooCommerce Customizer: by SkyVerge – 2.5.0 – Not tested with the active version of WooCommerce
    WooCommerce EU VAT Number: by WooCommerce – 2.3.2 – 2.3.3 is available – Not tested with the active version of WooCommerce
    WooCommerce SagePay Form and SagePay Direct Gateway: by Andrew Benbow – 3.9.1 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices: by Bas Elbers – 2.9.7 – Not tested with the active version of WooCommerce
    WooCommerce Subscriptions: by Prospress Inc. – 2.2.12 – 2.2.14 is available – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.1 – 3.2.3 is available
    Yoast SEO: by Team Yoast – 5.6.1

    ### Settings ###

    API Enabled: ✔
    Force SSL: ✔
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    ### WC Pages ###

    Shop base: #1156 – /shop/
    Cart: #1157 – /basket/
    Checkout: #1158 – /checkout/
    My account: #1159 – /my-account/
    Terms and conditions: #305 – /terms-of-use-and-sale/

    ### Theme ###

    Name: AdSimulo – AccessPress Parallax Child
    Version: 1.26.2.1476998986
    Author URL: https://accesspressthemes.com/
    Child Theme: ✔
    Parent Theme Name: AccessPress Parallax
    Parent Theme Version: 1.56
    Parent Theme Author URL: https://accesspressthemes.com/
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: accesspress-parallax-child/woocommerce/emails/customer-new-account.php

    ### subscriptions ###

    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Report Cache Enabled: ✔ Yes
    Cache Update Failures: ✔ 0 failure

    ### WC Pages Translations ###

    Shop base:
    Cart:
    Checkout:
    My account:
    `

    Thread Starter kfrancik

    (@kfrancik)

    Hi Bas,

    It is me again.
    I checked settings of the plugin and I was using the template micro:-(
    When I chose minimal everything started to work perfectly!

    Thank you again for your help and sorry for the confusion.

    Many thanks
    Kate

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Zero rated for VAT note’ is closed to new replies.