Create a quote
POST/api/v1/workspaces/:workspace_id/quotes
Creates a new quote in the specified workspace
Request
Responses
- 201
- 401
- 403
- 422
The quote was created in draft state
The request did not include a valid OAuth 2.0 access token
The OAuth 2.0 client is not authorized for the requested workspace, or no such workspace exists
The request body failed validation. The response body carries code: "validation_failed" and reports the invalid attributes under details.base, as full messages naming the attribute. Among them a currency_code that names no ISO 4217 currency: currency codes are matched case-sensitively against the two code lists Scribee vendors (the UN/CEFACT ISO3AlphaCurrencyCode enumeration unioned with the Peppol BIS ISO4217 list), so eur is refused rather than upcased. A currency_code that is not a String is refused with the same 422: only an omitted key, an explicit null, or a blank String counts as absence and defaults to EUR, so the JSON literal false reaches the ISO 4217 rule rather than being read as absence.