{
  "locale": "en",
  "illustrative": true,
  "note": "Fictional examples, not a live quote tool or a client case. Select a prepared request. Prices below belong only to this example; no message, payment or invoice is created.",
  "excluded": "Tax, discounts, travel and payment terms are not calculated. A source marked approved in this demo is not a real access-control system.",
  "priceBook": {
    "revision": "FICTIONAL-PRICEBOOK-01",
    "approved": true,
    "currency": "EUR",
    "items": [
      {
        "sku": "DEMO-VISIT",
        "label": "Example visit",
        "unitNetCents": "4500"
      },
      {
        "sku": "DEMO-SERVICE",
        "label": "Example service",
        "unitNetCents": "12000"
      },
      {
        "sku": "DEMO-INCLUDED",
        "label": "Included example check",
        "unitNetCents": "0"
      }
    ]
  },
  "cases": [
    {
      "id": "complete",
      "label": "Complete request",
      "request": [
        {
          "sku": "DEMO-VISIT",
          "quantity": 2
        },
        {
          "sku": "DEMO-SERVICE",
          "quantity": 1
        }
      ],
      "result": {
        "illustrative": true,
        "sourceRevision": "FICTIONAL-PRICEBOOK-01",
        "currency": "EUR",
        "state": "draft",
        "issues": [],
        "lines": [
          {
            "sku": "DEMO-VISIT",
            "quantity": 2,
            "label": "Demonstration visit",
            "unitNetCents": "4500",
            "lineNetCents": "9000",
            "issues": []
          },
          {
            "sku": "DEMO-SERVICE",
            "quantity": 1,
            "label": "Demonstration service",
            "unitNetCents": "12000",
            "lineNetCents": "12000",
            "issues": []
          }
        ],
        "knownSubtotalNetCents": "21000",
        "totalNetCents": "21000",
        "notCalculated": [
          "tax",
          "discounts",
          "travel",
          "payment_terms"
        ],
        "requiresHumanApproval": true,
        "sent": false,
        "invoice": false
      }
    },
    {
      "id": "unknown",
      "label": "Unknown work",
      "request": [
        {
          "sku": "DEMO-VISIT",
          "quantity": 1
        },
        {
          "sku": "NOT-IN-PRICEBOOK",
          "quantity": 1
        }
      ],
      "result": {
        "illustrative": true,
        "sourceRevision": "FICTIONAL-PRICEBOOK-01",
        "currency": "EUR",
        "state": "needs_clarification",
        "issues": [],
        "lines": [
          {
            "sku": "DEMO-VISIT",
            "quantity": 1,
            "label": "Demonstration visit",
            "unitNetCents": "4500",
            "lineNetCents": "4500",
            "issues": []
          },
          {
            "sku": "NOT-IN-PRICEBOOK",
            "quantity": 1,
            "label": null,
            "unitNetCents": null,
            "lineNetCents": null,
            "issues": [
              "unknown_sku"
            ]
          }
        ],
        "knownSubtotalNetCents": "4500",
        "totalNetCents": null,
        "notCalculated": [
          "tax",
          "discounts",
          "travel",
          "payment_terms"
        ],
        "requiresHumanApproval": true,
        "sent": false,
        "invoice": false
      }
    },
    {
      "id": "missing-quantity",
      "label": "Quantity missing",
      "request": [
        {
          "sku": "DEMO-SERVICE"
        }
      ],
      "result": {
        "illustrative": true,
        "sourceRevision": "FICTIONAL-PRICEBOOK-01",
        "currency": "EUR",
        "state": "needs_clarification",
        "issues": [],
        "lines": [
          {
            "sku": "DEMO-SERVICE",
            "quantity": null,
            "label": "Demonstration service",
            "unitNetCents": "12000",
            "lineNetCents": null,
            "issues": [
              "invalid_quantity"
            ]
          }
        ],
        "knownSubtotalNetCents": "0",
        "totalNetCents": null,
        "notCalculated": [
          "tax",
          "discounts",
          "travel",
          "payment_terms"
        ],
        "requiresHumanApproval": true,
        "sent": false,
        "invoice": false
      }
    },
    {
      "id": "included",
      "label": "Included item at zero",
      "request": [
        {
          "sku": "DEMO-INCLUDED",
          "quantity": 1
        }
      ],
      "result": {
        "illustrative": true,
        "sourceRevision": "FICTIONAL-PRICEBOOK-01",
        "currency": "EUR",
        "state": "draft",
        "issues": [],
        "lines": [
          {
            "sku": "DEMO-INCLUDED",
            "quantity": 1,
            "label": "Included demonstration check",
            "unitNetCents": "0",
            "lineNetCents": "0",
            "issues": []
          }
        ],
        "knownSubtotalNetCents": "0",
        "totalNetCents": "0",
        "notCalculated": [
          "tax",
          "discounts",
          "travel",
          "payment_terms"
        ],
        "requiresHumanApproval": true,
        "sent": false,
        "invoice": false
      }
    }
  ]
}
