Title: order via API
Last modified: February 21, 2020

---

# order via API

 *  Resolved [stijnetje](https://wordpress.org/support/users/stijnetje/)
 * (@stijnetje)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/order-via-api/)
 * Hi,
    When we place an order using the Woocommerce API, the order gets:
 *     ```
                   [2] => stdClass Object
   
                     (
                           [id] => 7289
   
                          [key] => _vat_number_validated
                           [value] => entered-manually-not-validated
   
                      )
       ```
   
 * This is missing:
 *     ```
                   [0] => stdClass Object
                      (
                           [id] => 7063
                          [key] => is_vat_exempt
                           [value] => yes
                       )
       ```
   
 * also this is missing:
 *     ```
                    [4] => stdClass Object
                       (
                            [id] => 7067
                            [key] => vies_response
                            [value] => stdClass Object
                                (
       ```
   
 * How can we ensure that the WooCommerce EU VAT Assistant
    plugin is applied to
   order placed through the API
 * Thank you in advance
    -  This topic was modified 6 years, 2 months ago by [stijnetje](https://wordpress.org/support/users/stijnetje/).
    -  This topic was modified 6 years, 2 months ago by [stijnetje](https://wordpress.org/support/users/stijnetje/).
    -  This topic was modified 6 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Formatting

Viewing 1 replies (of 1 total)

 *  Plugin Author [Diego](https://wordpress.org/support/users/daigo75/)
 * (@daigo75)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/order-via-api/#post-12464786)
 * The behaviour you describe is correct. The EU VAT Assistant is designed specifically
   to comply with the VAT MOSS regulations, which cover orders placed by customers
   on your site. Due to that, the validation of VAT number is performed only during
   the checkout on the frontend.
 * Manual orders, or orders created via the API, won’t go through the validation
   of VAT numbers. In those scenarios, he EU VAT Assistant assumes that the merchant
   will have performed the necessary checks, and won’t attempt to validate the VAT
   numbers.
 * If you wish to make VAT exempt an order created manually, or via the API, you
   can refer to the following FAQ: [https://wordpress.org/support/topic/faq-vat-exemption-on-orders-created-manually/](https://wordpress.org/support/topic/faq-vat-exemption-on-orders-created-manually/)

Viewing 1 replies (of 1 total)

The topic ‘order via API’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-eu-vat-assistant/assets/icon.svg?rev=1057426)
 * [EU VAT Assistant for WooCommerce](https://wordpress.org/plugins/woocommerce-eu-vat-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-eu-vat-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Diego](https://wordpress.org/support/users/daigo75/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/order-via-api/#post-12464786)
 * Status: resolved