Skip to main content

ProposalProductDto

namestringrequired

Name of the product

Example: 🎨 Website Design & Ontwikkeling
amountnumberrequired

Quantity/amount of the product

Example: 1
flexibilitystringrequired

Flexibility setting for the product

Possible values: [fixed, provisional, estimate]

recurringstringrequired

Recurring billing frequency

Possible values: [once, daily, weekly, monthly, yearly]

optionalbooleanrequired

Whether the product is optional

checkedboolean

Whether the product is checked/selected (for optional products)

checkedBystring

Who checked/selected the product

Possible values: [client, provider]

amountAdjustablebooleanrequired

Whether the amount is adjustable by the client

minimumAmountnumber

Minimum allowed amount for the client to set

Example: 0
maximumAmountnumber

Maximum allowed amount for the client to set

Example: 1000
wholeNumbersboolean

Whether only whole numbers are allowed for amounts set by the client

currencies object[]required

Array of currency configurations for this product

  • Array [
  • currencystringrequired

    Currency code

    Possible values: [USD, AUD, GBP, CAD, CNY, EUR, INR, JPY, AED, CHF, BTC, ETH]

    pricenumberrequired

    Price in the specified currency

    Example: 2495
    discountnumberrequired

    Discount amount

    discountUnitstringrequired

    Unit for the discount

    Possible values: [currency, percentage]

    vat object

    VAT configuration for this currency

    namestringrequired

    Name/type of the VAT configuration

    Possible values: [exempt, incl_low, incl_high, excl_low, excl_high]

    percentagenumberrequired

    VAT percentage

    Example: 21
    countrystringrequired

    Country code for the VAT

    Possible values: [nl, be, de]

    includingbooleanrequired

    Whether VAT is included in the price

  • ]
  • unit object

    Unit configuration for this product

    idnumberrequired

    Unique identifier for the unit

    unitLanguages object[]required

    Translations of the unit in different languages

  • Array [
  • languagestringrequired

    Language code

    Possible values: [nl, en, de]

    singularstringrequired

    Singular form of the unit in this language

    Example: Stuk
    pluralstringrequired

    Plural form of the unit in this language

    Example: Stuks
  • ]
  • ProposalProductDto
    {
    "name": "🎨 Website Design & Ontwikkeling",
    "amount": 1,
    "flexibility": "fixed",
    "recurring": "once",
    "optional": true,
    "checked": true,
    "checkedBy": "client",
    "amountAdjustable": true,
    "minimumAmount": 0,
    "maximumAmount": 1000,
    "wholeNumbers": true,
    "currencies": [
    {
    "currency": "USD",
    "price": 2495,
    "discount": 0,
    "discountUnit": "currency",
    "vat": {
    "name": "exempt",
    "percentage": 21,
    "country": "nl",
    "including": true
    }
    }
    ],
    "unit": {
    "id": 0,
    "unitLanguages": [
    {
    "language": "nl",
    "singular": "Stuk",
    "plural": "Stuks"
    }
    ]
    }
    }