S/4HANA

Line item coding for S/4HANA

Short answer

S/4HANA has line item coding built in. Pulsify reads each line and suggests its G/L account and tax code from how that supplier was coded before.

Last checked

Line item coding means giving every line on a supplier bill its own G/L account, tax code and tracking, not one code for the whole bill.

What S/4HANA does on its own

Each line of a supplier invoice carries its own account assignment. For an invoice with no PO you add G/L account items with an account, amount, tax code and an accounting object such as a cost centre, WBS element or order. For a PO invoice the accounts come from the PO.

What you need in S/4HANA

  • Authorisation for Manage Supplier Invoices (F0859) or Enter Invoice (MIRO)

Setting it up in S/4HANA

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

  1. Open Create Supplier Invoice and fill in the General Information.
  2. In G/L Account Items choose Add for each account.
  3. Enter the G/L account, Amount, Tax Code and an accounting object on each item.
  4. Choose Check or Simulate to see the account movements.
  5. Choose Post, or Hold if someone else will finish it.

Good to know in S/4HANA

  • Fields such as Tax Code and cost centre show only if the G/L account master allows them.
  • The supplier master does not hold a default expense account for non-PO invoices. The reconciliation account and payment terms sit there.
  • Posted invoice lines cannot be edited for account in most cases. The usual fix is to reverse and post again.

How to do it in S/4HANA

How to enter a supplier invoice with line items in S/4HANA

In S/4HANA, open a new supplier invoice, pick the supplier, add one line per invoice row with an G/L account and tax code, then check the total matches the invoice.

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.

How to code a supplier invoice with mixed GST lines in S/4HANA

In S/4HANA, set the tax code on each line of the supplier invoice. Use the GST code for taxable lines and the GST-free code for others, then check the GST total matches the invoice.

What Pulsify adds

  1. Pulsify reads each invoice into individual line items.
  2. Each line gets its own account and its own tax code.
  3. The account comes from how that supplier's past bills were coded. The tax code comes from the rate printed on the line.
  4. You check every value on an editable review screen before approval.
  5. Bulk edit sets the account and tracking on every line of one invoice, or on many invoices at once.

Pulsify connects to S/4HANA. We set up the connection for you. More about line item coding in Pulsify.

What Pulsify does not do

  • Pulsify aims for 99% accuracy on account and tax coding per line. You still review before approval.
  • Splits are by line amount. There are no percentage splits.

More help

Sources

Last checked 2026-10-19.

Common questions

Can I split one S/4HANA supplier invoice over several cost centres?

Yes. Add one G/L account item for each split and give each item its own amount, tax code and accounting object such as a cost centre. The invoice posts when the items add up to the gross amount.

Does S/4HANA remember the expense account for a supplier?

The supplier master holds the reconciliation account and payment terms. It does not hold a default expense account for non-PO invoices. For repeat invoices SAP offers a recurring entry or an invoice template.

How do I fix a wrong account after posting?

Posted lines cannot be edited for account in most cases. Reverse the invoice and post it again with the right account. Some releases offer a reassignment app for cost centre changes.

Do I need to set up coding rules?

No. Pulsify learns from how your team coded past invoices for each supplier. A coding note in the forwarding email is followed first.

Pulsify setup guides

Want this done for you?

Book a call to see how Pulsify handles line item coding in S/4HANA.