Error message
Account xxx and house bank xxx is not a valid combination. Please select another G/L clearing account or check the bank account settings in SAP S/4HANA.Affected ERP integrations
SAP S/4HANA®
Cause
When exporting a payment, you may hit an error indicating that the selected clearing account and the house bank are not a valid combination in SAP S/4HANA.
SAP S/4HANA offers two approaches for organizing bank accounts:
Classic Bank Account Management stores bank accounts directly on the house bank master data, linked through a house bank ID and account ID. The accounts are tightly coupled to the house bank configuration in the Financial Accounting (FI) module.
Advanced Bank Account Management (BAM) treats bank accounts as standalone master data objects, independent of the house bank.
In the SAP S/4HANA connection wizard, Payhawk lets you set a clearing account per expense type - a G/L account used to post the payment journal entries. The wizard lists all accounts of type Cash and Balance Sheet.
If your organization uses the Classic Bank Account Management approach, selecting a Cash account can prodcuce this error during payment export, because that cash account is tied to a specific house bank and the resulting combination isn't valid.
Solution
The clearing account configuration is optional, so you can resolve this error by changing or removing the selected clearing account in your SAP S/4HANA integration settings:
Log in to the Payhawk Web Portal.
Open your SAP S/4HANA integration settings and go to the data mapping for the affected expense type, for example, Accounts payable > Bill expenses > Clearing account for bill payments.
Perform one of the following:
Select a clearing account of type Balance Sheet instead of a Cash account.
Leave the clearing account field empty. When no clearing account is set, payments export using the G/L account associated with the bank account mapped to your Payhawk balance.
Save your changes.

If the error persists, a financial administrator can review the house bank and bank account settings in SAP S/4HANA to confirm the account is valid for the relevant house bank.
Next steps
Once the clearing account is updated, go back to Payhawk and re-try the export:
Log in to the Payhawk Web Portal.
Go to the Expenses app.
Locate the pending expense and click Review to re-try the export.