XeroAPI/xero-python

ValueError: 'TOOLS' is not a valid AllowanceType

SoSDylan opened this issue · 0 comments

I'm getting an error while trying to get earnings rates from a company.

When I call payrollau_api.get_pay_items(xero_tenant_id) on a company that has an allowance type of anything other than in the AllowanceType enum it throws the error ValueError: 'TOOLS' is not a valid AllowanceType.

I think this is a problem with the python api library.

If the xero tenant id is required to reproduce the error I can provide that.