Use Case
The VAT set on the product is automatically applied on the product in the sale, but it can be changed on a product-by-product basis on the sale row with parameters.
isnetprice |
When set true, the price of the row (total + vat) is a net price defined in the integrated system. This price will not change according to the valid product price known in Tehden. |
total |
Row's total sum without VAT. Both total and vat have to either have values or be NULLS. |
vat |
Row's VAT sum. Both total and vat have to either have values or be NULLS. |
vatpercent |
Product's VAT percent. Requires also vat and total to have values. |
vatstatus_id |
If saleorder vatstatus_id is empty, customer's vatstatus_id is used automatically if available. See VAT options for a customer. |
Used Endpoints
saleorder/createSaleOrderAndRows Creates sales order and sales order rows.
saleorder/createSaleRow Create a sale row.
Example
Payload when calling saleorder/createSaleOrderAndRows. Vat and total as parameters and isnetprice used, meaning the price will not change according to the valid product price known in Tehden.
The sale row in Tehden by the payload above. The VAT percent is visible as the product's VAT percent but it is not added to the tax free price.
Screenshots from the user interface are in Finnish because a large part of our customers use Tehden in Finnish.
Kommentit
0 kommenttia
Kommentointi on poistettu käytöstä.