{"data":{"id":"MDVA-42520","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the tax rate is applied twice if \"Enable Cross Border Trade\" is used.","categories":["Price/Tax"],"components":["magento/module-negotiable-quote"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-11/mdva-42520-tax-rate-applied-twice-when-enable-cross-border-trade-is-used","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-11/mdva-42520-tax-rate-applied-twice-when-enable-cross-border-trade-is-used.md","blobSha":"841ceb23964e046770930ada930229c8a5a69950","description":"The tax rate is applied twice when the Enable Cross Border Trade is used.","stepsToReproduce":"1. Enable Company, Shared Catalog, and Quote 1. Configure taxes according to the screenshot. Make sure you enable Cross Border Trade. !Tax configuration settings page showing cross-border trade options and rate calculations{width=\"700\"} 1. Create a tax rate for Germany (10%). 1. Create a tax rule to apply the tax rate. 1. Create a company and a custom shared catalog. 1. Create a product with a price of 100 and include it in the custom shared catalog with a price discount of 20%. 1. Create a customer with a German address and assign it to the company 1. Add 10 products to the card as the customer. 1. Go to the shopping cart and request a quote. 1. Open this quote on the backend and try to add an additional 10% discount.","introducedInQpt":"1.1.11","createdFor":["2.4.3-p1"],"documentedRange":"2.4.3 - 2.4.3-p1","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.2 <1.3.3","path":"patches/commerce/MDVA-42520_2.4.3-p1.patch","blobSha":"d843d5778dc6a32e35dd0d7638de317656829b50","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/MDVA-42520_2.4.3-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-negotiable-quote/Model/Customer/StoreCustomerRate.php","change":"modified","package":"magento/module-negotiable-quote"}],"packages":["magento/module-negotiable-quote"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-42520 details"}