After further investigation, my initial post was correct. The PreviewSalesOrder() method does not seem to allow negative line items in sales orders, which throws of the TaxableAmt, which throws off the SalesTaxAmt. When I create the order using the CreateSalesOrder() method, everything calculates as expected. I guess I can't trust the preview method.
↧