Question 11
Choose 2
An Administrator has a customer that will go live without an external tax provider until some complex
regional requirements are solidified. They will start using a flat tax on a per country and per region basis in
the meantime.
The customer has provided the data in a CSV file with three columns: country, region, taxRate.
Which two actions should the Administrator take to use the tax data?
Correct answer:
A. Have a developer modify the tax code used in the checkout flow.
D. Create a custom object.
Explanation:
The CSV holds a lookup table of rates, including country, region, and taxRate. Standard Commerce has no object designed to store flat tax rates by region, and the checkout flow must be configured to use them. Therefore, two things are needed:
A. Have a Developer Modify the Tax Code Used in the Checkout Flow
Tax calculation during checkout is handled by a tax calculator, such as an Apex tax integration or the tax step in the checkout flow. To use the custom rates, a developer must modify the logic to look up the rate by country and region and write the resulting tax to the cart.
D. Create a Custom Object
The Administrator needs a place to store the tax rate data, so a custom object with country, region, and taxRate fields is created, and the CSV data is loaded into it using Data Loader or Data Import Wizard.
Why the Other Options Are Incorrect
B. Use Data Loader to Import the CSV to the Cart Tax Object
Cart Tax records are created per cart or cart item during checkout. They store calculated tax results, not a tax rate table. Therefore, importing rates into this object would not drive tax calculations.
C. Use the Import Feature in the Commerce App
Commerce Import supports products, product variations, images, price books, and entitlements. Tax data does not appear to be supported through this feature. This option is less certain, so if the answer key identifies C as correct, it may conflict with this understanding.
Reference:
Salesforce Help: Tax Calculation in Checkout / Set Up Tax Integration for B2B Commerce
Salesforce Developer Documentation: Cart Tax Object Reference and Commerce Tax Calculator Documentation.
The CSV holds a lookup table of rates, including country, region, and taxRate. Standard Commerce has no object designed to store flat tax rates by region, and the checkout flow must be configured to use them. Therefore, two things are needed:
A. Have a Developer Modify the Tax Code Used in the Checkout Flow
Tax calculation during checkout is handled by a tax calculator, such as an Apex tax integration or the tax step in the checkout flow. To use the custom rates, a developer must modify the logic to look up the rate by country and region and write the resulting tax to the cart.
D. Create a Custom Object
The Administrator needs a place to store the tax rate data, so a custom object with country, region, and taxRate fields is created, and the CSV data is loaded into it using Data Loader or Data Import Wizard.
Why the Other Options Are Incorrect
B. Use Data Loader to Import the CSV to the Cart Tax Object
Cart Tax records are created per cart or cart item during checkout. They store calculated tax results, not a tax rate table. Therefore, importing rates into this object would not drive tax calculations.
C. Use the Import Feature in the Commerce App
Commerce Import supports products, product variations, images, price books, and entitlements. Tax data does not appear to be supported through this feature. This option is less certain, so if the answer key identifies C as correct, it may conflict with this understanding.
Reference:
Salesforce Help: Tax Calculation in Checkout / Set Up Tax Integration for B2B Commerce
Salesforce Developer Documentation: Cart Tax Object Reference and Commerce Tax Calculator Documentation.
