Is the 'amount' property in a line item with the r...
# ask-stanley-ai
v
Is the 'amount' property in a line item with the rest api the item amount or tax amount for the item?
c
AI generated answer (using internal Slack threads):
The 'amount' property in a line item with the REST API refers to the item amount, not the tax amount for the item. This is based on the conversations where users discuss changing the amount on a line item while transforming a PO into a vendor bill using the REST API. The 'amount' property is used to specify the total cost of the item, which is calculated as the price of the item multiplied by the quantity. The tax amount for each line item in a sales order is calculated separately during the submit process of the sales order and is not reflected as each item is added. It is populated in the standard 'taxtotal' field once the sales order is saved. If the tax code rate is 0%, then the tax amount will also be 0. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849651098
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833061934
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826990724
Please provide your feedback on this answer.