So basically, I have the tax system set up and it’s working properly on the regular terminal.
However, I have an integration with Square where customers make payment online—either through a QR code or a link—and the tax isn’t being applied.
Is there a way to have it applied automatically?
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
App Marketplace Revenue Sharing
Apply Taxes, Discounts, and Service Charges
Apply Catalog Taxes to Orders
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.
To ensure that taxes are automatically applied to online payments made through a QR code or a link, you need to configure your Square setup to apply preconfigured taxes from your catalog. Here’s how you can achieve this:
-
Catalog Configuration: Ensure that your taxes are defined in the Square Catalog as CatalogTax objects. These should be set up with the appropriate tax rates and configured to apply to the items or services you are selling.
-
Order Creation: When creating an order using the Orders API, you can enable the automatic application of these preconfigured taxes by setting the pricing_options.auto_apply_taxes property to true. This tells Square to apply the taxes defined in your catalog to the order.
-
Order and Payment Integration: When you create an order for an online payment, include the order_id in your payment request. This ensures that the taxes configured in the order are applied when the payment is processed.
By following these steps, Square will automatically apply the preconfigured taxes to your online orders, ensuring compliance with your tax setup. If you have already set up your taxes in the catalog, make sure that the auto_apply_taxes option is enabled in your order requests.
This answer was reviewed by @Bryan-Square.