# Veeqo order's line item price formation

**URL:** <https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27>\
**Category:** API Queries (How To)\
**Created:** [August 1, 2017, 12:53pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27 "2017-08-01T12:53:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andriy](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/andriy/32/28_2.png) [@Andriy](https://developer-forum.veeqo.com/u/Andriy)\
**Post date:** [August 1, 2017, 12:53pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27/1 "2017-08-01T12:53:37Z")

</div>

When I create order on veeqo, what price should I set to line\_items?

- Price I have on X platform with tax included

- Price I have on X platform without tax  
Because veeqo adds ~32% over price, I sent through api.

That’s how I create order.  
This is a price per item I get on Veeqo $200.72.  
PS: I have a tax set of 20% on product item itself, but the price of product item is $ 152 without tax.  
Full price is $ 182.4, including tax

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [August 1, 2017, 1:21pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27/2 "2017-08-01T13:21:26Z")

</div>

price should be without tax and the tax should be price set in line\_items

then when a [create-a-new-order](http://docs.veeqo.apiary.io/#reference/orders/order-collection/create-a-new-order) the tax rate should be pulled in, in the line item attributes.

> ```
> "line_items_attributes": [
> {
> "price_per_unit": 13.99,
> "quantity": "1",
> "sellable_id": 1226615,
> "tax_rate": 0
> }
> 
> ```

---

<div class="post-metadata">

**Author:** ![Andriy](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/andriy/32/28_2.png) [@Andriy](https://developer-forum.veeqo.com/u/Andriy)\
**Post date:** [August 1, 2017, 1:45pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27/3 "2017-08-01T13:45:50Z")

</div>

Thanx for fast answer, but, after changing params:

```
{:order=>
  {:channel_id=>45827,
   :customer_id=>9572649,
   :delivery_method_id=>170617,
   :deliver_to_attributes=>{:first_name=>"Andriy", :last_name=>"Byalyk", :address1=>"Ivana Franka Street", :address2=>"", :city=>"Ivano-Frankivsk", :country=>"UA", :zip=>76018, :customer_id=>9572649},
   :line_items_attributes=>[{:price_per_unit=>152.0, :tax_rate=>0, :quantity=>10, :sellable_id=>10804032}],
   :payment_attributes=>{:payment_type=>"card", :reference_number=>false}}}

```

I have price $201.02.

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [August 1, 2017, 2:24pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27/4 "2017-08-01T14:24:55Z")

</div>

It looks like its a currency conversion issue.  
Veeqo automatically converts the currency to match your company currency. You can set your company currency to match the channel or vice-versa.

---

<div class="post-metadata">

**Author:** ![Andriy](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/andriy/32/28_2.png) [@Andriy](https://developer-forum.veeqo.com/u/Andriy)\
**Post date:** [August 1, 2017, 3:04pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27/5 "2017-08-01T15:04:37Z")

</div>

Thank you, Phil  
Seems my issue is solved now:slight\_smile:

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [August 1, 2017, 3:07pm UTC](https://developer-forum.veeqo.com/t/veeqo-orders-line-item-price-formation/27/6 "2017-08-01T15:07:18Z")

</div>

Ace!  
😄

See you next time!
