Order of items on checkout page

I am using the Sandbox API to create a checkout page. I don’t have any items defined so I am entering the order explicitly. I have one line item with tax, and a service charge that applies to the entire order, tax included.
The calculation is done correctly, but The Checkout page lists the service charge before the tax, giving the impression that the tax applies to the service charge as well. See the attached picture. Is there a way to re-order the lines on the checkout page?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Square Order Checkout
Apply Taxes and Discounts
Take a Pickup Order and Pay for It

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

No, there is currently no way to reorder the lines on the checkout page. The Checkout API automatically calculates and applies any price adjustments, including taxes and service charges, and the order in which they are displayed on the checkout page cannot be manually adjusted. The display order does not affect the actual calculation of these price adjustments.

This answer was reviewed by @Bryan-Square.

Thank you for clarifying.