Tax Components Api
interface TaxComponentsApi
Functions
Link copied to clipboard
abstract suspend fun createTaxCompoent(postTaxesComponentsRequest: PostTaxesComponentsRequest): PostTaxesComponentsResponse
Create a new Tax Component Creates a new Tax Component Mandatory Fields: name, percentage Optional Fields: debitAccountType, debitAcountId, creditAccountType, creditAcountId, startDate Responses:
Link copied to clipboard
List Tax Components List Tax Components Responses:
Link copied to clipboard
Retrieve Tax Component Retrieve Tax Component Responses:
Link copied to clipboard
Responses:
Link copied to clipboard
abstract suspend fun updateTaxCompoent(taxComponentId: Long, putTaxesComponentsTaxComponentIdRequest: PutTaxesComponentsTaxComponentIdRequest): PutTaxesComponentsTaxComponentIdResponse
Update Tax Component Updates Tax component. Debit and credit account details cannot be modified. All the future tax components would be replaced with the new percentage. Responses: