ComponentProductDto
Quantity/amount of the product
1unit object
Unit configuration for this product
Unique identifier for the unit
1unitLanguages object[]required
Translations of the unit in different languages
Language code
Possible values: [nl, en, de]
Singular form of the unit in this language
hourPlural form of the unit in this language
hoursWhether the unit is global
Flexibility setting for the product
Possible values: [fixed, provisional, estimate]
Recurring billing frequency
Possible values: [once, daily, weekly, monthly, yearly]
Whether the product is optional
Whether the amount is adjustable by the client
Minimum allowed amount for the client to set
0Maximum allowed amount for the client to set
1000Whether only whole numbers are allowed for amounts set by the client
currencies object[]required
Array of currency configurations for this product
Currency code
Possible values: [USD, AUD, GBP, CAD, CNY, EUR, INR, JPY, AED, CHF, BTC, ETH]
Price in the specified currency
Discount amount
Unit for the discount
Possible values: [currency, percentage]
vat object
VAT configuration for this currency
Unique identifier of the VAT configuration
5Name/type of the VAT configuration
Possible values: [exempt, incl_low, incl_high, excl_low, excl_high]
VAT percentage
Country code for the VAT
Possible values: [nl, be, de]
Whether VAT is included in the price
Custom identifier for the product
SHOES-123Whether the product is active
{
"amount": 1,
"unit": {
"id": 1,
"unitLanguages": [
{
"language": "nl",
"singular": "hour",
"plural": "hours"
}
],
"global": true
},
"flexibility": "fixed",
"recurring": "once",
"optional": true,
"amountAdjustable": true,
"minimumAmount": 0,
"maximumAmount": 1000,
"wholeNumbers": true,
"currencies": [
{
"currency": "USD",
"price": 0,
"discount": 0,
"discountUnit": "currency",
"vat": {
"id": 5,
"name": "exempt",
"percentage": 0,
"country": "nl",
"including": true
}
}
],
"productCode": "SHOES-123",
"active": true
}