{"openapi":"3.1.0","info":{"title":"contboxx Procurement API","version":"v1","description":"For procurement systems and AI agents: read the catalog, price a configuration, get a plan recommendation, request a stored non-binding quote and send an Enterprise request. Nothing binding happens through this API: a quote is confirmed by the person it is for (e-mail link) and ordered by a person (sign in, accept the terms, pay). Catalog schema: adversign.procurement/v0.1. All prices net in EUR.","contact":{"email":"info@contboxx.com"}},"servers":[{"url":"https://contboxx.com/api/procurement/v1"}],"paths":{"/catalog":{"get":{"summary":"The catalog (same as /procurement.json)","responses":{"200":{"description":"Catalog","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/price":{"post":{"summary":"Price a new subscription (plan + period + optional dpa package) with VAT","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceRequest"}}}},"responses":{"200":{"description":"Price; status vat_unverified when a VAT ID could not be confirmed (charged at 19 %)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Price"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"PLAN_UNKNOWN, PLAN_ON_REQUEST, FREE_PLAN, ADDON_UNKNOWN, PERIOD_NOT_OFFERED, COUNTRY_UNKNOWN, ADDON_CURRENCY (dpa in USD)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (Retry-After header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/recommend":{"post":{"summary":"The cheapest plan that carries the screens, content and locations; needs_sales when none does","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendRequest"}}}},"responses":{"200":{"description":"Recommendation with a reason code per plan that does not fit","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (Retry-After header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/quotes":{"post":{"summary":"Create a stored, non-binding quote (valid 30 days while the price list is unchanged)","description":"Sends a confirmation link to `email`. Send an Idempotency-Key header to get the same quote on retries.","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}}},"responses":{"200":{"description":"Same Idempotency-Key: the existing quote","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Not priceable (see /price)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (Retry-After header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/quotes/{id}":{"get":{"summary":"Status and items of a quote (no personal data)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^Q-[0-9a-f]{24}$"}}],"responses":{"200":{"description":"Quote","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"404":{"description":"QUOTE_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/rfq":{"post":{"summary":"Structured Enterprise request; answered by our team within two working days","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RfqRequest"}}}},"responses":{"201":{"description":"Received, with id","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (Retry-After header)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trust":{"get":{"summary":"Company, hosting, compliance status and legal documents","responses":{"200":{"description":"Trust information","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error","code"],"properties":{"error":{"type":"string"},"code":{"type":"string"}}},"PriceRequest":{"type":"object","additionalProperties":false,"required":["plan","period","country"],"properties":{"plan":{"type":"string","examples":["starter","basic","professional"]},"period":{"type":"string","enum":["monthly","annual"]},"addon":{"type":["string","null"],"description":"dpa package id from the catalog"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 of the billing address"},"zip":{"type":["string","null"],"maxLength":16},"vat_id":{"type":["string","null"],"maxLength":20,"description":"EU VAT ID; reverse charge only when VIES confirms it"}}},"QuoteRequest":{"type":"object","additionalProperties":false,"required":["plan","period","country","email"],"properties":{"plan":{"type":"string","examples":["starter","basic","professional"]},"period":{"type":"string","enum":["monthly","annual"]},"addon":{"type":["string","null"],"description":"dpa package id from the catalog"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 of the billing address"},"zip":{"type":["string","null"],"maxLength":16},"vat_id":{"type":["string","null"],"maxLength":20,"description":"EU VAT ID; reverse charge only when VIES confirms it"},"email":{"type":"string","format":"email","description":"Only the address of the person on whose behalf you act. They receive the confirmation link and our privacy notice; nothing else is sent to them before they confirm."},"language":{"type":"string","enum":["de","en"],"default":"en"}}},"RecommendRequest":{"type":"object","additionalProperties":false,"required":["screens"],"properties":{"screens":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"object","additionalProperties":false,"required":["count","mode","seconds_per_request","hours_per_day"],"properties":{"count":{"type":"integer","minimum":1},"mode":{"type":"string","enum":["stream","reload"],"description":"stream: one request per news item shown; reload: one request per call"},"seconds_per_request":{"type":"number","minimum":1,"description":"Seconds per news item (stream) or reload interval"},"hours_per_day":{"type":"number","minimum":0.5,"maximum":24}}}},"content":{"type":"array","items":{"type":"string","enum":["games","soccer","basketball","traffic","pollen","infoscreens","warnings","charging","mensa","horoscope","weather","departures"]}},"locations":{"type":"integer","minimum":0},"departure_stations":{"type":"integer","minimum":0},"dpa_requests_per_day":{"type":"integer","minimum":0}}},"Price":{"type":"object","properties":{"status":{"type":"string","enum":["ok","vat_unverified"]},"currency":{"type":"string","enum":["EUR","USD"],"description":"USD for billing countries outside the euro countries while the catalog lists USD."},"lines":{"type":"array","items":{"type":"object"}},"totals":{"type":"object"},"price_list_version":{"type":"string"},"calc_hash":{"type":"string"},"binding":{"const":false}}},"Quote":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["unconfirmed","confirmed","ordered","expired","price_list_changed"]},"binding":{"const":false},"valid_until":{"type":"string","format":"date-time"},"price_list_version":{"type":"string"},"lines":{"type":"array","items":{"type":"object"}},"totals":{"type":"object"},"links":{"type":"object","properties":{"page":{"type":"string"},"order":{"type":["string","null"],"description":"For a person: opens the cart with this quote"}}},"next_step":{"type":"string"}}},"RfqRequest":{"type":"object","additionalProperties":false,"required":["email","company"],"properties":{"email":{"type":"string","format":"email"},"company":{"type":"string","minLength":2,"maxLength":200},"name":{"type":["string","null"]},"language":{"type":"string","enum":["de","en"]},"screens":{"type":"integer"},"locations":{"type":"integer"},"content":{"type":"array","items":{"type":"string"}},"dpa":{"type":"boolean"},"term_months":{"type":"integer","minimum":1,"maximum":60},"payment":{"type":"string","enum":["invoice","card","sepa"]},"e_invoice":{"type":"boolean"},"leitweg_id":{"type":"string"},"po_number":{"type":"string"},"deadline":{"type":"string"},"message":{"type":"string","maxLength":2000}}}}}}