'Allows a creditor to write off the debt balance accumulated partially
or fully at any time.'

@needs_caller_reference
@complex_amounts('AdjustmentAmount')
@requires(['CreditInstrumentId', 'AdjustmentAmount.Value', 'AdjustmentAmount.CurrencyCode'])
@api_action()
def write_off_debt(self, action, response, **kw):

    return self.get_object(action, kw, response)
