> ## 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.

# Status

Status represents a system or business event that needs to be recorded for compliance purposes.

## Schema ID

`https://gobl.org/draft-0/bill/status`

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Tax Regime | `$regime` | [tax.RegimeCode](https://docs.gobl.org/draft-0/tax/regime_code.md) | Country code that identifies the tax regime applicable to the document. It determines which country-specific tax rules, normalizations, and validations are applied. It may be determined automatically via normalization of a supplier or issuer tax identity country code. |
| Addons | `$addons` | [tax.AddonList](https://docs.gobl.org/draft-0/tax/addon_list.md) | Keys identifying the tax addons that apply special normalization, scenarios, and validation rules to the document. |
| UUID | `uuid` | string | Universally Unique Identifier. |
| Type | `type` | [cbc.Key](https://docs.gobl.org/draft-0/cbc/key.md) | Type of status being reported (e.g. "system" for internal events). |
| Issue Date | `issue_date` | [cal.Date](https://docs.gobl.org/draft-0/cal/date.md) | Date when the status is to be considered effective. |
| Issue Time | `issue_time` | [cal.Time](https://docs.gobl.org/draft-0/cal/time.md) | Time of day when the status was issued, for when extra precision is required. |
| Series | `series` | [cbc.Code](https://docs.gobl.org/draft-0/cbc/code.md) | Optional code to group related status events together. |
| Code | `code` | [cbc.Code](https://docs.gobl.org/draft-0/cbc/code.md) | Identifies the specific status event being reported. |
| Extensions | `ext` | [tax.Extensions](https://docs.gobl.org/draft-0/tax/extensions.md) | Additional structured data specific to the regime or addon. |
| Supplier | `supplier` | [org.Party](https://docs.gobl.org/draft-0/org/party.md) | Entity supplying the goods or services in the original transaction. |
| Customer | `customer` | [org.Party](https://docs.gobl.org/draft-0/org/party.md) | Optional recipient of the original goods or services. |
| Ordering | `ordering` | [bill.Ordering](https://docs.gobl.org/draft-0/bill/ordering.md) | Links to related documents and additional details about which parties may be involved in the transaction. |
| Lines | `lines` | array of [bill.StatusLine](https://docs.gobl.org/draft-0/bill/status_line.md) | Main payload of the message, describing the status of individual documents. |
| Notes | `notes` | array of [org.Note](https://docs.gobl.org/draft-0/org/note.md) | Notes for additional details about the event. |
| Meta | `meta` | [cbc.Meta](https://docs.gobl.org/draft-0/cbc/meta.md) | Unstructured data useful for internal tools. |

## Type Values

| Value | Description |
| - | - |
| `response` | A response to a document that has been submitted, often used in a two way communication between a customer and supplier. |
| `update` | Issued by the supplier or seller that will be shared with either the customer, a fifth-corner entity such as a government agency, or both. |
| `system` | A system event that is not directly related to a specific document but needs to be recorded for compliance purposes. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| `type` | <ul><li>Present</li></ul> | `GOBL-BILL-STATUS-01` Status type is required |
| `type` | <ul><li>One of \[response, update, system]</li></ul> | `GOBL-BILL-STATUS-02` Status type is not valid |
| `supplier` | <ul><li>Present</li></ul> | `GOBL-BILL-STATUS-03` Status supplier is required |
| `lines` | <ul><li>Present</li></ul> | `GOBL-BILL-STATUS-04` Status must have at least one line |


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