{"components":{"responses":{"4XX_Client_Error_Response":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalErrorResponse"}}},"description":"error response for all http error codes in range 4XX"},"5XX_Server_Error_Response":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalErrorResponse"}}},"description":"error response for all http error codes in range 5XX"}},"schemas":{"BaswareCredentialRequest":{"description":"Request to set the credentials for Basware.","properties":{"password":{"description":"Password for Basware account.\nMust not be blank.\nSize must be between 0 and 255.","maxLength":255,"type":"string"},"userName":{"description":"User name for Basware account.\nMust not be blank.\nSize must be between 0 and 255.","maxLength":255,"type":"string"}},"required":["password","userName"],"type":"object"},"BaswareCredentialResponse":{"description":"Currently used Login for Basware.","properties":{"userName":{"description":"User name for Basware account.\nMust not be blank.\nSize must be between 0 and 255.","maxLength":255,"type":"string"}},"required":["userName"],"type":"object"},"CountryConfigurationDto":{"description":"Country configuration with custom fields.","properties":{"countryCode":{"description":"Two- or three-letter country code in ISO 3166-1 standard. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166-1).\nMust not be null.","example":"DE","type":"string"},"customFields":{"additionalProperties":{"nullable":true,"type":"string"},"nullable":true,"type":"object"}},"required":["countryCode"],"type":"object"},"EInvoicingData":{"properties":{"recipientCode":{"description":"Must not be blank.","minLength":1,"title":"The recipient code.","type":"string"},"recipientCodeType":{"description":"Must not be blank.","minLength":1,"title":"The type of recipient code.","type":"string"}},"required":["recipientCode","recipientCodeType"],"title":"Recipient type and recipient code.","type":"object"},"EnumContent":{"description":"List of all Enums with their names.","properties":{"enumValues":{"description":"List of all Enum values.\nMust not be null.","items":{"description":"List of all Enum values.","type":"string"},"type":"array"},"fieldName":{"description":"Name of the Enum.\nMust not be null.","type":"string"}},"required":["enumValues","fieldName"],"type":"object"},"EnumNameList":{"properties":{"enumFields":{"description":"List of all Enums with their names.\nMust not be null.","items":{"$ref":"#/components/schemas/EnumContent"},"type":"array"}},"required":["enumFields"],"type":"object"},"ForwardRouteDto":{"description":"Routing Object to decide which Documents should be send to Basware.","properties":{"addressCountry":{"default":"null","description":"Matcher if the invoice address should be in a specific country. If not relevant leave it empty.","type":"string"},"billingGroupIdent":{"default":"null","description":"Matcher if the document should be related to a specific billingGroupIdent. If not relevant leave it empty.","type":"string"},"customerHasVatId":{"default":false,"description":"Matcher if the customer shall have a vatId or not. If not relevant leave it empty.","type":"boolean"},"customerType":{"default":"null","description":"Matcher if the customer shall be of a certain type. If not relevant leave it empty.\nMust be one of:\n|            |\n| ---------- |\n| B_2_B      |\n| B_2_C      |\n| AFFILIATED |\n| UNKNOWN    |","type":"string"},"documentType":{"default":"null","description":"Matcher if the document should be of a specific documentType. If not relevant leave it empty.\nMust be one of:\n|                                 |\n| ------------------------------- |\n| INVOICE                         |\n| CREDIT_MEMO                     |\n| DEPOSIT_INVOICE                 |\n| DEPOSIT_INVOICE_CANCELLATION    |\n| CREDIT_MEMO_GOODWILL            |\n| CREDIT_MEMO_WARRANTY            |\n| SELF_BILLING_INVOICE            |\n| SELF_BILLING_INVOICE_CORRECTION |","type":"string"},"forwardToBasware":{"default":true,"description":"Boolean value if a matching document should be send to Basware or not.\nMust not be null.","type":"boolean"},"operatingSiteIdent":{"default":"null","description":"Matcher if the document should be related to a specific operatingSiteIdent. If not relevant leave it empty.","type":"string"},"serviceCountry":{"default":"null","description":"Matcher if the document should be related to a specific serviceCountry. If not relevant leave it empty.","type":"string"}},"required":["forwardToBasware"],"type":"object"},"GlobalErrorResponse":{"description":"error response providing details about the error occurred","properties":{"errors":{"description":"optional list of multiple errors occurred","items":{"type":"object"},"nullable":true,"type":"array"},"message":{"description":"message describing the error","nullable":true,"type":"string"},"path":{"description":"URL path where the error occurred","nullable":true,"type":"string"},"status":{"description":"textual representation of http status code, e.g. 'BAD_REQUEST' for status code 400","type":"string"},"timestamp":{"description":"timestamp in UTC when the error occurred","format":"date-time","type":"string"},"uuid":{"description":"UUID generated by the server to identify the error occurred, should be stated in case of any inquiries","format":"uuid","nullable":true,"type":"string"}},"required":["status","timestamp"],"type":"object"},"JsonNode":{"type":"object"},"NotificationDto":{"description":"Notification received from Basware.","properties":{"acknowledgementId":{"description":"Basware uuid for this notification.\nMust not be null.","type":"string"},"actionCode":{"description":"Action code from Basware.","nullable":true,"type":"string"},"baswareCreationTimestamp":{"description":"Notification creation timestamp from Basware.\nMust not be null.","format":"date-time","type":"string"},"description":{"description":"Description for the notification from Basware.","nullable":true,"type":"string"},"detailedDescription":{"description":"Detailed description for the notification from Basware.","nullable":true,"type":"string"},"nitroboxCreationTimestamp":{"description":"Timestamp of the processing in the Nitrobox environment.\nMust not be null.","format":"date-time","type":"string"},"responseCode":{"description":"Response code from Basware. Possible codes: TechnicalAccept|TechnicalReject|TechnicalInformation|BusinessAccept|BusinessReject|BusinessInformation.\nMust not be null.","type":"string"}},"required":["acknowledgementId","baswareCreationTimestamp","nitroboxCreationTimestamp","responseCode"],"type":"object"},"OutboxEntryResponse":{"description":"Outbox Entry","properties":{"createdAt":{"description":"Technical creation date and time of data record. ISO 8601 date-time with an offset from UTC/Greenwich (see: https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC).\nMust not be null.","format":"date-time","type":"string"},"deleteAt":{"description":"The delete timestamp","format":"date-time","nullable":true,"type":"string"},"failures":{"description":"Number of failures.\nMust not be null.\nMust be greater than or equal to 0.","format":"int32","minimum":0,"type":"integer"},"id":{"description":"The ID of the outbox entry.\nMust not be null.\nMust not be blank.","minLength":1,"type":"string"},"ident":{"description":"The ident of the outbox entry. An entry does not necessarily require an ident. It serves as a convenience feature only.","nullable":true,"type":"string"},"lastFailureMessage":{"description":"Last failure message","nullable":true,"type":"string"},"nextRetryAt":{"description":"The next retry timestamp","format":"date-time","nullable":true,"type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/JsonNode"}],"description":"The payload","nullable":true,"type":"object"},"status":{"description":"The status of the outbox entry.\nMust not be null.\nMust be one of:\n|            |\n| ---------- |\n| ENQUEUED   |\n| PROCESSING |\n| WAITING    |\n| PROCESSED  |\n| FAILED     |","type":"string"},"statusHistory":{"description":"The status history.\nMust not be null.","items":{"$ref":"#/components/schemas/StatusHistory"},"type":"array"},"statusTimestamp":{"description":"The timestamp of the last status change.\nMust not be null.","format":"date-time","type":"string"},"tracingAttributes":{"additionalProperties":{"description":"Tracing attributes","type":"string"},"description":"Tracing attributes.\nMust not be null.","type":"object"}},"required":["createdAt","failures","id","status","statusHistory","statusTimestamp","tracingAttributes"],"type":"object"},"PageInfo":{"description":"Meta data about the current page and query.","properties":{"number":{"description":"Page number of total pages available.","format":"int32","type":"integer"},"size":{"description":"Size of the page as specified by the query.","format":"int32","type":"integer"},"totalElements":{"description":"Total count of all elements available for the query.","format":"int64","type":"integer"},"totalPages":{"description":"Total count of all pages available for the query.","format":"int32","type":"integer"}},"required":["number","size","totalElements","totalPages"],"type":"object"},"PagedResponseForwardRouteDto":{"description":"List of result elements with paging metadata.","properties":{"_embedded":{"description":"Result list.","items":{"$ref":"#/components/schemas/ForwardRouteDto"},"type":"array"},"page":{"$ref":"#/components/schemas/PageInfo"}},"required":["_embedded","page"],"type":"object"},"PagedResponseOutboxEntryResponse":{"description":"List of result elements with paging metadata.","properties":{"_embedded":{"description":"Result list.","items":{"$ref":"#/components/schemas/OutboxEntryResponse"},"type":"array"},"page":{"$ref":"#/components/schemas/PageInfo"}},"required":["_embedded","page"],"type":"object"},"PagedResponseWorkflowDto":{"description":"List of result elements with paging metadata.","properties":{"_embedded":{"description":"Result list.","items":{"$ref":"#/components/schemas/WorkflowDto"},"type":"array"},"page":{"$ref":"#/components/schemas/PageInfo"}},"required":["_embedded","page"],"type":"object"},"RequestPair":{"description":"Requests sent to Basware.","properties":{"baswareRequestId":{"description":"Basware Request ID.","nullable":true,"type":"string"},"requestBody":{"description":"Request body delivered to Basware. Documentation can be found under: https://network-developer.basware.com/api/#api-for-invoices-v3","nullable":true,"type":"object"},"requestTime":{"description":"Timestamp of the request.","format":"date-time","nullable":true,"type":"string"},"requestType":{"description":"Unique identifier of the request.\nMust not be null.\nMust be one of:\n|            |\n| ---------- |\n| INVOICE    |\n| CREDITMEMO |","type":"string"},"responseCode":{"description":"Response from Basware.\nMust be one of:\n|                                 |\n| ------------------------------- |\n| CONTINUE                        |\n| SWITCHING_PROTOCOLS             |\n| PROCESSING                      |\n| EARLY_HINTS                     |\n| CHECKPOINT                      |\n| OK                              |\n| CREATED                         |\n| ACCEPTED                        |\n| NON_AUTHORITATIVE_INFORMATION   |\n| NO_CONTENT                      |\n| RESET_CONTENT                   |\n| PARTIAL_CONTENT                 |\n| MULTI_STATUS                    |\n| ALREADY_REPORTED                |\n| IM_USED                         |\n| MULTIPLE_CHOICES                |\n| MOVED_PERMANENTLY               |\n| FOUND                           |\n| MOVED_TEMPORARILY               |\n| SEE_OTHER                       |\n| NOT_MODIFIED                    |\n| USE_PROXY                       |\n| TEMPORARY_REDIRECT              |\n| PERMANENT_REDIRECT              |\n| BAD_REQUEST                     |\n| UNAUTHORIZED                    |\n| PAYMENT_REQUIRED                |\n| FORBIDDEN                       |\n| NOT_FOUND                       |\n| METHOD_NOT_ALLOWED              |\n| NOT_ACCEPTABLE                  |\n| PROXY_AUTHENTICATION_REQUIRED   |\n| REQUEST_TIMEOUT                 |\n| CONFLICT                        |\n| GONE                            |\n| LENGTH_REQUIRED                 |\n| PRECONDITION_FAILED             |\n| PAYLOAD_TOO_LARGE               |\n| REQUEST_ENTITY_TOO_LARGE        |\n| URI_TOO_LONG                    |\n| REQUEST_URI_TOO_LONG            |\n| UNSUPPORTED_MEDIA_TYPE          |\n| REQUESTED_RANGE_NOT_SATISFIABLE |\n| EXPECTATION_FAILED              |\n| I_AM_A_TEAPOT                   |\n| INSUFFICIENT_SPACE_ON_RESOURCE  |\n| METHOD_FAILURE                  |\n| DESTINATION_LOCKED              |\n| UNPROCESSABLE_ENTITY            |\n| LOCKED                          |\n| FAILED_DEPENDENCY               |\n| TOO_EARLY                       |\n| UPGRADE_REQUIRED                |\n| PRECONDITION_REQUIRED           |\n| TOO_MANY_REQUESTS               |\n| REQUEST_HEADER_FIELDS_TOO_LARGE |\n| UNAVAILABLE_FOR_LEGAL_REASONS   |\n| INTERNAL_SERVER_ERROR           |\n| NOT_IMPLEMENTED                 |\n| BAD_GATEWAY                     |\n| SERVICE_UNAVAILABLE             |\n| GATEWAY_TIMEOUT                 |\n| HTTP_VERSION_NOT_SUPPORTED      |\n| VARIANT_ALSO_NEGOTIATES         |\n| INSUFFICIENT_STORAGE            |\n| LOOP_DETECTED                   |\n| BANDWIDTH_LIMIT_EXCEEDED        |\n| NOT_EXTENDED                    |\n| NETWORK_AUTHENTICATION_REQUIRED |","nullable":true,"type":"string"},"responseMessage":{"description":"Response message from Basware.","nullable":true,"type":"string"},"usedLogin":{"description":"Login used for the request.","nullable":true,"type":"string"}},"required":["requestType"],"type":"object"},"RouteResolutionRequest":{"description":"Collection of needed Information to resolve, if a Document would be send to Basware. Only needed for the testing of routes.","properties":{"addressCountry":{"description":"AddressCountry of the document.\nMust not be null.","type":"string"},"billingGroupIdent":{"description":"BillingGroupIdent of the document.\nMust not be null.","type":"string"},"customerHasVatId":{"description":"Boolean if the customer of the document has a vatId.\nMust not be null.","type":"boolean"},"customerType":{"description":"CustomerType of the document.\nMust not be null.\nMust be one of:\n|            |\n| ---------- |\n| B_2_B      |\n| B_2_C      |\n| AFFILIATED |\n| UNKNOWN    |","type":"string"},"documentType":{"description":"Type of the document.\nMust not be null.\nMust be one of:\n|                                 |\n| ------------------------------- |\n| INVOICE                         |\n| CREDIT_MEMO                     |\n| DEPOSIT_INVOICE                 |\n| DEPOSIT_INVOICE_CANCELLATION    |\n| CREDIT_MEMO_GOODWILL            |\n| CREDIT_MEMO_WARRANTY            |\n| SELF_BILLING_INVOICE            |\n| SELF_BILLING_INVOICE_CORRECTION |","type":"string"},"operatingSiteIdent":{"description":"OperatingSiteIdent of the document.\nMust not be null.","type":"string"},"serviceCountry":{"description":"ServiceCountry of the document.\nMust not be null.","type":"string"}},"required":["addressCountry","billingGroupIdent","customerHasVatId","customerType","documentType","operatingSiteIdent","serviceCountry"],"type":"object"},"RouteResolutionResponse":{"description":"Resolved result, if a Document would be send to Basware or not. Only needed for the testing of routes.","properties":{"forwardToBasware":{"default":false,"description":"Result of the route resolution.\nMust not be null.","type":"boolean"}},"required":["forwardToBasware"],"type":"object"},"StatusHistory":{"description":"Status history entry","properties":{"status":{"description":"The status.\nMust not be null.\nMust be one of:\n|            |\n| ---------- |\n| ENQUEUED   |\n| PROCESSING |\n| WAITING    |\n| PROCESSED  |\n| FAILED     |","type":"string"},"timestamp":{"description":"The timestamp when the status occurred.\nMust not be null.","format":"date-time","type":"string"}},"required":["status","timestamp"],"type":"object"},"UpdateRecipientCodeRequest":{"properties":{"bumId":{"description":"Must not be blank.","minLength":1,"title":"Workflow BUM ID that should be updated.","type":"string"},"eInvoicingData":{"allOf":[{"$ref":"#/components/schemas/EInvoicingData"}],"type":"object"},"einvoicingData":{"$ref":"#/components/schemas/EInvoicingData"}},"required":["bumId","eInvoicingData"],"title":"Update the recipient code for a basware workflow.","type":"object"},"WorkflowDto":{"description":"Workflow of one document sent to Basware.","properties":{"billingGroupIdent":{"description":"BillingGroupIdent of this document.\nMust have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~-]{1,100}'.","maxLength":100,"minLength":1,"pattern":"[a-zA-Z0-9_.~-]{1,100}","type":"string"},"bumId":{"description":"Unique identifier for Basware of the document.","nullable":true,"type":"string"},"bumIdHistory":{"description":"BUM ID history, if BUM ID has changed.\nMust not be null.","items":{"description":"BUM ID history, if BUM ID has changed","type":"string"},"type":"array"},"creationTimestamp":{"description":"Timestamp of the workflow creation.\nMust not be null.","example":"2019-10-28T06:36:31Z","format":"date-time","type":"string"},"customerType":{"description":"CustomerType of this document.\nMust not be null.\nMust be one of:\n|            |\n| ---------- |\n| B_2_B      |\n| B_2_C      |\n| AFFILIATED |\n| UNKNOWN    |","type":"string"},"customerVatId":{"description":"VatId of the customer of this document.","nullable":true,"type":"string"},"documentIdent":{"description":"Ident of the document.\nMust have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~/ -]{1,100}'.","maxLength":100,"minLength":1,"pattern":"[a-zA-Z0-9_.~/ -]{1,100}","type":"string"},"documentType":{"description":"DocumentType of this document.\nMust not be null.\nMust be one of:\n|                                 |\n| ------------------------------- |\n| INVOICE                         |\n| CREDIT_MEMO                     |\n| DEPOSIT_INVOICE                 |\n| DEPOSIT_INVOICE_CANCELLATION    |\n| CREDIT_MEMO_GOODWILL            |\n| CREDIT_MEMO_WARRANTY            |\n| SELF_BILLING_INVOICE            |\n| SELF_BILLING_INVOICE_CORRECTION |","type":"string"},"message":{"description":"Latest Error Message or additional Information for this workflow.","nullable":true,"type":"string"},"modificationTimestamp":{"description":"Timestamp of the workflow creation.\nMust not be null.","example":"2019-10-28T06:36:31Z","format":"date-time","type":"string"},"notifications":{"description":"List of Notifications from Basware.\nMust not be null.","items":{"$ref":"#/components/schemas/NotificationDto"},"type":"array"},"operatingSiteIdent":{"description":"OperatingSiteIdent of this document.\nMust have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~-]{1,100}'.","maxLength":100,"minLength":1,"pattern":"[a-zA-Z0-9_.~-]{1,100}","type":"string"},"processingStatus":{"description":"Status of this workflow.\nMust not be null.\nMust be one of:\n|                       |\n| --------------------- |\n| CREATED               |\n| SENDING_CLIENT_ERROR  |\n| SENDING_SERVER_ERROR  |\n| SENDING_ERROR         |\n| RETRY                 |\n| SENT                  |\n| TECHNICAL_ACCEPT      |\n| TECHNICAL_REJECT      |\n| TECHNICAL_INFORMATION |\n| BUSINESS_ACCEPT       |\n| BUSINESS_REJECT       |\n| BUSINESS_INFORMATION  |\n| UNKNOWN_MAPPING       |","type":"string"},"recipientCode":{"description":"Recipient code.","nullable":true,"type":"string"},"requests":{"description":"Requests sent to Basware.\nMust not be null.","items":{"$ref":"#/components/schemas/RequestPair"},"type":"array"},"serviceCountry":{"description":"Service Country of this document.\nMust not be null.","type":"string"}},"required":["billingGroupIdent","bumIdHistory","creationTimestamp","customerType","documentIdent","documentType","modificationTimestamp","notifications","operatingSiteIdent","processingStatus","requests","serviceCountry"],"type":"object"}},"securitySchemes":{"oauth2":{"flows":{"clientCredentials":{"scopes":{"nbx-accounting-management-read":"Scope nbx-accounting-management-read","nbx-accounting-management-write":"Scope nbx-accounting-management-write","nbx-internal":"Scope nbx-internal","nbx-tenant-management-read":"Scope nbx-tenant-management-read","nbx-tenant-management-write":"Scope nbx-tenant-management-write"},"tokenUrl":"https://api.isx-stage-westeurope.instellix.io/<tenant_short>/oauth2/token"}},"type":"oauth2"}}},"info":{"description":"API Description for the eInvoicing adapter for Basware","title":"Basware Adapter API","version":"v2-preview-3.0.2"},"openapi":"3.0.1","paths":{"/v2/basware-forward-routes":{"get":{"description":"Resolves if the route is configured for the given input.","operationId":"resolveRoute","parameters":[{"in":"query","name":"routeResolutionRequest","required":true,"schema":{"$ref":"#/components/schemas/RouteResolutionRequest"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteResolutionResponse"}}},"description":"The request has been fulfilled, resulting in the creation of a new resource."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-read"]}],"summary":"Resolve Route","tags":["Basware forward route resolver"]}},"/v2/basware-workflows":{"get":{"description":"Get a list of all Workflows of this tenant. To reduce the result set, please use the RSQL query.","operationId":"queryWorkflows","parameters":[{"description":"Use RSQL query language. Intro here: https://aboullaite.me/rsql/.\n","example":"ident==client123","in":"query","name":"search","schema":{"type":"string"}},{"description":"Zero-based page index (0..n). Default is 0.","in":"query","name":"page","schema":{"default":0,"type":"integer"}},{"description":"Size of the page to be returned. Max page size allowed is 100, default is 20.","in":"query","name":"size","schema":{"default":20,"type":"integer"}},{"description":"A list of one or more sorting criteria each in the format 'property(,asc|desc)' with direction being case-insensitive.\nIf sorting direction is not provided, default direction is 'asc'.\nDefault sorting criteria: 'documentIdent'.","in":"query","name":"sort","schema":{"default":["documentIdent"],"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedResponseWorkflowDto"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-accounting-management-read"]}],"summary":"Query workflows","tags":["Basware workflows"]}},"/v2/basware-workflows/{documentIdent}":{"get":{"description":"Get a specific Workflow by its documentIdent.","operationId":"getWorkflow","parameters":[{"description":"Unique ident of the document, that is processed in a workflow.","in":"path","name":"documentIdent","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDto"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-accounting-management-read"]}],"summary":"Retrieve workflow","tags":["Basware workflows"]}},"/v2/basware-workflows/{documentIdent}/actions/resend-to-basware":{"post":{"description":"Resends a specific Workflow by its documentIdent.","operationId":"resendToBasware","parameters":[{"description":"Unique ident of the document, that is processed in a workflow.","in":"path","name":"documentIdent","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDto"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-accounting-management-write"]}],"summary":"Retrigger workflow","tags":["Basware workflows"]}},"/v2/basware-workflows/{documentIdent}/actions/update-recipient-code-and-resend-to-basware":{"post":{"description":"Update the recipient code and resend a specific Workflow by its documentIdent with a new BUM ID.","operationId":"updateRecipientCodeAndResendToBasware","parameters":[{"description":"Unique ident of the document, that is processed in a workflow.","in":"path","name":"documentIdent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRecipientCodeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDto"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-accounting-management-write"]}],"summary":"Update recipient code and resend workflow","tags":["Basware workflows"]}},"/v2/configurations/basware-country-configurations":{"get":{"description":"Get all Basware country configurations for a tenant.","operationId":"getBaswareCountryConfigurations","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CountryConfigurationDto"},"type":"array"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-read"]}],"summary":"Get all Basware country configurations","tags":["Basware country configuration"]}},"/v2/configurations/basware-country-configurations/{countryCode}":{"get":{"description":"Get Basware country configuration by country code for tenant.","operationId":"getBaswareCountryConfiguration","parameters":[{"description":"Country code, must be a valid alpha-2 ('DE') code.","example":"DE","in":"path","name":"countryCode","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryConfigurationDto"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-read"]}],"summary":"Get Basware country configuration","tags":["Basware country configuration"]},"post":{"description":"Update Basware country configuration by country code for tenant.","operationId":"updateBaswareCountryConfiguration","parameters":[{"description":"Country code, must be a valid alpha-2 ('DE') code.","example":"DE","in":"path","name":"countryCode","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryConfigurationDto"}}},"required":true},"responses":{"200":{"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-write"]}],"summary":"Update Basware country configuration","tags":["Basware country configuration"]}},"/v2/configurations/basware-credentials":{"delete":{"description":"Delete Basware credentials configuration for tenant.","operationId":"deleteBaswareCredentials","responses":{"204":{"description":"The server successfully processed the request, and is not returning any content."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-write"]}],"summary":"Delete Basware credentials configuration","tags":["Basware credential configuration"]},"get":{"description":"Get Basware credentials configuration for tenant.","operationId":"getBaswareCredentials","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaswareCredentialResponse"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-read"]}],"summary":"Get Basware credentials configuration","tags":["Basware credential configuration"]},"post":{"description":"Create or update Basware credentials configuration for tenant.","operationId":"updateBaswareCredentials","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaswareCredentialRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaswareCredentialResponse"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-write"]}],"summary":"Create or update Basware credentials configuration","tags":["Basware credential configuration"]}},"/v2/enum-support/basware":{"get":{"description":"Returns a list of field names and their values.","operationId":"getUsedEnumns","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnumNameList"}}},"description":"Standard response for successful HTTP requests."},"4XX":{"$ref":"#/components/responses/4XX_Client_Error_Response"},"5XX":{"$ref":"#/components/responses/5XX_Server_Error_Response"}},"security":[{"oauth2":["nbx-tenant-management-read"]}],"summary":"Get used enumerations","tags":["Basware enums"]}}},"security":[{"oauth2":[]}],"servers":[{"description":"Instellix Stage","url":"https://api.isx-stage-westeurope.instellix.io"}],"tags":[{"description":"endpoints for Basware country configuration","externalDocs":{"url":"https://docs.nitrobox.io"},"name":"Basware country configuration"},{"description":"endpoints for Basware credential configuration","externalDocs":{"url":"https://docs.nitrobox.io"},"name":"Basware credential configuration"},{"description":"endpoints for Basware forward route resolver","externalDocs":{"url":"https://docs.nitrobox.io"},"name":"Basware forward route resolver"},{"description":"endpoints for Basware workflows","externalDocs":{"url":"https://docs.nitrobox.io"},"name":"Basware workflows"},{"description":"endpoints for Basware enums","externalDocs":{"url":"https://docs.nitrobox.io"},"name":"Basware enums"}],"x-readme":{"explorer-enabled":false,"proxy-enabled":true}}