# Tags

Your own words (a site, an event, a customer) to group invoices and purchase orders; an invoice carries up to 10.

The guide, step by step: https://fiscalisto.com/en/docs/api/etiquetas.md

## Endpoints

- [Create a tag](https://fiscalisto.com/en/docs/api/referencia/etiquetas/create-tag.md): `POST /v1/tags`
- [List tags](https://fiscalisto.com/en/docs/api/referencia/etiquetas/list-tags.md): `GET /v1/tags`
- [Get a tag](https://fiscalisto.com/en/docs/api/referencia/etiquetas/get-tag.md): `GET /v1/tags/{id}`
- [Update a tag](https://fiscalisto.com/en/docs/api/referencia/etiquetas/update-tag.md): `POST /v1/tags/{id}`
- [Delete a tag](https://fiscalisto.com/en/docs/api/referencia/etiquetas/delete-tag.md): `DELETE /v1/tags/{id}`

## The Tag object

An issuer's tag: a word of your own to group invoices and purchase orders.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"tag"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The tag's issuer. |
| `name` | string | yes | What your team calls it, for example «Obra Norte». |
| `color` | `info`, `positive`, `warning`, `critical`, `muted` | yes | Its color: info, positive, warning, critical or muted. |
| `purchase_orders` | integer | yes | How many purchase orders carry it. (from -9007199254740991 to 9007199254740991) |
| `invoices` | integer | yes | How many invoices carry it, issued and received. (from -9007199254740991 to 9007199254740991) |
| `created_at` | string (date-time) or null | yes | When it was created. |

Example:

```json
{
  "id": "tag_OufpKqnrvx9p1",
  "object": "tag",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "name": "Obra Norte",
  "color": "info",
  "purchase_orders": 3,
  "invoices": 18,
  "created_at": "2026-11-01T09:12:00-06:00"
}
```
