Field guide

The following fields are available in a position object

NameTypeExampleNotes
typeint1
numberint99Catalog number
namestringMy Hours Work Service
descriptionstringLorem ipsum
costfloat120.15Single item cost
unitint6Type of item unit, like km or kg
amountfloat1.5Number of items
vatfloat0
discountfloat0
discount_typeint0If the discount is in % (0) or amount (1)

Example

    {
        "type":1,
        "number":null,
        "name":null,
        "description":null,
        "cost":0,
        "unit":1,
        "amount":1,
        "vat":8,
        "discount":null,
		"discount_type":0
    }
    

Type

TypeMeaning of type
1Service
2Product