Field guide

The following fields are available in a catalog object

NameTypeExampleNotes
idint33Catalog id
typeint1See Catalog Types
numberstring1025Catalog number
unitint6See Catalog Units
namestringMy Hours Work ServiceName of catalog entry
descriptionstringLorem ipsumDescription of catalog entry
categorystringCategory of catalog entry
vatfloat0VAT amount
cost_per_unitfloat100.25Cost per one unit
cost_vat_includedint1If VAT is included in cost
notesstringMy internal noteInternal 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

TypeMeaning of type
1Services
2Products

Unit

UnitMeaning of unit
1Hour
2Day
3Month
4Quarter
5Semester
6Year
7Piece
8kg
9Liters
10m2
11m3
12km
13Flat rate
14-