deleteTaxRegistration method
Deletes tax registration for a single account.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter accountId :
Unique account identifier for the TRN information that needs to be
deleted. If this isn't passed, the account ID corresponding to the
credentials of the API caller will be used for this parameter.
Implementation
Future<void> deleteTaxRegistration({
String? accountId,
}) async {
final $payload = <String, dynamic>{
if (accountId != null) 'accountId': accountId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/DeleteTaxRegistration',
exceptionFnMap: _exceptionFns,
);
}