Skip to main content
Skip table of contents

Error: "API status code 422 account_type_group_id must belong to account type 'equity'" when migrating to AE/AO Ledger

This support note applies to:

  • AE MAS (AU)
  • AO Classic General Ledger (AU)
  • AE Accounts (AU)
Article ID: 38096

When attempting to migrate to MYOB Accountants Enterprise (AE) or Accountants Office (AO) Ledger you may experience that the Migration Status appears as FailedSelecting the View migration log will then display the error "Error API status code 422 account_type_group_id must belong to account type "xxxxxx'" .

This error appears when migrating from a MAS, Accounts or AO Classic General Ledger and can be caused by:

  • an incorrect system account being selected on the Migrate data window for that product's Chart of Accounts, or
  • the system accounts the migration is attempting to create is already present in the legacy ledger.

To resolve this issue, click Migrate data and check that the accounts used on the Migrate data window are correct using the tables below for the entity type and product Chart of Accounts selected.

If you have migrated a MAS ledger

MAS

Account Codes

System Account

Company

Partnership

Individual

Trust Other

Unit Trust

Association

Super Fund

GST Collected

892

892

892

892

892

892

892

GST Paid

891

891

891

891

891

891

891

Retained earnings

638

50100

50100

50001

50001

638

55001

Current Year Earnings

639

50102

50102

50002

50002

639

55002

Allocate Me (Withdrawal)

96801

96801

96801

96801

96801

96801

96801

Allocate me (deposit)

96802

96802

96802

96802

96802

96802

96802

Historical Balancing

96803

96803

96803

96803

96803

96803

96803

If you have migrated an Accounts ledger

Accounts

Account Codes

System Account

Company

Partnership

Individual

Trust Other

Unit Trust

Association

Super Fund

GST Collected

940

940

940

940

940

940

940

GST Paid

892

892

892

892

892

892

892

Retained earnings

528

1.585

1.585

528

528

528

528

Current Year Earnings

1000

1.590

1.590

1000

1000

1000

1000

Allocate Me (Withdrawal)

998-01

998-01

998-01

998-01

998-01

998-01

998-01

Allocate me (deposit)

998-02

998-02

998-02

998-02

998-02

998-02

998-02

Historical Balancing

998-03

998-03

998-03

998-03

998-03

998-03

998-03

If you have migrated an AO General Ledger

AO Classic GL

Account Codes

System Account

Company

Partnership

Individual

Trust Other

Unit Trust

Association

Super Fund

GST Collected

908/01

908/01

908/01

908/01

908/01

908/01

908/01

GST Paid

908/02

908/02

908/02

908/02

908/02

908/02

908/02

Retained earnings

638

501/00

501/00

500/01

500/01

638

550/01

Current Year Earnings

639

501/02

501/02

500/02

500/02

639

550/02

Allocate Me (Withdrawal)

968/01

968/01

968/01

968/01

968/01

968/01

968/01

Allocate me (deposit)

968/02

968/02

968/02

968/02

968/02

968/02

968/02

Historical Balancing

968/03

968/03

968/03

968/03

968/03

968/03

968/03

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.