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

# Order schema

> The bill/order schema and its type values, covering purchase orders, sales orders and quotes.

[`bill/order`](https://docs.gobl.org/draft-0/bill/order) covers the opening part of an order-to-invoice process, where a buyer requests goods or services from a seller. It handles the request and confirmation stages before an invoice exists.

Orders carry the [shared billing properties](/console/doc-schemas#shared-properties) alongside the type values below.

## Types

Invopop defaults to `purchase` when no type is given.

| Type       | Meaning                                                                    |
| ---------- | -------------------------------------------------------------------------- |
| `purchase` | A purchase order sent by a buyer to a seller requesting goods or services. |
| `sale`     | A sales order sent by a seller to a buyer confirming the sale.             |
| `quote`    | A quote sent by a seller to a buyer giving a price for goods or services.  |

## Regime requirements

Orders are reported to the tax authority under Portugal's SAF-T regime, where the series name must carry the document type prefix the AT expects.

## Related resources

|         |                                                                                                                                       |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| Apps    | <Icon icon="book" /> [Portugal AT](/apps/at-portugal)                                                                                 |
| Console | <Icon icon="book" /> [Create documents](/console/doc-create)<br /><Icon icon="book" /> [Document references](/console/doc-references) |
| GOBL    | <Icon icon="https://assets.invopop.com/icons/gobl.svg" /> [Order schema](https://docs.gobl.org/draft-0/bill/order)                    |
