The documentation is not clear and seems to be wrong about the JSON return for the Tax Calculation SPI Extension using REST.
https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-calculation-integration-service-plugin/calculate-tax
Need help because although my self hosted API receives the POST with the information, the return does not seem to correctly trigger the checkout value needed. Also the GraphQL data does not include any error.
Calculates tax for the provided line items. Tax is calculated for each line item based on the tax region in lineItems.taxRegionId and the tax group in lineItems.taxGroupId.