How to apply sales tax to an order using the Rest API?

@TomScott,

This doesn’t really help. All the tax tables are set up in Infusionsoft. The link you posted briefly explains how to add a line item to an invoice, where I can set the type of line item to “tax,” but I also have to set the amount (or price) myself and my application doesn’t have that information—it’s all in Infusionsoft.

I see that there is an API call to “Calculate Invoice Tax” (xml-rpc - Keap Developer Portal). Unfortunately, both this and the link you suggest require the invoice ID for an order which the REST API does not provide.

Please, I am trying to be patient, but the API documentation is either incomplete, inadequate, or flat out wrong, so posting a link to it does not help me figure out how to solve my problem. I need help. Real help. Please.

When I create an order, I need that order to include a line item with the appropriate tax. How do I do that?

Thanks.