Skip to main content

Tax Service

Tax describe the taxes that are associated with the Tenant. You can retrieve taxes by using API.

Tax Object

Attributes


AttributeTypeDescription
idlongUnique identifier for the object.
namestringName of the tax.
taxCodestringCode of Tax.
accountCodestringAccount code of tax's account.
accountNamestringName of Tax's account.
typeenumType of taxes. Possible values for type.
descriptionstringTax account description.
percentBigDecimalTax's percentage.
codestringTax code.
statusstringTax Status.
deletedbooleanHas the value true if the tax is deleted or false if the tax still exist.
tenantIdlongUnique identifier for the object.
categoryenumType of tax category. Possible values for category.

API


List All Taxes

Parameters

Code

  @Autowired
private TaxesApiClient taxesApiClient;

public Taxes getTaxes(String accessToken, Integer limit, Integer page){
return this.taxesApiClient.getTaxes(accessToken, limit, page);
}

Enums


TYPE

  • Sales
  • Purchases
  • Both

Category

  • System
  • Custom