Forum Discussion

jake11's avatar
4 years ago

Bank Account Number missing from Accounts API

Hi all,

 

When trying to use the API's for retrieving banking details at 'GeneralLedger/Account', the BankAccountNumber field will not be populated.

 

I am using the developer's sandbox account and I can receive the BSB and account name:

"BankingDetails": {
                "BSBNumber": "123-123",
                "BankAccountNumber": "",
                "BankAccountName": "SAMPLE ACCOUNT",
 
BankAccountNumber won't be populated. Greatly appreciate the help thanks.
  • Han-Solo's avatar
    Han-Solo
    MYOB Moderator

    Hi jake11

     

    Thanks for reaching out, I have tested this in my own sandbox using the endpoint GeneralLedger/Account and test details and this pulled via the API without any issues. 

     

    "BankingDetails": {
    "BSBNumber": "100-000",
    "BankAccountNumber": "123456",
    "BankAccountName": "API TEST",
    "TadingName": "API TEST",

     

    This would suggest to me that there might not be a bank account entered against this account. If you confirm the Sandbox file name and the Account Name I am happy to check the setup. 

     

    Thanks,