# How to code one supplier invoice to several G/L account codes in S/4HANA

In S/4HANA, add a line for each type of cost on the supplier invoice. Set a different G/L account and tax code on each line, then check the total matches the invoice.

Coding one bill to several accounts means each line of a supplier invoice goes to the expense or asset account that matches what was bought.

## Before you start

- Accounts payable authorisation

## The S/4HANA way

Where to find it: Manage Supplier Invoices (F0859) > Create Supplier Invoice > G/L Account Items > Add

1. Choose Add in G/L Account Items for each account.
2. Enter the G/L account, Amount, Tax Code and accounting object on each item.
3. Choose Check, then Post.

## Limits in S/4HANA

- Fields such as Tax Code and cost centre show only if the G/L account master allows them.

## The Pulsify way

1. Forward the supplier's invoice to your Pulsify address or upload it. Pulsify reads every line and finds the supplier in S/4HANA.
2. Pulsify suggests an account for each line from past bills for that supplier. Each line gets its own account and tax code.
3. Check the suggestions in Pulsify, change any that are wrong and approve.
4. The supplier invoice is created in S/4HANA with the right account on every line.

Pulsify connects to S/4HANA. We set up the connection for you.

What Pulsify does not do here:

- Pulsify can only pick from the accounts that exist in S/4HANA.

## Common mistakes

- Expecting a Tax Code or cost centre field on an account whose master record does not allow it.
- Posting without choosing Check first.

## Common questions

### How do I add more accounts to a supplier invoice?

Choose Add in G/L Account Items for each account. Enter the G/L account, Amount, Tax Code and accounting object on each item.

### Why can I not see Tax Code or cost centre on an item?

Fields such as Tax Code and cost centre show only if the G/L account master allows them.

### What should I do before I post?

Choose Check, then Post. You need accounts payable authorisation.

### Does Pulsify learn how I code?

Yes. Pulsify suggests an account for each line from how that supplier was coded on past bills. You can change any suggestion.

## Sources

- https://help.sap.com/docs/SAP_S4HANA_CLOUD/0e602d466b99490187fcbb30d1dc897c/6477415e495f4025a7c8774db864a492.html
- https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/af9ef57f504840d2b81be8667206d485/4e246b54f94c8f4ce10000000a4450e5.html

Source: https://www.pulsify.tech/how-to/code-one-bill-to-several-accounts-in-sap-s4hana/ (last checked 2026-10-19)
