PL_JPK_KR_PD - Kontrahent Fields and Default Mapping

PL_JPK_KR_PD - Kontrahent Fields and Default Mapping


This section outlines the Kontrahent (Counterparty) node of the JPK_KR_PD XML structure. It contains key information about customers and vendors involved in transactions during the reporting period - such as counterparty code, country code and tax identification number. These details are required to correctly report all counterparties to the Polish tax authority and ensure transparency of all accounting entries related to external entities.

All information is sourced from the customer and vendor records in NetSuite, based on the transactions included in the report.

The data is extracted from customer saved search and vendor saved search based on the transactions included in the reporting period. The saved searches are defined in the Poland Localization Settings → JPK_KR_PD → JPK_KR_PD Counterparty Saved Search. The default saved searches are:

  1. PL Counterparty - Customer Search

  2. PL Counterparty - Vendor Search

XML Field

XML Field Description

PL Counterparty - Customer Search

Formula Description

PL Counterparty - Vendor Search

XML Field

XML Field Description

PL Counterparty - Customer Search

Formula Description

PL Counterparty - Vendor Search

T_1 

Counterparty code which enables unique identification of an

undertaking in the financial and accounting system of the entity

– character field (up to 256 characters)

Internal ID

 

Internal ID

T_2

Code of the country where the counterparty’s tax identification number has been assigned (optional field). A two-letter code of the country where the counterparty’s tax identification number has been assigned should be provided. If there is no country code, the field is left empty.

Formula (Text) REGEXP_SUBSTR({vatregnumber}, '^[A-Za-z]+')

This formula extracts the prefix letters at the start of the VAT Registration Number - typically the country code, e.g., "PL" for Poland.

Formula (Text) REGEXP_SUBSTR({vatregnumber}, '^[A-Za-z]+')

T_3

Tax identification number of the counterparty (optional field).

Provide the number which enables identification of the

counterparty, without the letter country code. The filing should

specify counterparties with which business transactions were

executed in the period for which JPK_KR_PD is filed.

Formula (Text) REGEXP_SUBSTR({vatregnumber}, '^[A-Za-z]+(.+)$', 1, 1, NULL, 1)

This extracts everything after the country code — typically the numeric VAT number itself.

Formula (Text) REGEXP_SUBSTR({vatregnumber}, '^[A-Za-z]+(.+)$', 1, 1, NULL, 1)

©2024 Staria. All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.