/ubl:Invoice/cac:PaymentMeans/cbc:PaymentMeansCode

Payment Means Payment Means Code

Context ID INV0778
Cardinality 1..1
Usage M

Description

A code signifying the type of this means of payment.

The means, expressed as code, for how a payment is expected to be or has been settled.

Polish KSeF FA(3) transactions use a specific set of payment means codes. These are supported in VRBL by prefixing the Polish code values with the prefix VRBL:PL:. Where possible these are declared as equivalent to a UNCL 4461 code value, and either format is supported in the Payment Means Type Code element.

Details

vrbl-invoice-pl-b2b-3p0

For AP invoices where the original FA(3) format does not provide a payment means code, the UNCL code ZZZ ("Mutually defined") is used as a generic placeholder. This ensures that associated payment details, such as the bank account and bank name, remain visible in VRBL.

Following codes are allowed:

VRBL UNCL 4461 Description
VRBL:PL:01 10 Cash
VRBL:PL:02 48, 54 Card
VRBL:PL:03 Voucher
VRBL:PL:04 20 Check
VRBL:PL:05 Credit/Loan
VRBL:PL:06 30, 58 Transfer
VRBL:PL:07 Mobile
ZZZ Mutually Defined

Example:

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:PaymentMeans>
        <cbc:PaymentMeansCode>VRBL:PL:02</cbc:PaymentMeansCode>
        <!-- Code omitted for clarity -->
    </cac:PaymentMeans>
    <!-- Code omitted for clarity -->
</ubl:Invoice>

Rules

Rule ID Error Message
VRBL-INV-PL-B2B-3-53 The value of the Payment Means Payment Means Code must be contained in UNCL 4461 [VRBL-CL-PL-PaymentMeansCode] or be contained in Payment Means Code Extension [VRBL-CL-PL-PaymentMeansCode-Extension] (prefixed by 'VRBL:PL:'). Allowed values: 10, 20, 30, 48, 54, 58, ZZZ or VRBL:PL:01, VRBL:PL:02, VRBL:PL:03, VRBL:PL:04, VRBL:PL:05, VRBL:PL:06, VRBL:PL:07.