> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gobl.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Fault

Fault 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/fault`

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Code | `code` | [cbc.Code](https://docs.gobl.org/draft-0/cbc/code.md) | Code or business term provided by the system that raised the condition. These should be searchable in order to help users or systems understand what went wrong with the document. |
| Message | `message` | string | Human readable details about the specific condition. |
| Paths | `paths` | array of string | JSON paths that map the GOBL specific error to the fields inside the envelope that the condition applies to. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| `code` | <ul><li>Present</li></ul> | `GOBL-BILL-FAULT-01` Fault code is required |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.