You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon importing the Bank transactions from XERO, I'm getting the following error.
Invalid value for 'type', must be one of 'RECEIVE', 'RECEIVE-OVERPAYMENT', 'RECEIVE-PREPAYMENT', 'SPEND', 'SPEND-OVERPAYMENT', 'SPEND-PREPAYMENT', 'RECEIVE-TRANSFER', 'SPEND-TRANSFER'
it worked fine first but now this issue started coming up.
We have seen in the code that we do import only such transactions which types are 'RECEIVE', 'RECEIVE-OVERPAYMENT', 'RECEIVE-PREPAYMENT', 'SPEND', 'SPEND-OVERPAYMENT', 'SPEND-PREPAYMENT'.
Is there a way to fix this error ?
Thanks
The text was updated successfully, but these errors were encountered:
Upon importing the Bank transactions from XERO, I'm getting the following error.
Invalid value for 'type', must be one of 'RECEIVE', 'RECEIVE-OVERPAYMENT', 'RECEIVE-PREPAYMENT', 'SPEND', 'SPEND-OVERPAYMENT', 'SPEND-PREPAYMENT', 'RECEIVE-TRANSFER', 'SPEND-TRANSFER'
Error Back-Trace is :
/vendor/xeroapi/xero-php-oauth2/lib/Models/Accounting/BankTransaction.php(line - 422)
/vendor/xeroapi/xero-php-oauth2/lib/AccountingObjectSerializer.php(line - 358,function-setType)
/vendor/xeroapi/xero-php-oauth2/lib/AccountingObjectSerializer.php(line - 277,function-deserialize)
/vendor/xeroapi/xero-php-oauth2/lib/AccountingObjectSerializer.php(line - 358,function-deserialize)
/vendor/xeroapi/xero-php-oauth2/lib/Api/AccountingApi.php (line - 1303,function-deserialize)
it worked fine first but now this issue started coming up.
We have seen in the code that we do import only such transactions which types are 'RECEIVE', 'RECEIVE-OVERPAYMENT', 'RECEIVE-PREPAYMENT', 'SPEND', 'SPEND-OVERPAYMENT', 'SPEND-PREPAYMENT'.
Is there a way to fix this error ?
Thanks
The text was updated successfully, but these errors were encountered: