# ibr-119

Source: https://xmlvalid.com/rules/ibr-119

> A time MUST be formatted hh:mm:ss with optional fractional seconds .sss and time zone expression (ibt-168).

- Level: error
- Rule sets: PINT Billing rules 1.1.3, PINT Billing rules (as shipped with PINT AE) 1.0.4
- Context: `//*[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2' and ends-with(local-name(), 'Time')]`
- Test: `(string(.) castable as xs:time)`

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