limit (integer, 1-100) - Number of results per page (default: 10)next (string) - Pagination cursor for next pageteam (string) - gigstack Connect: Target team ID{
"message": "Services retrieved successfully",
"data": [
{
"id": "service_1234567890",
"description": "Consulting services",
"sku": "CONS-001",
"product_key": "80141503",
"unit_key": "E48",
"unit_name": "Servicio",
"unit_price": 1000.0,
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"factor": "Tasa",
"withholding": false
}
],
"team": "team_1234567890",
"created_at": 1677651234
}
],
"has_more": false,
"total_results": 1
}{
"description": "Professional consulting services",
"sku": "CONS-001",
"product_key": "80141503",
"unit_key": "E48",
"unit_name": "Servicio",
"unit_price": 1500.0,
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"factor": "Tasa",
"base": "01",
"inclusive": false,
"withholding": false
}
]
}| Field | Type | Description | Example |
|---|---|---|---|
description | string | Service description | "Consulting services" |
sku | string | Stock Keeping Unit | "CONS-001" |
product_key | string | SAT product key (8 digits) | "80141503" |
unit_key | string | SAT unit key | "E48" |
unit_name | string | Unit display name | "Servicio" |
unit_price | number | Price per unit | 1000.00 |
taxes | array | Tax configuration | See Tax Configuration |
{
"type": "IVA", // Tax type: IVA, ISR, IEPS
"rate": 0.16, // Tax rate (0.16 = 16%)
"factor": "Tasa", // SAT factor type
"base": "01", // Tax base code
"inclusive": false, // If tax is included in price
"withholding": false // If this is a withholding tax
}{
"type": "IVA",
"rate": 0.16,
"factor": "Tasa",
"withholding": false
}{
"type": "ISR",
"rate": 0.1,
"factor": "Tasa",
"withholding": true
}{
"type": "IVA",
"rate": 0.0,
"factor": "Exento",
"withholding": false
}| Category | Product Key | Description |
|---|---|---|
| Consulting | 80141503 | Business consulting |
| Software | 81111500 | Software development |
| Web Services | 81112100 | Web hosting services |
| Training | 86101604 | Training services |
| Design | 82121500 | Graphic design |
| Marketing | 80141600 | Marketing services |
| Legal | 84111500 | Legal services |
| Accounting | 84111600 | Accounting services |
| Medical | 85121600 | Medical services |
| Construction | 72121400 | Construction services |
| Unit Key | Description | Use Case |
|---|---|---|
| E48 | Servicio | Services |
| H87 | Pieza | Individual pieces |
| EA | Elemento | Elements/Items |
| ACT | Actividad | Activities |
| MON | Mes | Monthly services |
| ANN | Año | Annual services |
| HUR | Hora | Hourly services |
| DAY | Día | Daily services |
| KGM | Kilogramo | Weight-based |
| MTR | Metro | Length-based |
{
"items": [
{
"search": {
"on_key": "sku",
"on_value": "CONS-001",
"auto_create": true
},
"description": "Consulting services",
"sku": "CONS-001",
"product_key": "80141503",
"unit_key": "E48",
"unit_price": 1000.0,
"quantity": 2,
"taxes": [
{
"type": "IVA",
"rate": 0.16
}
]
}
]
}{
"description": "Legal consultation - 1 hour",
"sku": "LEGAL-HR",
"product_key": "84111500",
"unit_key": "HUR",
"unit_name": "Hora",
"unit_price": 3000.0,
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"withholding": false
},
{
"type": "ISR",
"rate": 0.1,
"withholding": true
}
]
}{
"description": "Laptop Computer",
"sku": "LAPTOP-001",
"product_key": "43211500",
"unit_key": "H87",
"unit_name": "Pieza",
"unit_price": 15000.0,
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"withholding": false
}
]
}{
"description": "Software subscription - Monthly",
"sku": "SAAS-MONTHLY",
"product_key": "81111500",
"unit_key": "MON",
"unit_name": "Mes",
"unit_price": 500.0,
"taxes": [
{
"type": "IVA",
"rate": 0.16,
"withholding": false
}
]
}{
"message": "Invalid product_key",
"error": "Product key must be 8 digits from SAT catalog"
}{
"message": "Invalid tax configuration",
"error": "Tax rate must be between 0 and 1"
}{
"message": "Service not found",
"error": "The specified service does not exist"
}