Skip to main content
GET
/
admin
/
fiscal-groups
Listar fiscal_groups
curl --request GET \
  --url https://api.artisn.desarrollo-redbrand.com/api/admin/fiscal-groups \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "name": "<string>",
    "uf": "<string>",
    "taxRegime": "<string>",
    "stores": [
      {
        "store_id": "<string>",
        "store_name": "<string>"
      }
    ],
    "taxMatrix": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Lista ordenada por fecha de creación descendente

id
string<uuid>
externalId
string
name
string
uf
string
taxRegime
string
stores
object[]

Arreglo JSON persistido en fiscal_groups.stores. Debe incluir al menos un objeto con store_id para que findFiscalGroupByStoreId pueda resolver la tienda desde payload.store.id.

taxMatrix
object

Mapa código NCM → reglas (tax_matrix en BD). Claves típicamente numéricas de 8 dígitos (string). El motor usa taxMatrix[ncm] tras resolver el NCM del catálogo de producto.

createdAt
string<date-time>
updatedAt
string<date-time>