How to remove id's from rate field on sales order line items?
Hi,
I'm using sales order API to create sales orders in ZOHO Books. Everything is working fine but there are unique numbers coming just below the rates on each line item column in sales order (See the attached screenshot).
The body for the API request is set as below:
- {
- "customer_id": "1245789631",
- "date": "2022-04-22",
- "is_inclusive_tax": false,
- "line_items": [
- {
- "rate": 1112,
- "name": "ABC",
- "description": "description",
- "quantity": 1,
- "product_type": "goods",
- "discount": "'20%",
- "tax_id": "123456789",
- "hsn_or_sac": "'123456"
- }
- ],
- "billing_address_id": "123456789",
- "shipping_address_id": "123456789",
- "tax_id": "123456789",
- }
I'm not sure how and from where they are coming. Can anyone help me to remove the same from the Item's rate value?
P.S: This happens only when a sales order is created using API. On manual creation, it's working fine. So, It might be something wrong with my request body, but I can't figure it out.
Any help will be much appreciated.
Thanks,