Create a workspace
Create workspace from the submitted fields.
Body parameters
Display name of the resource.
Minimum length: 1 character. · Maximum length: 255 characters.
Acme workspacecountry for this workspace.
Minimum length: 1 character. · Maximum length: 255 characters.
SAEmail address associated with the identity.
Must be present and may be null.
Maximum length: 255 characters.
owner@example.comphone for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
+966500000000official name for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
Consulting servicestrade name for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
Consulting servicesregistration number for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
CR-0001234567ID of the related tax.
Must be present and may be null.
Maximum length: 255 characters.
100.00city for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
Riyadhaddress for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
King Fahd RoadCurrent state of the record or operation.
Must be present and may be null.
Maximum length: 255 characters.
Riyadhzip for this workspace.
Must be present and may be null.
Maximum length: 255 characters.
Consulting servicescurrency code for this workspace.
Minimum length: 1 character. · Maximum length: 255 characters.
SARpayables for this workspace.
ShowHide 6 properties
Display name of the resource.
Minimum length: 1 character. · Maximum length: 255 characters.
Acme workspacerecipient within payables.
Minimum length: 1 character. · Maximum length: 255 characters.
Consulting servicesrecipient type within payables.
Allowed values: "company", "individual", "government"
companykind within payables.
Allowed values: "percentage", "fixed"
percentageValue returned by the operation.
Minimum length: 1 character. · Maximum length: 128 characters.
100.00purpose within payables.
Allowed values: "vat", "zakah", "custom"
vatbank for this workspace.
ShowHide 5 properties
Human-readable label for the value.
Minimum length: 1 character. · Maximum length: 255 characters.
Operating accountbank name within bank.
Minimum length: 1 character. · Maximum length: 255 characters.
NQD Bankaccount name within bank.
Minimum length: 1 character. · Maximum length: 255 characters.
Operating accountaccount number within bank.
Minimum length: 1 character. · Maximum length: 255 characters.
Consulting servicesiban within bank.
SA0380000000608010167519banks for this workspace.
ShowHide 5 properties
Human-readable label for the value.
Minimum length: 1 character. · Maximum length: 255 characters.
Operating accountbank name within banks.
Minimum length: 1 character. · Maximum length: 255 characters.
NQD Bankaccount name within banks.
Minimum length: 1 character. · Maximum length: 255 characters.
Operating accountaccount number within banks.
Minimum length: 1 character. · Maximum length: 255 characters.
Consulting servicesiban within banks.
SA0380000000608010167519fiscal start for this workspace.
Must be present and may be null.
2026-01-01ID of the related submission.
Minimum length: 1 character. · Maximum length: 255 characters.
550e8400-e29b-41d4-a716-446655440000Headers
This operation does not use a workspace scope.
Response
Response headers
Possible errors
Response headers
Error details returned for a failed request.
ShowHide 4 properties
Stable machine-readable error or resource code.
invalid_inputHuman-readable explanation of the result or error.
The request could not be validated.Correlation identifier for support and request tracing.
550e8400-e29b-41d4-a716-446655440000Additional structured details about the result or error.
ShowHide 1 property
Structured field issues returned when request validation fails.
ShowHide 3 properties
Field path where the validation issue occurred.
One of: string alternative 1, number alternative 2
0 itemsMachine-readable reason for the validation issue.
Allowed values: "expected_type", "required", "unexpected_property", "invalid_value", "invalid_json", "invalid_query", "unsupported_media_type", "body_too_large", "body_timeout", "conflicting_scope", "missing_header", "concurrency_required", "invalid_resource_id", "invalid_request"
invalid_requestStable machine-readable error or resource code.
invalid_input{
"error": {
"code": "invalid_input",
"message": "The request could not be validated.",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"details": {
"issues": [
{
"path": [],
"reason": "invalid_request"
}
]
}
}
}View raw OpenAPI operation
Use the machine-readable contract for client generation and payload validation.
Open OpenAPI contract ↗