Newer Version Available
TaxParameters Class
Contains a list of setters to populate the data needed for a tax
calculation. The data is passed in the tax callout.
Namespace
blng
TaxParameters Methods
Learn more about the methods available with the TaxParameters class.
The TaxParameters class includes these methods.
setLegalEntityReferences(legalEntityReference)
Sets the legal entity for the tax treatment. For example, a company
can create legal entities to represent their different branches.
Signature
global static void setLegalEntityReferences(String legalEntityReference)
Parameters
- legalEntityReference
- Type: String
- Unique identification number of the legal entity.
Return Value
Type: void
setIsCommitOnGetTax(isCommitOnGetTax)
Usage
If the Automatically Post Invoices checkbox is selected on the Invoice Scheduler, tax providers examine the isCommitOnGetTax parameter to commit the tax.
The isCommitOnGetTax parameter value is configured within the Taxparameter instance and transmitted to the external tax provider implementation.
Signature
global static Void setIsCommitOnGetTax(Boolean isCommitOnGetTax)
Parameters
- isCommitOnGetTax
- Type: Boolean
- Indicates to external tax providers whether to commit tax on the Get Tax method (true) or not (false).
Return Value
Type: Void