Skip to main content
Condition provides a more formal structure for describing with a specific code what has been unacceptable about the source document, including potentially references to the fields causing issues.

Schema ID

https://gobl.org/draft-0/bill/status#/$defs/Condition

Properties

TitlePropertyTypeDescription
Codecodecbc.CodeCode is generated by the system that raised the condition.
Pathspathsarray of stringPaths contains an array of JSON paths that maps the GOBL specific error to a field inside the envelope that the condition is applied to.
MessagemessagestringMessage contains human readable details about the specific condition.

Validation Rules

FieldTestValidation Code / Message
code
  • Present
GOBL-BILL-CONDITION-01
Condition code is required