Skip to main content
Tax & ERP guide

Building tax-compliant ERP for Indonesia

What Coretax DJP, PMK 131/2024 and PER-11/PJ/2025 mean for the code: tax IDs, PPN calculation, invoice numbering, XML export, import costs and audit trails, each traced to the rule that sets it. Then the article to read for the job in front of you.

By Matthews WongResearched on

Key takeaway

Since 1 January 2025 Indonesian tax invoices run through Coretax DJP. A compliant ERP stores NPWP and NITKU as fixed-length strings, charges PPN at 12% of a DPP Nilai Lain of 11/12 for non-luxury goods, rounds to whole rupiah, exports DJP's XML templates, and leaves the 17-digit invoice number empty until DJP approves the e-Faktur.

Overview

What you need to know

Coretax replaced the old toolchain on 1 January 2025

DJP put Coretax DJP into service on 1 January 2025; its statement of 10 January admits the launch was rough, and at that point XML uploads were capped at 100 invoices per submission. Under PER-11/PJ/2025 a Faktur Pajak is an electronic document, signed electronically, made in the Portal Wajib Pajak or in an application integrated with DJP's system, which in practice means a PJAP, a tax application provider appointed by DJP.

The desktop client did not vanish. Under KEP-54/PJ/2025, from 12 February 2025 every PKP may create normal invoices in e-Faktur Client Desktop, except for transaction codes 06 and 07, PKPs that centralise VAT at a branch, and PKPs registered after 1 January 2025. Returns, cancellations and the SPT Masa PPN stay in Coretax, where desktop invoices appear within two days. Treat Coretax as the record and reconcile against it.

Tax IDs: NIK, the 16-digit NPWP and NITKU

Since 1 July 2024 DJP's services use the NIK as the NPWP for resident individuals, a 16-digit NPWP, and a NITKU for each place of business; other parties could keep the 15-digit NPWP until 31 December 2024. DJP's FAQ defines the NITKU as 22 digits: the head office's 16-digit NPWP plus a 6-digit sequence, with the head office's own ending in 000000. A NITKU marks a location; tax obligations stay with the NPWP.

So store fixed-length digit strings, never integers: a leading zero lost in a JSON round-trip corrupts the ID. On the invoice, PER-11/PJ/2025 asks for the buyer's NPWP if it is a domestic company or government body, the NPWP or NIK for a resident individual, and a passport number for a foreign individual. DJP's XML templates added the NITKU and validate NPWP and NITKU values, so a malformed ID is rejected.

PPN: what the tax engine has to encode

PMK 131/2024 sets PPN at 12% from 1 January 2025 on two bases. For luxury goods, meaning motor vehicles and other goods subject to PPnBM, the base is the full selling price or import value. For everything else it is DPP Nilai Lain, 11/12 of the import value, selling price or replacement value, so the tax comes to 11% of the price. PMK 11/2025, in force from 4 February 2025, moved the special nilai lain and fixed-amount schemes onto the same 12% × 11/12 form.

PER-11/PJ/2025 settles the rest. A Faktur Pajak is made at delivery, at payment if that comes first, or at each progress payment; a Faktur Pajak gabungan may cover one buyer for a calendar month, made by its end. Foreign-currency PPN is converted at the Minister of Finance rate in force when the invoice should have been made. DPP and PPN are whole rupiah, below 0.50 rounding down and 0.50 or more up. Store DPP, DPP Nilai Lain and PPN as separate integer fields, with the rate and coefficient read from effective-dated data.

Invoice numbers, approval and XML export

The 17-digit number is a 2-digit transaction code, a 2-digit status code and a 13-digit serial that DJP assigns when the e-Faktur is uploaded and approved. Upload and approval must happen by the 20th of the month after the invoice date; an unapproved e-Faktur is not a Faktur Pajak. Since the number does not exist at draft time, model the invoice as a state machine (draft, uploaded, approved, replaced, cancelled). Desktop invoices gain a 9 at the fifth digit in Coretax, so keep both forms.

Bulk import is XML. DJP's template page lists what changed from the old CSV files and versions each converter; the output-invoice converter was at v1.6, dated 23 January 2026, on the research date. Pin the template version your serialiser targets and validate before upload. Since 1 October 2026, PER-12/PJ/2026 makes each SPT correction replace the previous return and blocks a normal SPT Masa PPN while the prior period's is missing, unless that period is under audit. Build each period as a complete snapshot.

Imports: bea masuk, PPN impor and PPh 22

Bea masuk is charged on the CIF value at the rate for the goods' tariff line in PMK 26/PMK.010/2022, the customs tariff book, as amended. The import value used by the import taxes is CIF plus bea masuk and other customs levies. PPN impor on non-luxury goods is 12% of 11/12 of that value, and PMK 131/2024 lets it be credited as input tax under the tax rules.

PPh Pasal 22 on imports is collected by customs (DJBC) or a foreign-exchange bank under PMK 51/2025, in force since 1 August 2025: 2.5% of the import value with an API (importer identification number), 7.5% without, 10% or 7.5% for listed goods regardless of API, 0.5% for soybeans, wheat and flour with an API, and 0.25% for gold bars. It is not final; it counts toward that year's income tax. So a landed-cost engine puts freight, insurance and bea masuk into inventory cost, PPN impor into input VAT and PPh 22 into prepaid tax.

Inventory, audit trail and the shape of the ERP

UU KUP Article 28(11) requires books, records and their source documents, including electronically processed data, to be kept for 10 years in Indonesia. Design retention around that: keep the exact XML you submitted and DJP's response with each invoice, keep stock opname count sheets and variance approvals, and make posted journals append-only, corrected by reversals.

The rest is architecture. Keep tax as its own module with an effective-dated table of rates, coefficients and transaction codes, so a regulation change is a data change. Hold money as integer rupiah, rounding where PER-11 says to. Derive invoices from deliveries, which follows PER-11's default timing. Count stock against a frozen snapshot with a second person approving variances, and give multi-entity groups a company and NITKU dimension on every document.

At a glance

The comparison in one table

What changed for the ERP, and what to change in code
Taxpayer ID15-digit NPWP, and a separate NPWP for each branchFrom 1 July 2024: NIK as NPWP for resident individuals, a 16-digit NPWP, and a 22-digit NITKU per place of businessStore IDs as fixed-length digit strings, add a NITKU per location, validate length at entry
Invoice number16-digit number; NSFP requested in advance through e-Nofa17 digits: 2 transaction code, 2 status code, 13 serial; the serial is assigned when the e-Faktur is uploaded and approvedDrop the number pool, keep the number empty until approval, store both forms for desktop-era invoices
Bulk importCSV filesXML built to DJP's templates, which add the NITKU and validate NPWP, NITKU, tax object codes and tax ratesWrite an XML serialiser per template version and validate before upload
PPN baseRate × selling price or replacement value, the DPP the VAT law defines12% × selling price for PPnBM goods; 12% × 11/12 of it (DPP Nilai Lain) for everything elseStore DPP, DPP Nilai Lain and PPN as separate fields; keep rate and coefficient as effective-dated data
Issuing channelLegacy e-Faktur applicationsCoretax portal, a PJAP host-to-host link, or e-Faktur Client Desktop for normal invoices since 12 February 2025; returns, cancellations and SPT Masa PPN only in CoretaxTreat Coretax as the source of truth and reconcile desktop invoices, which arrive within two days
SPT Masa PPN correctionsA correction reported the difference against the earlier returnFrom 1 October 2026 each correction replaces the previous return, and returns are filed in period orderBuild each period as a full snapshot and block out-of-order filing
State of play on 12 October 2026. Each row traces to the timeline and sources on this page. DJP revises its XML templates and converters, so record which version every export was built against.
Timeline

Timeline

The dated changes a developer had to act on, oldest first, each linked to its official source.

  1. NIK as NPWP, the 16-digit NPWP and NITKU enter DJP services

    Tax ID columns move to 16-digit strings plus a 22-digit NITKU per location. Other parties could keep the 15-digit NPWP until 31 December 2024 if their systems were not ready.

    Source:DJP announcement PENG-26/PJ.09/2024 on using the NPWP and NITKU (pajak.go.id)
  2. Coretax DJP goes live

    Tax invoices are created and signed in Coretax. At launch it accepted XML uploads of up to 100 invoices per submission, and DJP's first fixes included company role access (impersonation) and a PIC for invoicing.

    Source:DJP written statement KT-02/2025 on the Coretax implementation
  3. PMK 131/2024: PPN at 12%, on DPP Nilai Lain of 11/12 for non-luxury goods

    The tax engine needs two bases: the full price for PPnBM goods and 11/12 of it for everything else. For luxury goods sold to end consumers, the 11/12 base applied through January 2025 and the full base from 1 February 2025.

    Source:Kemenkeu JDIH: PMK No. 131 Tahun 2024 on PPN treatment
  4. PMK 11/2025 consolidates DPP Nilai Lain and fixed-amount PPN

    Special bases that sat in separate regulations now use 12% × 11/12 × DPP, or a set formula × 12% × 11/12 × DPP. Each special case is a row in the rate table, not a code path.

    Source:DJP press release SP-4/2025 on PMK-11/2025
  5. KEP-54/PJ/2025 reopens e-Faktur Client Desktop to every PKP

    Normal invoices may come from the desktop client, with exclusions; their numbers gain a 9 at the fifth digit in Coretax. Returns, cancellations and the SPT Masa PPN stay in Coretax.

    Source:DJP announcement PENG-13/PJ.09/2025 on tax invoices via e-Faktur Client Desktop
  6. PER-1/PJ/2025 transition ends

    From 1 January to 31 March 2025, non-luxury invoices showing 11% or 12% of the selling price were treated as correct. After that, invoices had to show 12% × 11/12 × selling price; an overcharged buyer could ask for the 1% back through a replacement invoice.

    Source:DJP written statement KT-01/2025 on PER-1/PJ/2025
  7. PER-11/PJ/2025 sets tax invoice rules for Coretax

    17-digit code and serial, the serial assigned on approval, upload and approval by the 20th of the following month, and whole-rupiah rounding with 0.50 rounding up.

    Source:DJP: full text of PER-11/PJ/2025 (pajak.go.id)
  8. PMK 51/2025 resets PPh Pasal 22 collection, including on imports

    Import PPh 22 is 2.5% of import value with an API and 7.5% without, with fixed rates for listed goods. It is not final, so post it to prepaid income tax rather than inventory.

    Source:PMK No. 51 Tahun 2025, full text (copy hosted by Klikpajak)
  9. DJP updates the output-invoice XML converter to v1.6

    The converter and templates are versioned and keep changing. Record the template version each export targets, and re-test the serialiser when DJP publishes a new one.

    Source:DJP: Template XML dan Converter Excel ke XML (pajak.go.id)
  10. PER-12/PJ/2026: SPT corrections replace, returns go in order

    Each SPT correction now replaces the previous return, and a normal SPT Masa PPN cannot be filed while the prior period's is missing unless that period is under audit. VAT return exports become full-period snapshots.

    Source:DJP briefing on PER-12/PJ/2026, amending PER-11/PJ/2025 (pajak.go.id)
Every dated change across the guide, in one timeline

These rules keep changing.

Add matthewswong.com as a preferred source, and when you search Google for Tax & ERP news, my updates show up more often in Top Stories.

Add as a preferred sourceon Google
Articles · 17

Go deeper: the articles behind this guide

Each one is a hands-on write-up of a problem I worked through. Start with the one that matches where you are.

Tax integration

Imports, inventory and entities

Architecture and money

FAQ

Frequently asked questions

Short answers, consistent with the sources on this page as of the research date.

When did Coretax replace e-Faktur in Indonesia?

DJP put Coretax DJP into service on 1 January 2025. From 12 February 2025, KEP-54/PJ/2025 let every PKP create normal tax invoices in e-Faktur Client Desktop again, with exclusions, while returns, cancellations and the SPT Masa PPN go through Coretax. Invoices can be made in the Coretax portal, through a PJAP integrated with Coretax, or in the desktop client.

How is PPN 12% calculated with DPP Nilai Lain?

Under PMK 131/2024, goods and services other than luxury goods are taxed at 12% of a DPP Nilai Lain equal to 11/12 of the selling price, import value or replacement value, which works out at 11% of the price. Luxury goods subject to PPnBM are taxed at 12% of the full price or import value. For a Rp50,000,000 sale of non-luxury goods, the DPP Nilai Lain rounds to Rp45,833,333 and the PPN to Rp5,500,000, because PER-11/PJ/2025 rounds to whole rupiah with 0.50 rounding up.

How many digits is a Faktur Pajak number in Coretax?

Seventeen. PER-11/PJ/2025 splits it into a 2-digit transaction code, a 2-digit status code and a 13-digit serial that DJP assigns automatically when the e-Faktur is uploaded and approved. Invoices made in e-Faktur Client Desktop get a 9 inserted at the fifth digit of their original number when they appear in Coretax.

What is the deadline to upload an e-Faktur to Coretax?

PER-11/PJ/2025 requires an e-Faktur to be uploaded and approved by DJP no later than the 20th of the month after its creation date. An e-Faktur that is not approved is not a Faktur Pajak. The invoice itself is due at delivery, when payment arrives before delivery, or at each progress payment.

How are PPN impor and PPh 22 impor calculated?

The import value is the CIF value plus bea masuk and other customs levies. PPN impor on non-luxury goods is 12% of 11/12 of that import value under PMK 131/2024. Under PMK 51/2025, PPh Pasal 22 on imports is 2.5% of the import value for importers with an API and 7.5% without, with set rates for listed goods; it is not final and counts toward that year's income tax.

Sources

Primary sources checked on the research date. Follow them for the current version.

Building software for Indonesia

More from the Indonesia guide

The other hubs, the reference pages and the calculators in this section.