Catalog
Field guide
The following fields are available in a catalog object
Name | Type | Example | Notes |
---|
id | int | 33 | Catalog id |
type | int | 1 | See Catalog Types |
number | string | 1025 | Catalog number |
unit | int | 6 | See Catalog Units |
name | string | My Hours Work Service | Name of catalog entry |
description | string | Lorem ipsum | Description of catalog entry |
category | string | | Category of catalog entry |
vat | float | 0 | VAT amount |
cost_per_unit | float | 100.25 | Cost per one unit |
cost_vat_included | int | 1 | If VAT is included in cost |
notes | string | My internal note | Internal notes not visible to client |
Example content of data variable:
{
"error":false,
"item":{
"id":1011,
"type":2,
"number":101,
"unit":7,
"name":"Product X",
"description":"Repairing car",
"category":"Secret",
"vat":8,
"cost_per_unit":0,
"cost_vat_included":0
}
}
Type
Type | Meaning of type |
---|
1 | Services |
2 | Products |
Unit
Unit | Meaning of unit |
---|
1 | Hour |
2 | Day |
3 | Month |
4 | Quarter |
5 | Semester |
6 | Year |
7 | Piece |
8 | kg |
9 | Liters |
10 | m2 |
11 | m3 |
12 | km |
13 | Flat rate |
14 | - |