HR-BR-56
The rule sets below word this rule differently; each wording is shown with its rule set.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:TaxTotal/cac:TaxSubtotal
u:check3010(cac:TaxCategory/cbc:Percent)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
/ubl-invoice:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /ubl-creditnote:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
u:check3010(cac:TaxCategory/cbc:Percent)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
/ubl-invoice:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /ubl-creditnote:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
u:check3010(cac:TaxCategory/cbc:Percent)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:InvoiceLine | cac:CreditNoteLine
u:check3010($quantity)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:InvoiceLine | cac:CreditNoteLine
u:check3010(cac:Item/cac:ClassifiedTaxCategory/cbc:Percent)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:Price
u:check3010(cbc:PriceAmount)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:Price
u:check3010(cac:AllowanceCharge/cbc:Amount)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:Price
u:check3010(cac:AllowanceCharge/cbc:BaseAmount)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
cac:Price
u:check3010(cbc:BaseQuantity)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
Cijene artikla (BT-146, BT-147, BT-148), stope PDV (BT-119, BT-96, BT-103, BT-152, HR-BT-19), količine (BT-129, BT-149) ne smiju imati više od 10 decimala i 30 znamenki
ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/hrextac:HRFISK20Data/hrextac:HRTaxTotal/hrextac:HRTaxSubtotal
u:check3010(hrextac:HRTaxCategory/cbc:Percent)
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)