# HR-BR-56

Source: https://xmlvalid.com/rules/HR-BR-56

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:TaxTotal/cac:TaxSubtotal`
- Test: `u:check3010(cac:TaxCategory/cbc:Percent)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `/ubl-invoice:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /ubl-creditnote:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]`
- Test: `u:check3010(cac:TaxCategory/cbc:Percent)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `/ubl-invoice:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /ubl-creditnote:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]`
- Test: `u:check3010(cac:TaxCategory/cbc:Percent)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:InvoiceLine | cac:CreditNoteLine`
- Test: `u:check3010($quantity)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:InvoiceLine | cac:CreditNoteLine`
- Test: `u:check3010(cac:Item/cac:ClassifiedTaxCategory/cbc:Percent)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:Price`
- Test: `u:check3010(cbc:PriceAmount)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:Price`
- Test: `u:check3010(cac:AllowanceCharge/cbc:Amount)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:Price`
- Test: `u:check3010(cac:AllowanceCharge/cbc:BaseAmount)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `cac:Price`
- Test: `u:check3010(cbc:BaseQuantity)`

> 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

- Level: error
- Rule sets: Croatian eRačun rules (UBL) 13.03.2026
- Context: `ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/hrextac:HRFISK20Data/hrextac:HRTaxTotal/hrextac:HRTaxSubtotal`
- Test: `u:check3010(hrextac:HRTaxCategory/cbc:Percent)`

In English: Item prices (BT-146, BT-147, BT-148), VAT rates (BT-119, BT-96, BT-103, BT-152, HR-BT-19) and quantities (BT-129, BT-149) must not have more than 10 decimals or 30 digits.

Validate a document against these rules: https://xmlvalid.com/validate
