{"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":{"DeferralRuleResponseDto":{"properties":{"deferralRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["deferralRuleScript","uuid","validFrom"],"type":"object"},"DepositRuleResponseDto":{"properties":{"country":{"description":"Must not be null.","enum":["UNDEFINED","AC","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BU","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CR","CS","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","FX","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NT","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SU","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UK","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","XU","XK","YE","YT","YU","ZA","ZM","ZR","ZW"],"type":"string"},"depositRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"itemRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"segment":{"description":"Must not be null.","type":"string"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["country","depositRuleScript","itemRuleScript","segment","uuid","validFrom"],"type":"object"},"DocumentRuleResponseDto":{"properties":{"country":{"description":"Must not be null.","enum":["UNDEFINED","AC","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BU","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CR","CS","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","FX","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NT","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SU","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UK","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","XU","XK","YE","YT","YU","ZA","ZM","ZR","ZW"],"type":"string"},"documentRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"itemRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"segment":{"description":"Must not be null.","type":"string"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["country","documentRuleScript","itemRuleScript","segment","uuid","validFrom"],"type":"object"},"GlobalErrorResponse":{"description":"error response providing details about the error occurred","properties":{"errors":{"description":"optional list of multiple errors occurred","items":{"type":"object"},"type":"array"},"message":{"description":"message describing the error","type":"string"},"path":{"description":"URL path where the error occurred","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","type":"string"}},"type":"object"},"OposCaseDecisionReversedRuleResponseDto":{"properties":{"oposCaseDecisionReversedRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["oposCaseDecisionReversedRuleScript","uuid","validFrom"],"type":"object"},"OposCaseDecisionRuleResponseDto":{"properties":{"oposCaseDecisionRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["oposCaseDecisionRuleScript","uuid","validFrom"],"type":"object"},"PaymentAssignmentProcessedRuleResponseDto":{"properties":{"paymentAssignmentProcessedRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["paymentAssignmentProcessedRuleScript","uuid","validFrom"],"type":"object"},"PaymentInvoiceAssignmentReversedRuleResponseDto":{"properties":{"paymentInvoiceAssignmentReversedRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["paymentInvoiceAssignmentReversedRuleScript","uuid","validFrom"],"type":"object"},"PaymentSettledRuleResponseDto":{"properties":{"paymentTransactionSettledRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["paymentTransactionSettledRuleScript","uuid","validFrom"],"type":"object"},"PaymentTransactionCategorizedRuleResponseDto":{"properties":{"paymentTransactionCategorizedRuleScript":{"description":"Must not be null.","items":{"type":"string"},"type":"array"},"uuid":{"description":"Must not be empty.","minLength":1,"type":"string"},"validFrom":{"description":"Must not be null.","format":"date-time","type":"string"}},"required":["paymentTransactionCategorizedRuleScript","uuid","validFrom"],"type":"object"},"ResponseMessage":{"properties":{"message":{"type":"string"}},"type":"object"},"RuleConfigurationDto":{"properties":{"deferralSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"depositCreatedRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"documentSearchApproach":{"description":"Must not be null.","enum":["SEGMENT_CENTRIC","COUNTRY_CENTRIC"],"type":"string"},"oposCaseDecisionReversedRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"oposCaseDecisionRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentAssignmentProcessedSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentInvoiceAssignmentReversedSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentSettledSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentTransactionCategorizedRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"}},"required":["deferralSearchApproach","depositCreatedRuleSearchApproach","documentSearchApproach","oposCaseDecisionReversedRuleSearchApproach","oposCaseDecisionRuleSearchApproach","paymentAssignmentProcessedSearchApproach","paymentInvoiceAssignmentReversedSearchApproach","paymentSettledSearchApproach","paymentTransactionCategorizedRuleSearchApproach"],"type":"object"},"StoredMessagingEventRetriggerRequest":{"description":"A request to retrigger stored events for processing of a specific event type.","properties":{"bookingCorrelationIds":{"description":"Must not be empty.","items":{"type":"string"},"minItems":1,"type":"array","uniqueItems":true},"eventType":{"description":"Must not be null.","enum":["DOCUMENT","PAYMENT_TRANSACTION_SETTLED","PAYMENT_ASSIGNMENT_PROCESSED","PAYMENT_INVOICE_ASSIGNMENT_REVERSED","DEPOSIT_CREATED","PAYMENT_TRANSACTION_CATEGORIZED","OPOS_CASE_DECISION","OPOS_CASE_DECISION_REVERSED","DEFERRAL"],"type":"string"}},"required":["bookingCorrelationIds","eventType"],"type":"object"},"TenantRuleConfigurationDto":{"properties":{"deferralSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"depositCreatedRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"documentSearchApproach":{"description":"Must not be null.","enum":["SEGMENT_CENTRIC","COUNTRY_CENTRIC"],"type":"string"},"oposCaseDecisionReversedRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"oposCaseDecisionRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentAssignmentProcessedSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentInvoiceAssignmentReversedSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentSettledSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"paymentTransactionCategorizedRuleSearchApproach":{"description":"Must not be null.","enum":["DEFAULT"],"type":"string"},"tenantId":{"format":"int64","type":"integer"}},"required":["deferralSearchApproach","depositCreatedRuleSearchApproach","documentSearchApproach","oposCaseDecisionReversedRuleSearchApproach","oposCaseDecisionRuleSearchApproach","paymentAssignmentProcessedSearchApproach","paymentInvoiceAssignmentReversedSearchApproach","paymentSettledSearchApproach","paymentTransactionCategorizedRuleSearchApproach"],"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"},"tokenUrl":"https://api.isx-stage-westeurope.instellix.io/<tenant_short>/oauth2/token"}},"type":"oauth2"}}},"info":{"description":"API Description for Booking-Engine","title":"Booking Engine API","version":"v2-preview-0.305.7"},"openapi":"3.0.1","paths":{"/v2/booking/events/actions/retrigger-processing":{"post":{"operationId":"retriggerStoredMessagingEvent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoredMessagingEventRetriggerRequest"}}},"required":true},"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-accounting-management-write"]}],"summary":"Retrigger the processing of stored events of a specific event type","tags":["preview"]}},"/v2/rule/deferral":{"get":{"description":"Return list of deferral rules for the tenant identified by the tenantId header.","operationId":"getDeferralRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DeferralRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch deferral rules for tenant","tags":["preview"]},"post":{"description":"Saving new rule for deferral logic processing.","operationId":"createDeferralRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"deferralRuleFile":{"format":"binary","type":"string"}},"required":["deferralRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeferralRuleResponseDto"}}},"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":"Create deferral rule","tags":["preview"]}},"/v2/rule/deferral/active":{"get":{"operationId":"getCurrentlyUsedDeferralRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active deferral rule for tenant","tags":["preview"]}},"/v2/rule/deferral/all":{"get":{"operationId":"getAllDeferralRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DeferralRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all deferral rules for tenant","tags":["preview"]}},"/v2/rule/deferral/{uuid}":{"delete":{"description":"Removes deferral rule that matches uuid and tenantId header.","operationId":"deleteDeferralRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete deferral rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for deferral rule that matches provided uuid and tenantId header.","operationId":"getZippedDeferralRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching deferral rule's scripts","tags":["preview"]}},"/v2/rule/deposit":{"post":{"description":"Saving new rule for deposit created event.","operationId":"createDepositRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"depositRuleFile":{"format":"binary","type":"string"}},"required":["depositRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositRuleResponseDto"}}},"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":"Create deposit rule","tags":["preview"]}},"/v2/rule/deposit/active":{"get":{"operationId":"getCurrentlyUsedDepositRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/deposit/all":{"get":{"operationId":"getAllDepositRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DepositRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all deposit rules for tenantId","tags":["preview"]}},"/v2/rule/deposit/{uuid}":{"delete":{"description":"Removes deposit rule that matches uuid and tenantId header.","operationId":"deleteDepositRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete deposit rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for deposit rule that matches provided uuid and tenantId header.","operationId":"getZippedDepositRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching deposit rule's scripts","tags":["preview"]}},"/v2/rule/document":{"get":{"description":"Return list of document rules that matches criteria from request parameters.","operationId":"getDocumentRules","parameters":[{"in":"query","name":"businessSegmentIdent","schema":{"default":"","type":"string"}},{"in":"query","name":"country","schema":{"default":"UNDEFINED","enum":["UNDEFINED","AC","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BU","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CR","CS","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","FX","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NT","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SU","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UK","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","XU","XK","YE","YT","YU","ZA","ZM","ZR","ZW"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DocumentRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch document rules using businessSegment, country and tenantId","tags":["preview"]},"post":{"description":"Saving new rule for document created event.","operationId":"createDocumentRule","parameters":[{"in":"query","name":"businessSegmentIdent","required":true,"schema":{"type":"string"}},{"in":"query","name":"country","required":true,"schema":{"enum":["UNDEFINED","AC","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BU","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CR","CS","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","FX","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NT","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SU","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UK","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","XU","XK","YE","YT","YU","ZA","ZM","ZR","ZW"],"type":"string"}},{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"documentRuleFile":{"format":"binary","type":"string"},"itemRuleFile":{"format":"binary","type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentRuleResponseDto"}}},"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":"Create document rule","tags":["preview"]}},"/v2/rule/document/active":{"get":{"operationId":"getCurrentlyUsedDocumentRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/document/all":{"get":{"operationId":"getAllDocumentRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DocumentRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all document rules for tenant","tags":["preview"]}},"/v2/rule/document/{uuid}":{"delete":{"description":"Removes document rule that matches uuid and tenantId header.","operationId":"deleteDocumentRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete document rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for document rule that matches provided uuid and tenantId header.","operationId":"getZippedDocumentRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching document rule's scripts","tags":["preview"]}},"/v2/rule/opos-case":{"post":{"description":"Saving new rule for opos case decision event.","operationId":"createOposCaseDecisionRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"oposCaseDecisionRuleFile":{"format":"binary","type":"string"}},"required":["oposCaseDecisionRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OposCaseDecisionRuleResponseDto"}}},"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":"Create opos case decision rule","tags":["preview"]}},"/v2/rule/opos-case/active":{"get":{"operationId":"getCurrentlyUsedOposCaseDecisionRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/opos-case/all":{"get":{"operationId":"getAllOposCaseDecisionRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OposCaseDecisionRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all opos case decision rules for tenant","tags":["preview"]}},"/v2/rule/opos-case/reversed":{"post":{"description":"Saving new rule for opos case decision reversed event.","operationId":"createOposCaseDecisionReversedRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"oposCaseDecisionReversedRuleFile":{"format":"binary","type":"string"}},"required":["oposCaseDecisionReversedRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OposCaseDecisionReversedRuleResponseDto"}}},"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":"Create opos case decision reversed rule","tags":["preview"]}},"/v2/rule/opos-case/reversed/active":{"get":{"operationId":"getCurrentlyUsedOposCaseDecisionReversedRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/opos-case/reversed/all":{"get":{"operationId":"getAllOposCaseDecisionReversedRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OposCaseDecisionReversedRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all opos case decision reversed rules for tenant","tags":["preview"]}},"/v2/rule/opos-case/reversed/{uuid}":{"delete":{"description":"Removes opos case decision reversed rule that matches uuid and tenantId header.","operationId":"deleteOposCaseDecisionReversedRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete opos case decision reversed rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for opos case decision reversed rule that matches provided uuid and tenantId header.","operationId":"getZippedOposCaseDecisionReversedRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching opos case decision reversed rule's scripts","tags":["preview"]}},"/v2/rule/opos-case/{uuid}":{"delete":{"description":"Removes opos case decision rule that matches uuid and tenantId header.","operationId":"deleteOposCaseDecisionRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete opos case decision rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for opos case decision rule that matches provided uuid and tenantId header.","operationId":"getZippedOposCaseDecisionRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching opos case decision rule's scripts","tags":["preview"]}},"/v2/rule/payment/assignment/processed":{"post":{"description":"Saving new rule for payment assignment processed event.","operationId":"createPaymentAssignmentProcessedRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"paymentAssignmentProcessedRuleFile":{"format":"binary","type":"string"}},"required":["paymentAssignmentProcessedRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentAssignmentProcessedRuleResponseDto"}}},"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":"Create payment assignment processed rule","tags":["preview"]}},"/v2/rule/payment/assignment/processed/active":{"get":{"operationId":"getCurrentlyUsedPaymentAssignmentProcessedRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/payment/assignment/processed/all":{"get":{"operationId":"getAllPaymentAssignmentProcessedRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentAssignmentProcessedRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all payment assignment processed rules for tenant","tags":["preview"]}},"/v2/rule/payment/assignment/processed/{uuid}":{"delete":{"description":"Removes payment assignment processed rule that matches uuid and tenantId header.","operationId":"deletePaymentAssignmentProcessedRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete payment assignment processed rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for payment assignment processed rule that matches provided uuid and tenantId header.","operationId":"getZippedPaymentAssignmentProcessedRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching payment assignment processed rule's scripts","tags":["preview"]}},"/v2/rule/payment/categorized":{"post":{"description":"Saving new rule for payment transaction categorized event.","operationId":"createPaymentTransactionCategorizedRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"paymentTransactionCategorizedRuleFile":{"format":"binary","type":"string"}},"required":["paymentTransactionCategorizedRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentTransactionCategorizedRuleResponseDto"}}},"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":"Create payment transaction categorized rule","tags":["preview"]}},"/v2/rule/payment/categorized/active":{"get":{"operationId":"getCurrentlyUsedPaymentTransactionCategorizedRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/payment/categorized/all":{"get":{"operationId":"getAllPaymentTransactionCategorizedRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentTransactionCategorizedRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all payment transaction categorized rules for tenantId","tags":["preview"]}},"/v2/rule/payment/categorized/{uuid}":{"delete":{"description":"Removes payment transaction categorized rule that matches uuid and tenantId header.","operationId":"deletePaymentTransactionCategorizedRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete payment transaction categorized rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for payment transaction categorized rule that matches provided uuid and tenantId header.","operationId":"getZippedPaymentTransactionCategorizedRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching payment transaction categorized rule's scripts","tags":["preview"]}},"/v2/rule/payment/invoice/assignment/reversed":{"post":{"description":"Saving new rule for payment assignment reversed event.","operationId":"createPaymentInvoiceAssignmentReversedRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"paymentInvoiceAssignmentReversedRuleFile":{"format":"binary","type":"string"}},"required":["paymentInvoiceAssignmentReversedRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentInvoiceAssignmentReversedRuleResponseDto"}}},"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":"Create payment invoice assignment reversed rule","tags":["preview"]}},"/v2/rule/payment/invoice/assignment/reversed/active":{"get":{"operationId":"getCurrentlyUsedPaymentInvoiceAssignmentReversedRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/payment/invoice/assignment/reversed/all":{"get":{"operationId":"getAllPaymentInvoiceAssignmentReversedRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentInvoiceAssignmentReversedRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all payment invoice assignment reversed rules for tenant","tags":["preview"]}},"/v2/rule/payment/invoice/assignment/reversed/{uuid}":{"delete":{"description":"Removes payment invoice assignment reversed rule that matches uuid and tenantId header.","operationId":"deletePaymentInvoiceAssignmentReversedRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete payment invoice assignment reversed rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for payment invoice assignment reversed rule that matches provided uuid and tenantId header.","operationId":"getZippedPaymentInvoiceAssignmentReversedRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching payment invoice assignment reversed rule's scripts","tags":["preview"]}},"/v2/rule/payment/settled":{"post":{"description":"Saving new rule for payment transaction settled event.","operationId":"createPaymentSettledRule","parameters":[{"in":"query","name":"validFrom","required":true,"schema":{"format":"date-time","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"paymentSettledRuleFile":{"format":"binary","type":"string"}},"required":["paymentSettledRuleFile"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentSettledRuleResponseDto"}}},"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":"Create payment settled rule","tags":["preview"]}},"/v2/rule/payment/settled/active":{"get":{"operationId":"getCurrentlyUsedPaymentSettledRule","responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetch currently used active rule for tenant","tags":["preview"]}},"/v2/rule/payment/settled/all":{"get":{"operationId":"getAllPaymentSettledRules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentSettledRuleResponseDto"},"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-accounting-management-read"]}],"summary":"Fetch all payment settled rules for tenantId","tags":["preview"]}},"/v2/rule/payment/settled/{uuid}":{"delete":{"description":"Removes payment transaction settled rule that matches uuid and tenantId header.","operationId":"deletePaymentSettledRule","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseMessage"}}},"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":"Delete payment settled rule","tags":["preview"]},"get":{"description":"Returns zipped directory with scripts for payment transaction settled rule that matches provided uuid and tenantId header.","operationId":"getZippedPaymentSettledRules","parameters":[{"in":"path","name":"uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"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":"Fetching payment settled rule's scripts","tags":["preview"]}}},"security":[{"oauth2":[]}],"servers":[{"description":"Instellix Stage","url":"https://api.isx-stage-westeurope.instellix.io"}],"x-readme":{"explorer-enabled":false,"proxy-enabled":true}}