Documentation Index

Fetch the complete documentation index at: https://payhawk.document360.io/llms.txt

Use this file to discover all available pages before exploring further.

Still waiting weeks after close for invoices? Agent Fetch finds them automatically. | Learn more

Tax statement item missing for tax code [Tax Code]. Check tax settings on SAP S/4HANA.

Prev Next

Error message

Tax statement item missing for tax code [Tax Code]. Check tax settings on SAP S/4HANA.

Affected ERP integrations

  • SAP S/4HANA®

Cause

When exporting an expense, you may hit an error indicating that a tax statement item is missing for the tax code applied to the transaction.

Whenever an expense includes tax, SAP S/4HANA separates the base expense amount from the tax amount. To do this successfully, SAP S/4HANA relies on automatic posting rules to know exactly which tax G/L account the tax portion should go into. This error means that while SAP S/4HANA recognizes the tax code sent from Payhawk, it doesn't have a background rule configuration telling it which G/L account to use for that specific tax code.

Solution

Before making updates in your ERP, check the tax information on the expense itself:

  1. Log in to the Payhawk Web Portal.

  2. Navigate to the Expenses app.

  3. Open the affected expense by clicking on it and review the selected Tax Rate or Tax Code.

  4. Verify if it is the correct tax rate for this transaction. If an incorrect tax code was selected by mistake, changing it to the proper one may resolve the issue immediately.

If the tax code is correct, a financial administrator needs to complete the tax account determination setup within SAP S/4HANA.

SAP S/4HANA Public Cloud Edition

To resolve the issue in SAP S/4HANA Public Cloud Edition:

  1. Log into your SAP Central Business Configuration (CBC) or open the Manage Your Solution app.

  2. Search for the configuration step called Automatic Account Determination (or Define Tax Accounts).

  3. Select the transaction key used for input tax, typically VST for purchase/expense taxes.

  4. Look up your Chart of Accounts and ensure the specific tax code mentioned in the error is explicitly mapped to a valid tax G/L account.

  5. Save your configuration changes.

SAP S/4HANA Private Cloud Edition

To resolve the issue in SAP S/4HANA Private Cloud Edition:

  1. Run transaction code OB40 (Maintain FI Configuration: Automatic Postings).

  2. Locate and double-click the relevant tax transaction key, most commonly VST for Input Tax.

  3. Enter your Chart of Accounts and press Enter.

  4. Click on Rules to ensure that mapping by Tax Code is checked if you use separate accounts per tax code.

  5. Go to the Accounts assignment tab, locate the tax code from your error, and assign the appropriate tax G/L account to it.

  6. Click Save and add the changes to a transport request.

Next steps

Once the tax code has been properly mapped to a G/L account in SAP S/4HANA, go back to Payhawk and follow the steps:

  1. Log in to the Payhawk Web Portal.

  2. Go to the Expenses app.

  3. Locate the pending expense and click Review to re-try the export.