In your request, either price or percentage (ratePercent) is required for each InvoiceLineItem. If you set one, do not set the other.
If ratePercent is set for a line item, the line item amount is (ratePercent) x (sum of other line item amount values). If price is set, amount is (quantity) x (price).
What is an invoice?
An invoice represents an amount that you are owed by a customer for goods and services that you provide.
You can create an invoice with /Crud/Create/Invoice.json. In the invoice, add invoice line items to record details about individual goods or services. In addition, you can associate line items to accounts tracking objects, such as item (/Item.json) or chart of accounts (/ChartOfAccounts.json).
Other invoice features:
You can reduce the total invoice amount with an invoice credit (/CreditMemo.json). Total invoice amount, credit memos, and any remaining invoice amount to be paid or recorded is available with /Crud/Read/ReceivedPay.json.
The exchangeRate is a required additional field for creating an invoice as an international vendor (a vendor outside the US). In addition, each invoice line item amount is in the foreign currency. Retrieve the current exchange rate with /GetDynamicExchangeRateQuote.json.
Note: You must set exchangeRate when creating an invoice as an international vendor even if the BILL foreign exchange rate changes at the time of invoice payment.
Send a payment invoice to a customer
Click Try It! to start a request and see the response here!