Get Started with Revenue Management Developer Resources
Revenue Management Settings
Salesforce Payments Objects in Billing
TaxEngineAdapter Example Implementation
Tax Mappings for Invoices and Credits
Previous Versions
Retrieves and evaluates the details from a tax engine to define tax details.
You can extend the TaxEngineAdapter interface to define a custom tax adapter based on your requirements. Use the custom tax adapter with Billing services to implement standard tax.
Create a custom object and associated fields to store tax details, such as tax rate for a country. For example, create a custom object named CountryTaxRate with Country_Code and Tax_Rate fields. Create records to define the details for these fields.
processRequest(requestType) — The processRequest method takes an instance of TaxEngineContext class and returns a response with the calculated tax details through the TaxDetailsResponse class or an error response through the ErrorResponse class.
TaxEngineAdapter Example Implementation
Refer to the example implementation of the TaxEngineAdapter interface to accept information from a tax engine and evaluate the information to define tax details.
Tax Mappings for Invoices and Credits
You can extend and customize the existing tax interface by using custom metadata types and tax mappings. These customizations help you with unique business requirements such as the inclusion of specific data for accurate calculations and audits.
See Also