In order for a Bill or Credit to be successfully sent through to your QuickBooks (QB) accounting platform, each line of the invoice must have an associated GL Code. These GL Codes must match exactly the way it is listed in QuickBooks. In the event that they do not match, when Syncing, the Bill/Credit will return to Books indicating Failed - No Account. This indicates that one of the GL Codes on the Bill/Credit no longer matches a GL Code in your Quickbooks.
To resolve this you should Unapprove the Bill/Credit and you will see that one or more lines now has "Unassigned" for the GL Account column. Assign the line to the correct GL Code, click Approve, and Sync to Accounting.