One moment please...
 
 
Exact Globe+   
 

PU 508 | 507 (Globe+): Align JPK_VDEK reported invoice numbers with official KSeF references (Polish legislation)

Previously, the JPK_VDEK report derived the sales and purchase document numbers from the internal invoice references (OurRef or YourRef) maintained in VAT transactions. When these internal references differed from the invoice number registered in KSeF, discrepancies could occur between the invoice number reported in JPK reports and the official invoice number stored in KSeF.

In this product update, the reporting logic has been enhanced to use the NextInvoiceNumber value as the invoice reference for invoices associated with valid KSeF record. This ensures that invoice numbers reported in JPK_V7 or JPK_VDEK correspond to the officially registered KSeF invoice numbers, improving traceability and consistency between Exact Globe+, KSeF, and VAT reporting processes.

The JPK_VDEK report generation logic has been updated for the following fields:

  • DowodSprzedazy (Sales document number)
  • DowodZakupu (Purchase document number)

For invoices linked to a KSeF record with a valid KSeF ID, these fields will be populated using the value stored in the NextInvoiceNumber column. This value originates from the P_2 field of the KSeF invoice XML and represents the official invoice number registered in KSeF.

For invoices that are not associated with a KSeF record, the existing behaviour remains unchanged. DowodSprzedazy and DowodZakupu will continue to be populated using the invoice reference from the VAT transaction (OurRef or YourRef).

     
 Main Category: Attachments & notes  Document Type: Release notes detail
 Category:  Security  level: All - 0
 Sub category:  Document ID: 33.285.474
 Assortment:  Date: 18-09-2026
 Release:  Attachment:
 Disclaimer