{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/finance:softledger/authentication-request-token":{"post":{"operationId":"finance_softledger_authentication_request_token","summary":"Request Token","description":"POST /oauth/token","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-consolidated-balance":{"post":{"operationId":"finance_softledger_financials_get_consolidated_balance","summary":"Account Balance by Currency","description":"POST /reports/accountBalance","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-aging-bills":{"post":{"operationId":"finance_softledger_financials_get_aging_bills","summary":"AP Aging Bills","description":"POST /reports/aging/bills","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-aging-invoices":{"post":{"operationId":"finance_softledger_financials_get_aging_invoices","summary":"AR Aging Invoices","description":"POST /reports/aging/Invoices","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-approved-bills-aging":{"post":{"operationId":"finance_softledger_financials_get_approved_bills_aging","summary":"AP Aging","description":"POST /reports/aging/ap","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-aging-ar":{"post":{"operationId":"finance_softledger_financials_get_aging_ar","summary":"AR Aging","description":"POST /reports/aging/ar","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-calculate-current-period-income":{"post":{"operationId":"finance_softledger_financials_calculate_current_period_income","summary":"Current Period Income","description":"POST /reports/financialFormula","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-generate-report-data":{"post":{"operationId":"finance_softledger_financials_generate_report_data","summary":"Entity Report","description":"POST /reports/financialReport","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-generate-dimension-report":{"post":{"operationId":"finance_softledger_financials_generate_dimension_report","summary":"Dimension Report","description":"POST /reports/financials","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-general-ledger-balances":{"post":{"operationId":"finance_softledger_financials_get_general_ledger_balances","summary":"General Ledger","description":"POST /reports/generalLedger","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/financials-get-trial-balance":{"post":{"operationId":"finance_softledger_financials_get_trial_balance","summary":"Trial Balance","description":"POST /reports/trialBalance","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-revalue-get-rates":{"get":{"operationId":"finance_softledger_fx_revalue_get_rates","summary":"Get Rates","description":"GET /fx-revalue/rates/{AccountingPeriodId}","tags":["finance"],"parameters":[{"name":"AccountingPeriodId","in":"query","required":true,"description":"AccountingPeriod._id value","schema":{"type":"integer","description":"AccountingPeriod._id value"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-revalue-save-rates-for-period":{"post":{"operationId":"finance_softledger_fx_revalue_save_rates_for_period","summary":"Save Rates","description":"POST /fx-revalue/rates/{AccountingPeriodId}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountingPeriodId"],"properties":{"AccountingPeriodId":{"type":"integer","description":"AccountingPeriod._id value"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-revalue-post-entries":{"post":{"operationId":"finance_softledger_fx_revalue_post_entries","summary":"Post Adjustments","description":"POST /fx-revalue/adjustments/{AccountingPeriodId}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountingPeriodId"],"properties":{"AccountingPeriodId":{"type":"integer","description":"AccountingPeriod._id value"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-revalue-delete-adjustments":{"post":{"operationId":"finance_softledger_fx_revalue_delete_adjustments","summary":"Delete Adjustments","description":"DELETE /fx-revalue/adjustments/{AccountingPeriodId}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountingPeriodId"],"properties":{"AccountingPeriodId":{"type":"integer","description":"AccountingPeriod._id value"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/status-job-status":{"get":{"operationId":"finance_softledger_status_job_status","summary":"Get Status","description":"GET /status/{type}","tags":["finance"],"parameters":[{"name":"type","in":"query","required":true,"description":"API type","schema":{"type":"string","enum":["costbasis","crypto-journals","inventory"],"description":"API type"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/addresses-search-filterable-sortable":{"get":{"operationId":"finance_softledger_addresses_search_filterable_sortable","summary":"Search","description":"GET /addresses","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"label:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/addresses-create-new-address":{"post":{"operationId":"finance_softledger_addresses_create_new_address","summary":"Create","description":"POST /addresses","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/addresses-get-count":{"get":{"operationId":"finance_softledger_addresses_get_count","summary":"Count","description":"GET /addresses/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/addresses-update-one-address":{"post":{"operationId":"finance_softledger_addresses_update_one_address","summary":"Update","description":"PUT /addresses/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Address Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/addresses-delete-address":{"post":{"operationId":"finance_softledger_addresses_delete_address","summary":"Delete","description":"DELETE /addresses/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Address Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/addresses-get-one-address":{"get":{"operationId":"finance_softledger_addresses_get_one_address","summary":"One","description":"GET /addresss/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Address Id","schema":{"type":"string","description":"Address Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/audit-logs-list-descending-by-date":{"get":{"operationId":"finance_softledger_audit_logs_list_descending_by_date","summary":"Search","description":"GET /audit-logs","tags":["finance"],"parameters":[{"name":"where","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-search-filterable-sortable":{"get":{"operationId":"finance_softledger_batch_payments_search_filterable_sortable","summary":"Search","description":"GET /batch-payments","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"referenceNumber:DESC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-create-new-batch-payment":{"post":{"operationId":"finance_softledger_batch_payments_create_new_batch_payment","summary":"Create","description":"POST /batch-payments","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-approve":{"post":{"operationId":"finance_softledger_batch_payments_approve","summary":"Approve","description":"PUT /batch-payments/{id}/approve","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"BatchPayment._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-get-bills":{"get":{"operationId":"finance_softledger_batch_payments_get_bills","summary":"Bills","description":"GET /batch-payments/{id}/bills","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"BatchPayment._id","schema":{"type":"string","description":"BatchPayment._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-get-bills-count":{"get":{"operationId":"finance_softledger_batch_payments_get_bills_count","summary":"Bills Count","description":"GET /batch-payments/{id}/bills/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"id","in":"query","required":true,"description":"BatchPayment._id","schema":{"type":"string","description":"BatchPayment._id"}},{"name":"credit","in":"query","required":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount.","schema":{"type":"boolean","default":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-get-count":{"get":{"operationId":"finance_softledger_batch_payments_get_count","summary":"Count","description":"GET /batch-payments/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-get-one":{"get":{"operationId":"finance_softledger_batch_payments_get_one","summary":"One","description":"GET /batch-payments/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"BatchPayment._id","schema":{"type":"string","description":"BatchPayment._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-delete-one":{"post":{"operationId":"finance_softledger_batch_payments_delete_one","summary":"Delete","description":"DELETE /batch-payments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Batch Payment Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-get-payments":{"get":{"operationId":"finance_softledger_batch_payments_get_payments","summary":"Payments","description":"GET /batch-payments/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"BatchPayment._id","schema":{"type":"string","description":"BatchPayment._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-get-payments-count":{"get":{"operationId":"finance_softledger_batch_payments_get_payments_count","summary":"Payments Count","description":"GET /batch-payments/{id}/payments/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"id","in":"query","required":true,"description":"BatchPayment._id","schema":{"type":"string","description":"BatchPayment._id"}},{"name":"type","in":"query","required":false,"description":"Filter by AP or AR payments If not specified, all payment types will be returned","schema":{"type":"string","enum":["ap","ar"],"description":"Filter by AP or AR payments If not specified, all payment types will be returned"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/batch-payments-void-batch-payment":{"post":{"operationId":"finance_softledger_batch_payments_void_batch_payment","summary":"Void","description":"PUT /batch-payments/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"BatchPayment._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-list":{"get":{"operationId":"finance_softledger_bills_list","summary":"Search","description":"GET /bills","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"credit","in":"query","required":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount.","schema":{"type":"boolean","default":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-create-bill":{"post":{"operationId":"finance_softledger_bills_create_bill","summary":"Create","description":"POST /bills","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-search-lines":{"get":{"operationId":"finance_softledger_bills_search_lines","summary":"Line Search","description":"GET /bills/lines","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"Bill.invoiceNumber:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"credit","in":"query","required":false,"description":"Filter by credit status of the Bill. Operates as follows: - If 'credit' is false, lines from Bills that have 'Bill.amount' greater than or…","schema":{"type":"boolean","description":"Filter by credit status of the Bill. Operates as follows: - If 'credit' is false, lines from Bills that have 'Bill.amount' greater than or…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-get-unpaid":{"get":{"operationId":"finance_softledger_bills_get_unpaid","summary":"Unpaid Bills","description":"GET /bills/unpaid","tags":["finance"],"parameters":[{"name":"filterCurrency","in":"query","required":false,"description":"Provide this to only show unpaid bills in the specified currency. This parameter is optional.","schema":{"type":"string","description":"Provide this to only show unpaid bills in the specified currency. This parameter is optional."}},{"name":"filterLocationId","in":"query","required":false,"description":"Ref: \"Location\"._id Provide this to only show unpaid bills from the specified location. Bills from child locations of the provided…","schema":{"type":"string","description":"Ref: \"Location\"._id Provide this to only show unpaid bills from the specified location. Bills from child locations of the provided…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-approve-bill":{"post":{"operationId":"finance_softledger_bills_approve_bill","summary":"Approve","description":"PUT /bills/{id}/approve","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Bill._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-count-items":{"get":{"operationId":"finance_softledger_bills_count_items","summary":"Count","description":"GET /bills/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"credit","in":"query","required":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount.","schema":{"type":"boolean","default":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-get-line-count":{"get":{"operationId":"finance_softledger_bills_get_line_count","summary":"Line Count","description":"GET /bills/lines/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"credit","in":"query","required":false,"description":"Filter by credit status of the Bill. Operates as follows: - If 'credit' is false, lines from Bills that have 'Bill.amount' greater than or…","schema":{"type":"boolean","description":"Filter by credit status of the Bill. Operates as follows: - If 'credit' is false, lines from Bills that have 'Bill.amount' greater than or…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-count-unpaid":{"get":{"operationId":"finance_softledger_bills_count_unpaid","summary":"Count Unpaid","description":"GET /bills/count/unpaid","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"filterCurrency","in":"query","required":false,"description":"Provide this to only show unpaid bills in the specified currency. This parameter is optional.","schema":{"type":"string","description":"Provide this to only show unpaid bills in the specified currency. This parameter is optional."}},{"name":"filterLocationId","in":"query","required":false,"description":"Ref: \"Location\"._id Provide this to only show unpaid bills from the specified location. Bills from child locations of the provided…","schema":{"type":"string","description":"Ref: \"Location\"._id Provide this to only show unpaid bills from the specified location. Bills from child locations of the provided…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-create-line-item":{"post":{"operationId":"finance_softledger_bills_create_line_item","summary":"Create Line","description":"POST /bills/{id}/line","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Bill._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-get-one":{"get":{"operationId":"finance_softledger_bills_get_one","summary":"One","description":"GET /bills/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Bill._id","schema":{"type":"string","description":"Bill._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-update-one-bill":{"post":{"operationId":"finance_softledger_bills_update_one_bill","summary":"Update","description":"PUT /bills/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Bill Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-delete-one-bill":{"post":{"operationId":"finance_softledger_bills_delete_one_bill","summary":"Delete","description":"DELETE /bills/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Bill Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-update-line-item":{"post":{"operationId":"finance_softledger_bills_update_line_item","summary":"Update Line","description":"PUT /bills/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"BillLineItem._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-delete-line":{"post":{"operationId":"finance_softledger_bills_delete_line","summary":"Delete Line","description":"DELETE /bills/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"BillLine._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-get-payments":{"get":{"operationId":"finance_softledger_bills_get_payments","summary":"Payments","description":"GET /bills/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Bill._id","schema":{"type":"string","description":"Bill._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/bills-void-bill":{"post":{"operationId":"finance_softledger_bills_void_bill","summary":"Void","description":"PUT /bills/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Bill._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-search-sortable":{"get":{"operationId":"finance_softledger_cash_receipts_search_sortable","summary":"Search","description":"GET /cash-receipts","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-create-new":{"post":{"operationId":"finance_softledger_cash_receipts_create_new","summary":"Create","description":"POST /cash-receipts","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-get-count":{"get":{"operationId":"finance_softledger_cash_receipts_get_count","summary":"Count","description":"GET /cash-receipts/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-get-one":{"get":{"operationId":"finance_softledger_cash_receipts_get_one","summary":"One","description":"GET /cash-receipts/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Cash Receipt Id","schema":{"type":"string","description":"Cash Receipt Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-update-one":{"post":{"operationId":"finance_softledger_cash_receipts_update_one","summary":"Update","description":"PUT /cash-receipts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Cash Receipt Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-delete-one":{"post":{"operationId":"finance_softledger_cash_receipts_delete_one","summary":"Delete","description":"DELETE /cash-receipts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Cash Receipt Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-get-payments":{"get":{"operationId":"finance_softledger_cash_receipts_get_payments","summary":"Payments","description":"GET /cash-receipts/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"CashReceipt._id","schema":{"type":"string","description":"CashReceipt._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cash-receipts-void-one":{"post":{"operationId":"finance_softledger_cash_receipts_void_one","summary":"Void","description":"PUT /cash-receipts/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Cash Receipt Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-list":{"get":{"operationId":"finance_softledger_coins_list","summary":"Search","description":"GET /coins","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"symbol:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-create-new-coin":{"post":{"operationId":"finance_softledger_coins_create_new_coin","summary":"Create","description":"POST /coins","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-list-crypto-transactions":{"get":{"operationId":"finance_softledger_coins_list_crypto_transactions","summary":"Crypto Transactions","description":"GET /coins/{CoinId}/crypto-transactions","tags":["finance"],"parameters":[{"name":"CoinId","in":"query","required":true,"description":"Coin._id","schema":{"type":"string","description":"Coin._id"}},{"name":"walletId","in":"query","required":false,"description":"Wallet._id Limits results to transactions that involve the specified wallet","schema":{"type":"string","description":"Wallet._id Limits results to transactions that involve the specified wallet"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-get-summary-by-id":{"get":{"operationId":"finance_softledger_coins_get_summary_by_id","summary":"Id Summary","description":"GET /coins/{CoinId}/summary","tags":["finance"],"parameters":[{"name":"CoinId","in":"query","required":true,"description":"Coin._id","schema":{"type":"string","description":"Coin._id"}},{"name":"hideZero","in":"query","required":false,"description":"exclude zero balance coins","schema":{"type":"boolean","description":"exclude zero balance coins"}},{"name":"date","in":"query","required":false,"description":"date to filter by. defaults to \"now\" ISO DateTime","schema":{"type":"string","description":"date to filter by. defaults to \"now\" ISO DateTime"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"consolidated","in":"query","required":false,"description":"True = match on the Location & its children. False = match only wallets in this location.","schema":{"type":"boolean","description":"True = match on the Location & its children. False = match only wallets in this location."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-count-crypto-transactions":{"get":{"operationId":"finance_softledger_coins_count_crypto_transactions","summary":"Count","description":"GET /coins/{CoinId}/crypto-transactions/count","tags":["finance"],"parameters":[{"name":"CoinId","in":"query","required":true,"description":"Coin._id value","schema":{"type":"string","description":"Coin._id value"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-get-by-id":{"get":{"operationId":"finance_softledger_coins_get_by_id","summary":"One","description":"GET /coins/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Coin Id","schema":{"type":"string","description":"Coin Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-update-one-coin":{"post":{"operationId":"finance_softledger_coins_update_one_coin","summary":"Update","description":"PUT /coins/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Coin Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-delete-coin":{"post":{"operationId":"finance_softledger_coins_delete_coin","summary":"Delete","description":"DELETE /coins/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Coin Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-get-by-rate-id":{"get":{"operationId":"finance_softledger_coins_get_by_rate_id","summary":"Known Coin","description":"GET /coins/list/{rateId}","tags":["finance"],"parameters":[{"name":"rateId","in":"query","required":true,"description":"RateId for the Coin","schema":{"type":"string","description":"RateId for the Coin"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-get-list":{"get":{"operationId":"finance_softledger_coins_get_list","summary":"Known Coins","description":"GET /coins/list","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Case Insensitive filter for symbol or name of coin","schema":{"type":"string","description":"Case Insensitive filter for symbol or name of coin"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-get-rate":{"get":{"operationId":"finance_softledger_coins_get_rate","summary":"Coin Rate","description":"GET /coins/{id}/rate","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"_id of Coin to get rate for Ref: Coin._id","schema":{"type":"string","description":"_id of Coin to get rate for Ref: Coin._id"}},{"name":"date","in":"query","required":true,"description":"Date to provide rate on","schema":{"type":"string","description":"Date to provide rate on"}},{"name":"fiat","in":"query","required":false,"description":"Fiat currency to show rate in Ref: Currency.code","schema":{"type":"string","default":"USD","description":"Fiat currency to show rate in Ref: Currency.code"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/coins-get-summary-coins":{"get":{"operationId":"finance_softledger_coins_get_summary_coins","summary":"Summary","description":"GET /coins/summary","tags":["finance"],"parameters":[{"name":"showHidden","in":"query","required":false,"description":"include hidden coins","schema":{"type":"boolean","description":"include hidden coins"}},{"name":"hideZero","in":"query","required":false,"description":"exclude zero balance coins","schema":{"type":"boolean","description":"exclude zero balance coins"}},{"name":"date","in":"query","required":false,"description":"date to filter by. defaults to \"now\" ISO Date","schema":{"type":"string","description":"date to filter by. defaults to \"now\" ISO Date"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"consolidated","in":"query","required":false,"description":"True = match on the Location & its children. False = match only wallets in this location.","schema":{"type":"boolean","description":"True = match on the Location & its children. False = match only wallets in this location."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/consolidation-rates-search-filterable-sortable":{"get":{"operationId":"finance_softledger_consolidation_rates_search_filterable_sortable","summary":"Search","description":"GET /consolidation-rates","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"LocationId","in":"query","required":false,"description":"Will include data from this Parent Location and its children only","schema":{"type":"number","description":"Will include data from this Parent Location and its children only"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/consolidation-rates-upsert-rate":{"post":{"operationId":"finance_softledger_consolidation_rates_upsert_rate","summary":"Upsert","description":"PUT /consolidation-rates","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/consolidation-rates-get-record":{"get":{"operationId":"finance_softledger_consolidation_rates_get_record","summary":"One","description":"GET /consolidation-rates/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"ConsolidationRate._id","schema":{"type":"string","description":"ConsolidationRate._id"}},{"name":"system","in":"query","required":false,"description":"Set this to true to return the system generated rate values for this record","schema":{"type":"boolean","default":false,"description":"Set this to true to return the system generated rate values for this record"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/consolidation-rates-populate-rates":{"post":{"operationId":"finance_softledger_consolidation_rates_populate_rates","summary":"Populate","description":"POST /consolidation-rates/populate","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/consolidation-rates-reset-rate":{"post":{"operationId":"finance_softledger_consolidation_rates_reset_rate","summary":"Reset Rate","description":"PUT /consolidation-rates/{id}/reset","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"ConsolidationRate._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/contacts-search-filterable-sortable":{"get":{"operationId":"finance_softledger_contacts_search_filterable_sortable","summary":"Search","description":"GET /contacts","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/contacts-create-new-contact":{"post":{"operationId":"finance_softledger_contacts_create_new_contact","summary":"Create","description":"POST /contacts","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/contacts-get-count":{"get":{"operationId":"finance_softledger_contacts_get_count","summary":"Count","description":"GET /contacts/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/contacts-get-by-id":{"get":{"operationId":"finance_softledger_contacts_get_by_id","summary":"One","description":"GET /contacts/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Contact Id","schema":{"type":"string","description":"Contact Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/contacts-update-one-contact":{"post":{"operationId":"finance_softledger_contacts_update_one_contact","summary":"Update","description":"PUT /contacts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Contact Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/contacts-delete-one-contact":{"post":{"operationId":"finance_softledger_contacts_delete_one_contact","summary":"Delete","description":"DELETE /contacts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Contact Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cost-centers-search-filterable-sortable":{"get":{"operationId":"finance_softledger_cost_centers_search_filterable_sortable","summary":"Search","description":"GET /cost-centers","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cost-centers-create-cost-center":{"post":{"operationId":"finance_softledger_cost_centers_create_cost_center","summary":"Create","description":"POST /cost-centers","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cost-centers-count-get":{"get":{"operationId":"finance_softledger_cost_centers_count_get","summary":"Count","description":"GET /cost-centers/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cost-centers-get-one":{"get":{"operationId":"finance_softledger_cost_centers_get_one","summary":"One","description":"GET /cost-centers/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Cost Center Id","schema":{"type":"string","description":"Cost Center Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/cost-centers-update-webhook":{"post":{"operationId":"finance_softledger_cost_centers_update_webhook","summary":"Update","description":"PUT /cost-centers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Cost Center Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/cost-centers-delete-one":{"post":{"operationId":"finance_softledger_cost_centers_delete_one","summary":"Delete","description":"DELETE /cost-centers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Cost Center Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-get-next-cost-basis":{"get":{"operationId":"finance_softledger_crypto_transactions_get_next_cost_basis","summary":"Cost Basis","description":"GET /crypto-transactions/cost-basis","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-start-cost-basis-process":{"post":{"operationId":"finance_softledger_crypto_transactions_start_cost_basis_process","summary":"Cost Basis","description":"POST /crypto-transactions/cost-basis","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-cancel-cost-basis-process":{"post":{"operationId":"finance_softledger_crypto_transactions_cancel_cost_basis_process","summary":"Cost Basis","description":"DELETE /crypto-transactions/cost-basis","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-list-cost-layers-descending":{"get":{"operationId":"finance_softledger_crypto_transactions_list_cost_layers_descending","summary":"Cost Layers","description":"GET /crypto-transactions/{id}/layers","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Transaction id to get cost layers for","schema":{"type":"string","description":"Transaction id to get cost layers for"}},{"name":"type","in":"query","required":true,"description":"Type of cost layers to return","schema":{"type":"string","enum":["s","f"],"description":"Type of cost layers to return"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-get-transactions-count":{"get":{"operationId":"finance_softledger_crypto_transactions_get_transactions_count","summary":"Count","description":"GET /crypto-transactions/count","tags":["finance"],"parameters":[{"name":"coinId","in":"query","required":false,"description":"Coin._id Limits results to the specified coin","schema":{"type":"string","description":"Coin._id Limits results to the specified coin"}},{"name":"walletId","in":"query","required":false,"description":"Wallet._id Limits results to the specified wallet","schema":{"type":"string","description":"Wallet._id Limits results to the specified wallet"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"costLayers","in":"query","required":false,"description":"Only returns Crypto Transactions that have unused cost layers.","schema":{"type":"boolean","default":false,"description":"Only returns Crypto Transactions that have unused cost layers."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-search-filterable-sortable":{"get":{"operationId":"finance_softledger_crypto_transactions_search_filterable_sortable","summary":"Search","description":"GET /crypto-transactions","tags":["finance"],"parameters":[{"name":"coinId","in":"query","required":false,"description":"Coin._id Limits results to the specified coin","schema":{"type":"string","description":"Coin._id Limits results to the specified coin"}},{"name":"walletId","in":"query","required":false,"description":"Wallet._id Limits results to the specified wallet","schema":{"type":"string","description":"Wallet._id Limits results to the specified wallet"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"costLayers","in":"query","required":false,"description":"Only returns Crypto Transactions that have unused cost layers.","schema":{"type":"boolean","default":false,"description":"Only returns Crypto Transactions that have unused cost layers."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"date:DESC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-create-new-transaction":{"post":{"operationId":"finance_softledger_crypto_transactions_create_new_transaction","summary":"Create","description":"POST /crypto-transactions","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-get-one":{"get":{"operationId":"finance_softledger_crypto_transactions_get_one","summary":"One","description":"GET /crypto-transactions/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Crypto Transaction Id","schema":{"type":"string","description":"Crypto Transaction Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-update-one-transaction":{"post":{"operationId":"finance_softledger_crypto_transactions_update_one_transaction","summary":"Update","description":"PUT /crypto-transactions/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Crypto Transaction Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-delete-one":{"post":{"operationId":"finance_softledger_crypto_transactions_delete_one","summary":"Delete","description":"DELETE /crypto-transactions/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Crypto Transaction Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-merge-transactions":{"post":{"operationId":"finance_softledger_crypto_transactions_merge_transactions","summary":"Merge","description":"POST /crypto-transactions/merge","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/crypto-transactions-start-journal-process":{"post":{"operationId":"finance_softledger_crypto_transactions_start_journal_process","summary":"Create Journals","description":"POST /crypto-transactions/create-journals","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/currencies-get-all":{"get":{"operationId":"finance_softledger_currencies_get_all","summary":"Search","description":"GET /currency","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/currencies-create-new-currency":{"post":{"operationId":"finance_softledger_currencies_create_new_currency","summary":"Create","description":"POST /currency","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/currencies-get-forex-rates":{"get":{"operationId":"finance_softledger_currencies_get_forex_rates","summary":"Search","description":"GET /currency/{code}/forex-rates","tags":["finance"],"parameters":[{"name":"code","in":"query","required":true,"description":"Currency Code","schema":{"type":"string","description":"Currency Code"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/currencies-get-one-currency":{"get":{"operationId":"finance_softledger_currencies_get_one_currency","summary":"Get one","description":"GET /currency/{code}","tags":["finance"],"parameters":[{"name":"code","in":"query","required":true,"description":"Currency Code","schema":{"type":"string","description":"Currency Code"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/currencies-update-currency":{"post":{"operationId":"finance_softledger_currencies_update_currency","summary":"Update","description":"PUT /currency/{code}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Currency Code"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/currencies-delete-currency":{"post":{"operationId":"finance_softledger_currencies_delete_currency","summary":"Delete","description":"DELETE /currency/{code}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Currency Code"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-dimensions-search-filterable-sortable":{"get":{"operationId":"finance_softledger_custom_dimensions_search_filterable_sortable","summary":"Search","description":"GET /custom/{name}","tags":["finance"],"parameters":[{"name":"name","in":"query","required":true,"description":"Custom Dimension Object Type Name","schema":{"type":"string","description":"Custom Dimension Object Type Name"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-dimensions-create-new-custom-dimension":{"post":{"operationId":"finance_softledger_custom_dimensions_create_new_custom_dimension","summary":"Create","description":"POST /custom/{name}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Custom Dimension Object Type Name"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-dimensions-get-count":{"get":{"operationId":"finance_softledger_custom_dimensions_get_count","summary":"Count","description":"GET /custom/{name}/count","tags":["finance"],"parameters":[{"name":"name","in":"query","required":true,"description":"Custom Dimension Object Type Name","schema":{"type":"string","description":"Custom Dimension Object Type Name"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-dimensions-get-one-dimension":{"get":{"operationId":"finance_softledger_custom_dimensions_get_one_dimension","summary":"One","description":"GET /custom/{name}/{id}","tags":["finance"],"parameters":[{"name":"name","in":"query","required":true,"description":"Custom Dimension Object Type Name","schema":{"type":"string","description":"Custom Dimension Object Type Name"}},{"name":"id","in":"query","required":true,"description":"Custom Dimension Id","schema":{"type":"string","description":"Custom Dimension Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-dimensions-update-dimension":{"post":{"operationId":"finance_softledger_custom_dimensions_update_dimension","summary":"Update","description":"PUT /custom/{name}/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","id"],"properties":{"name":{"type":"string","description":"Custom Dimension Object Type Name"},"id":{"type":"string","description":"Custom Dimension Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-dimensions-delete-dimension":{"post":{"operationId":"finance_softledger_custom_dimensions_delete_dimension","summary":"Delete","description":"DELETE /custom/{name}/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","id"],"properties":{"name":{"type":"string","description":"Custom Dimension Object Type Name"},"id":{"type":"string","description":"Custom Dimension Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-search-filterable-sortable":{"get":{"operationId":"finance_softledger_customers_search_filterable_sortable","summary":"Search","description":"GET /customers","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-create-new-customer":{"post":{"operationId":"finance_softledger_customers_create_new_customer","summary":"Create","description":"POST /customers","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-get-count":{"get":{"operationId":"finance_softledger_customers_get_count","summary":"Count","description":"GET /customers/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-get-one-customer":{"get":{"operationId":"finance_softledger_customers_get_one_customer","summary":"One","description":"GET /customers/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Customer Id","schema":{"type":"string","description":"Customer Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-update-one-customer":{"post":{"operationId":"finance_softledger_customers_update_one_customer","summary":"Update","description":"PUT /customers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Customer Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-delete-customer":{"post":{"operationId":"finance_softledger_customers_delete_customer","summary":"Delete","description":"DELETE /customers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Customer Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-get-invoices-for":{"get":{"operationId":"finance_softledger_customers_get_invoices_for","summary":"Invoices","description":"GET /customers/{id}/invoices","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Customer._id","schema":{"type":"string","description":"Customer._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-get-customer-payments":{"get":{"operationId":"finance_softledger_customers_get_customer_payments","summary":"Payments","description":"GET /customers/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Customer._id","schema":{"type":"string","description":"Customer._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-email-statement":{"post":{"operationId":"finance_softledger_customers_email_statement","summary":"Email Statement","description":"PUT /customers/{id}/email/statement","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Customer._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/customers-get-statement-pdf":{"get":{"operationId":"finance_softledger_customers_get_statement_pdf","summary":"Statement PDF","description":"GET /customers/{id}/pdf/statement","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Customer._id","schema":{"type":"string","description":"Customer._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-fields-delete-property":{"post":{"operationId":"finance_softledger_custom_fields_delete_property","summary":"Delete","description":"DELETE /custom-fields/{type}/{property}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type","property"],"properties":{"type":{"type":"string","description":"Type for custom field"},"property":{"type":"string","description":"Property in the custom field"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-fields-search":{"get":{"operationId":"finance_softledger_custom_fields_search","summary":"Search","description":"GET /custom-fields/{type}","tags":["finance"],"parameters":[{"name":"type","in":"query","required":true,"description":"Type for custom field","schema":{"type":"string","description":"Type for custom field"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/custom-fields-upsert-field":{"post":{"operationId":"finance_softledger_custom_fields_upsert_field","summary":"Upsert","description":"POST /custom-fields/{type}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["bill","coin","customer","item","invoiceType","invoiceLineItems","purchaseOrder","poLineItems","vendor","invoiceLevel","salesOrder"],"description":"Type for custom field"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/emails-get-all":{"get":{"operationId":"finance_softledger_emails_get_all","summary":"All","description":"GET /emails","tags":["finance"],"parameters":[{"name":"offset","in":"query","required":false,"description":"number of records to skip","schema":{"type":"integer","default":0,"description":"number of records to skip"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"objectType","in":"query","required":true,"description":"Dimension Object Type","schema":{"type":"string","enum":["Invoice","PurchaseOrder","SalesOrder"],"description":"Dimension Object Type"}},{"name":"objectId","in":"query","required":true,"description":"Dimension Object Id","schema":{"type":"integer","description":"Dimension Object Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/emails-get-message-details":{"get":{"operationId":"finance_softledger_emails_get_message_details","summary":"Message Details","description":"GET /emails/{messageid}","tags":["finance"],"parameters":[{"name":"messageid","in":"query","required":true,"description":"Message id","schema":{"type":"string","description":"Message id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-remeasure-post-journals":{"post":{"operationId":"finance_softledger_fx_remeasure_post_journals","summary":"Post Journals","description":"POST /fx-remeasure/{AccountingPeriodId}/journals","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountingPeriodId"],"properties":{"AccountingPeriodId":{"type":"string","description":"AccountPeriod._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-remeasure-delete-journals":{"post":{"operationId":"finance_softledger_fx_remeasure_delete_journals","summary":"Delete Journals","description":"DELETE /fx-remeasure/{AccountingPeriodId}/journals","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountingPeriodId"],"properties":{"AccountingPeriodId":{"type":"string","description":"AccountPeriod._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-remeasure-get-balances-for-period":{"get":{"operationId":"finance_softledger_fx_remeasure_get_balances_for_period","summary":"Get Balances","description":"GET /fx-remeasure/{AccountingPeriodId}/balances","tags":["finance"],"parameters":[{"name":"AccountingPeriodId","in":"query","required":true,"description":"AccountPeriod._id","schema":{"type":"string","description":"AccountPeriod._id"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"currency:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-remeasure-get-current-rates":{"get":{"operationId":"finance_softledger_fx_remeasure_get_current_rates","summary":"Get Rates","description":"GET /fx-remeasure/{AccountingPeriodId}","tags":["finance"],"parameters":[{"name":"AccountingPeriodId","in":"query","required":true,"description":"AccountPeriod._id","schema":{"type":"string","description":"AccountPeriod._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/fx-remeasure-upsert-rates":{"post":{"operationId":"finance_softledger_fx_remeasure_upsert_rates","summary":"Upsert Rates","description":"PUT /fx-remeasure/{AccountingPeriodId}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountingPeriodId"],"properties":{"AccountingPeriodId":{"type":"string","description":"AccountPeriod._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-get-next-cost-basis-run":{"get":{"operationId":"finance_softledger_stock_adjustments_get_next_cost_basis_run","summary":"Cost Basis","description":"GET /inventory/cost-basis","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-start-cost-basis-process":{"post":{"operationId":"finance_softledger_stock_adjustments_start_cost_basis_process","summary":"Cost Basis","description":"POST /inventory/cost-basis","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-search-filterable-sortable":{"get":{"operationId":"finance_softledger_invoices_search_filterable_sortable","summary":"Search","description":"GET /invoices","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:DESC","description":"Order to return results in. ex \"date:desc\""}},{"name":"credit","in":"query","required":false,"description":"If true, only returns AR Credits i.e. invoices with a negative amount. If false or not specified, only returns invoice with a positive…","schema":{"type":"boolean","default":false,"description":"If true, only returns AR Credits i.e. invoices with a negative amount. If false or not specified, only returns invoice with a positive…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-create-new-invoice":{"post":{"operationId":"finance_softledger_invoices_create_new_invoice","summary":"Create","description":"POST /invoices","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-search-lines":{"get":{"operationId":"finance_softledger_invoices_search_lines","summary":"Search Lines","description":"GET /invoices/lines","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"Invoice.invoiceDate:DESC","description":"Order to return results in. ex \"date:desc\""}},{"name":"credit","in":"query","required":false,"description":"Filter by credit status of the Invoice. Operates as follows: - If 'credit' is false, lines from Invoices that have 'Invoice.amount'…","schema":{"type":"boolean","description":"Filter by credit status of the Invoice. Operates as follows: - If 'credit' is false, lines from Invoices that have 'Invoice.amount'…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-count-lines":{"get":{"operationId":"finance_softledger_invoices_count_lines","summary":"Count Lines","description":"GET /invoices/lines/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"credit","in":"query","required":false,"description":"Filter by credit status of the Invoice. Operates as follows: - If 'credit' is false, lines from Invoices that have 'Invoice.amount'…","schema":{"type":"boolean","description":"Filter by credit status of the Invoice. Operates as follows: - If 'credit' is false, lines from Invoices that have 'Invoice.amount'…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-get-unpaid-invoices":{"get":{"operationId":"finance_softledger_invoices_get_unpaid_invoices","summary":"Unpaid Invoices","description":"GET /invoices/unpaid","tags":["finance"],"parameters":[{"name":"filterCurrency","in":"query","required":false,"description":"Provide this to only show unpaid invoices in the specified currency. This parameter is optional.","schema":{"type":"string","description":"Provide this to only show unpaid invoices in the specified currency. This parameter is optional."}},{"name":"filterLocationId","in":"query","required":false,"description":"Ref: \"Location\"._id Provide this to only show unpaid invoices from the specified location. Invoices from child locations of the provided…","schema":{"type":"string","description":"Ref: \"Location\"._id Provide this to only show unpaid invoices from the specified location. Invoices from child locations of the provided…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-count-items":{"get":{"operationId":"finance_softledger_invoices_count_items","summary":"Count","description":"GET /invoices/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-create-line-item":{"post":{"operationId":"finance_softledger_invoices_create_line_item","summary":"Create Line","description":"POST /invoices/{id}/line","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Invoice._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-update-one-invoice":{"post":{"operationId":"finance_softledger_invoices_update_one_invoice","summary":"Update","description":"PUT /invoices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Invoice Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-delete-one-invoice":{"post":{"operationId":"finance_softledger_invoices_delete_one_invoice","summary":"Delete","description":"DELETE /invoices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Invoice Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-update-line-item":{"post":{"operationId":"finance_softledger_invoices_update_line_item","summary":"Update Line","description":"PUT /invoices/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"InvoiceLineItem._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-delete-line":{"post":{"operationId":"finance_softledger_invoices_delete_line","summary":"Delete Line","description":"DELETE /invoices/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"InvoiceLine._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-send-email":{"post":{"operationId":"finance_softledger_invoices_send_email","summary":"Email","description":"PUT /invoices/{id}/email","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Invoice._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-issue-invoice":{"post":{"operationId":"finance_softledger_invoices_issue_invoice","summary":"Issue","description":"PUT /invoices/{id}/issue","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Invoice._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-get-one":{"get":{"operationId":"finance_softledger_invoices_get_one","summary":"One","description":"GET /invoice/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Invoice._id","schema":{"type":"string","description":"Invoice._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-get-payments":{"get":{"operationId":"finance_softledger_invoices_get_payments","summary":"Payments","description":"GET /invoices/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Invoice._id","schema":{"type":"string","description":"Invoice._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-get-pdf":{"get":{"operationId":"finance_softledger_invoices_get_pdf","summary":"PDF","description":"GET /invoices/{id}/pdf","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Invoice._id","schema":{"type":"string","description":"Invoice._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/invoices-void-invoice":{"post":{"operationId":"finance_softledger_invoices_void_invoice","summary":"Void","description":"PUT /invoices/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Invoice._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-get-filtered-items":{"get":{"operationId":"finance_softledger_items_get_filtered_items","summary":"Search","description":"GET /items","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-create-new-item":{"post":{"operationId":"finance_softledger_items_create_new_item","summary":"Create","description":"POST /items","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-count-filtered-items":{"get":{"operationId":"finance_softledger_items_count_filtered_items","summary":"Count","description":"GET /items/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-get-one-item":{"get":{"operationId":"finance_softledger_items_get_one_item","summary":"One","description":"GET /items/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Item Id","schema":{"type":"string","description":"Item Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-update-one-item":{"post":{"operationId":"finance_softledger_items_update_one_item","summary":"Update","description":"PUT /items/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Item Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-delete-item":{"post":{"operationId":"finance_softledger_items_delete_item","summary":"Delete","description":"DELETE /items/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Item Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/items-get-stock-summary":{"get":{"operationId":"finance_softledger_items_get_stock_summary","summary":"Summary","description":"GET /items/{id}/stock/summary","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Item Id","schema":{"type":"string","description":"Item Id"}},{"name":"childWh","in":"query","required":false,"description":"Determine if the summary balances include stock from child warehouses","schema":{"type":"boolean","description":"Determine if the summary balances include stock from child warehouses"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/jobs-get-filterable-sortable":{"get":{"operationId":"finance_softledger_jobs_get_filterable_sortable","summary":"Search","description":"GET /jobs","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/jobs-create-job":{"post":{"operationId":"finance_softledger_jobs_create_job","summary":"Create","description":"POST /jobs","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/jobs-count-jobs":{"get":{"operationId":"finance_softledger_jobs_count_jobs","summary":"Count","description":"GET /jobs/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/jobs-get-one-job":{"get":{"operationId":"finance_softledger_jobs_get_one_job","summary":"One","description":"GET /jobs/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Job Id","schema":{"type":"string","description":"Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/jobs-update-job-webhooks":{"post":{"operationId":"finance_softledger_jobs_update_job_webhooks","summary":"Update","description":"PUT /jobs/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Job Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/jobs-delete-job-by-id":{"post":{"operationId":"finance_softledger_jobs_delete_job_by_id","summary":"Delete","description":"DELETE /jobs/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Job Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-count-entries":{"get":{"operationId":"finance_softledger_journals_count_entries","summary":"Count","description":"GET /journals/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"`editable` counts draft journals that can be edited directly. `icdoc` counts draft intercompany document journals that can be edited…","schema":{"type":"string","enum":["draft","editable","icdoc","posted"],"description":"`editable` counts draft journals that can be edited directly. `icdoc` counts draft intercompany document journals that can be edited…"}},{"name":"LocationId","in":"query","required":false,"description":"Will include transactions from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include transactions from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-search-filterable-sortable":{"get":{"operationId":"finance_softledger_journals_search_filterable_sortable","summary":"Search","description":"GET /journals","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"`editable` returns draft journals that can be edited directly. `icdoc` returns draft intercompany document journals that can be edited…","schema":{"type":"string","enum":["draft","editable","icdoc","posted"],"description":"`editable` returns draft journals that can be edited directly. `icdoc` returns draft intercompany document journals that can be edited…"}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"LocationId","in":"query","required":false,"description":"Will include transactions from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include transactions from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-create-new-journal":{"post":{"operationId":"finance_softledger_journals_create_new_journal","summary":"Create","description":"POST /journals","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-get-journal-by-id":{"get":{"operationId":"finance_softledger_journals_get_journal_by_id","summary":"One","description":"GET /journals/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Journal _id","schema":{"type":"string","description":"Journal _id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-update-one-journal":{"post":{"operationId":"finance_softledger_journals_update_one_journal","summary":"Update","description":"PUT /journals/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Journal Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-delete-one-journal":{"post":{"operationId":"finance_softledger_journals_delete_one_journal","summary":"Delete","description":"DELETE /journals/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Journal Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-search-lines":{"get":{"operationId":"finance_softledger_journals_search_lines","summary":"Search Lines","description":"GET /journals/lines","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"postedDate:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"LocationId","in":"query","required":false,"description":"Will include transactions from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include transactions from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-get-lines-count":{"get":{"operationId":"finance_softledger_journals_get_lines_count","summary":"Lines Count","description":"GET /journals/lines/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/journals-post-draft-journal":{"post":{"operationId":"finance_softledger_journals_post_draft_journal","summary":"Post","description":"PUT /journals/{id}/post","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Journal Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-search-filterable-sortable":{"get":{"operationId":"finance_softledger_ledger_accounts_search_filterable_sortable","summary":"Search","description":"GET /ledger-accounts","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"type","in":"query","required":false,"description":"Filter accounts by type (optional), if not provided all types will be returned","schema":{"type":"string","enum":["Asset","Liability","Equity","Revenue","Expense"],"description":"Filter accounts by type (optional), if not provided all types will be returned"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-create-new-account":{"post":{"operationId":"finance_softledger_ledger_accounts_create_new_account","summary":"Create","description":"POST /ledger-accounts","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-count-filtered-items":{"get":{"operationId":"finance_softledger_ledger_accounts_count_filtered_items","summary":"Count","description":"GET /ledger-accounts/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"type","in":"query","required":false,"description":"Filter accounts by type (optional), if not provided all types will be returned","schema":{"type":"string","enum":["Asset","Liability","Equity","Revenue","Expense"],"description":"Filter accounts by type (optional), if not provided all types will be returned"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-get-one":{"get":{"operationId":"finance_softledger_ledger_accounts_get_one","summary":"One","description":"GET /ledger-accounts/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Ledger Account Id","schema":{"type":"string","description":"Ledger Account Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-update-one":{"post":{"operationId":"finance_softledger_ledger_accounts_update_one","summary":"Update","description":"PUT /ledger-accounts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Ledger Account Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-delete-account":{"post":{"operationId":"finance_softledger_ledger_accounts_delete_account","summary":"Delete","description":"DELETE /ledger-accounts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Ledger Account Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-get-all-subtypes":{"get":{"operationId":"finance_softledger_ledger_accounts_get_all_subtypes","summary":"Get All Subtypes for type","description":"GET /ledger-accounts/subtypes/{param}","tags":["finance"],"parameters":[{"name":"param","in":"query","required":true,"description":"Ledger Account Type","schema":{"type":"string","description":"Ledger Account Type"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-delete-subtype":{"post":{"operationId":"finance_softledger_ledger_accounts_delete_subtype","summary":"Delete Subtype","description":"DELETE /ledger-accounts/subtypes/{param}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["param"],"properties":{"param":{"type":"string","description":"subtype"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-get-all-subtypes-2":{"get":{"operationId":"finance_softledger_ledger_accounts_get_all_subtypes_2","summary":"Get All Subtypes","description":"GET /ledger-accounts/subtypes","tags":["finance"],"parameters":[{"name":"mapgroups","in":"query","required":false,"description":"If provided, will return subtypes with group mappings as a collection; If not provided, will return all subtypes as an array of strings;","schema":{"type":"boolean","description":"If provided, will return subtypes with group mappings as a collection; If not provided, will return all subtypes as an array of strings;"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/ledger-accounts-upsert-subtype-report-group-mappings":{"post":{"operationId":"finance_softledger_ledger_accounts_upsert_subtype_report_group_mappings","summary":"Upsert Subtypes","description":"PUT /ledger-accounts/subtypes","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-search-accounts":{"get":{"operationId":"finance_softledger_locations_search_accounts","summary":"Search Accounts","description":"GET /locations/{id}/accounts","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"id","in":"query","required":true,"description":"Location _id","schema":{"type":"string","description":"Location _id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-search-filterable-sortable":{"get":{"operationId":"finance_softledger_locations_search_filterable_sortable","summary":"Search","description":"GET /locations","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-create-location":{"post":{"operationId":"finance_softledger_locations_create_location","summary":"Create","description":"POST /locations","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-get-count":{"get":{"operationId":"finance_softledger_locations_get_count","summary":"Count","description":"GET /locations/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-get-one-location":{"get":{"operationId":"finance_softledger_locations_get_one_location","summary":"One","description":"GET /locations/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Location _id","schema":{"type":"string","description":"Location _id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-update-one-location":{"post":{"operationId":"finance_softledger_locations_update_one_location","summary":"Update","description":"PUT /locations/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Location Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-delete-one-location":{"post":{"operationId":"finance_softledger_locations_delete_one_location","summary":"Delete","description":"DELETE /locations/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Location Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-get-descendants":{"get":{"operationId":"finance_softledger_locations_get_descendants","summary":"Descendants","description":"GET /locations/{id}/descendants","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Location Id","schema":{"type":"string","description":"Location Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/locations-get-my-location-tree":{"get":{"operationId":"finance_softledger_locations_get_my_location_tree","summary":"Me","description":"GET /locations/me","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/part-numbers-search-filterable-sortable":{"get":{"operationId":"finance_softledger_part_numbers_search_filterable_sortable","summary":"Search","description":"GET /part-numbers","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"_id:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/part-numbers-create-new-part-number":{"post":{"operationId":"finance_softledger_part_numbers_create_new_part_number","summary":"Create","description":"POST /part-numbers","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/part-numbers-get-one":{"get":{"operationId":"finance_softledger_part_numbers_get_one","summary":"One","description":"GET /part-numbers/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Part Number Id","schema":{"type":"string","description":"Part Number Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/part-numbers-update-one-part-number":{"post":{"operationId":"finance_softledger_part_numbers_update_one_part_number","summary":"Update","description":"PUT /part-numbers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Part Number Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/part-numbers-delete-one":{"post":{"operationId":"finance_softledger_part_numbers_delete_one","summary":"Delete","description":"DELETE /part-numbers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Part Number Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-search-filterable-sortable":{"get":{"operationId":"finance_softledger_payments_search_filterable_sortable","summary":"Search","description":"GET /payments","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"_id:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"type","in":"query","required":false,"description":"Filter by AP or AR payments If not specified, all payment types will be returned","schema":{"type":"string","enum":["ap","ar"],"description":"Filter by AP or AR payments If not specified, all payment types will be returned"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-create-new-payment":{"post":{"operationId":"finance_softledger_payments_create_new_payment","summary":"Create","description":"POST /payments","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-approve-payment":{"post":{"operationId":"finance_softledger_payments_approve_payment","summary":"Approve","description":"PUT /payments/{id}/approve","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Payment Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-get-count":{"get":{"operationId":"finance_softledger_payments_get_count","summary":"Count","description":"GET /payments/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"type","in":"query","required":false,"description":"Filter by AP or AR payments If not specified, all payment types will be returned","schema":{"type":"string","enum":["ap","ar"],"description":"Filter by AP or AR payments If not specified, all payment types will be returned"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-get-payment-by-id":{"get":{"operationId":"finance_softledger_payments_get_payment_by_id","summary":"One","description":"GET /payments/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Payment Id","schema":{"type":"string","description":"Payment Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-update-payment":{"post":{"operationId":"finance_softledger_payments_update_payment","summary":"Update","description":"PUT /payments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Payment Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-delete-one":{"post":{"operationId":"finance_softledger_payments_delete_one","summary":"Delete","description":"DELETE /payments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Payment Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/payments-void-payment":{"post":{"operationId":"finance_softledger_payments_void_payment","summary":"Void","description":"PUT /payments/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Payment._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/periods-close-task":{"post":{"operationId":"finance_softledger_periods_close_task","summary":"Close","description":"PUT /periods/{id}/close/{task}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","task"],"properties":{"id":{"type":"string","description":"Period Id"},"task":{"type":"string","enum":["ar","ap","financial","crypto","inventory","period"],"description":"Task to close"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/periods-open-task":{"post":{"operationId":"finance_softledger_periods_open_task","summary":"Open","description":"PUT /periods/{id}/open/{task}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","task"],"properties":{"id":{"type":"string","description":"Period Id"},"task":{"type":"string","enum":["ar","ap","financial","crypto","inventory","period"],"description":"Task to open"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/periods-get-all-periods":{"get":{"operationId":"finance_softledger_periods_get_all_periods","summary":"Get All","description":"GET /periods","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/preferences-get-descending-preferences":{"get":{"operationId":"finance_softledger_preferences_get_descending_preferences","summary":"Search","description":"GET /preferences","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/preferences-create-new":{"post":{"operationId":"finance_softledger_preferences_create_new","summary":"Create","description":"POST /preferences","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/preferences-get-preference-by-id":{"get":{"operationId":"finance_softledger_preferences_get_preference_by_id","summary":"One","description":"GET /preferences/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Preference Id","schema":{"type":"string","description":"Preference Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/preferences-update-preference":{"post":{"operationId":"finance_softledger_preferences_update_preference","summary":"Update","description":"PUT /preferences/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Preference Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/preferences-delete-preference":{"post":{"operationId":"finance_softledger_preferences_delete_preference","summary":"Delete","description":"DELETE /preferences/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Preference Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/products-search-filterable-sortable":{"get":{"operationId":"finance_softledger_products_search_filterable_sortable","summary":"Search","description":"GET /products","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/products-create-new-product":{"post":{"operationId":"finance_softledger_products_create_new_product","summary":"Create","description":"POST /products","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/products-get-count":{"get":{"operationId":"finance_softledger_products_get_count","summary":"Count","description":"GET /products/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/products-get-one-product":{"get":{"operationId":"finance_softledger_products_get_one_product","summary":"One","description":"GET /products/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Product Id","schema":{"type":"string","description":"Product Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/products-update-product-webhooks":{"post":{"operationId":"finance_softledger_products_update_product_webhooks","summary":"Update","description":"PUT /products/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Product Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/products-delete-product":{"post":{"operationId":"finance_softledger_products_delete_product","summary":"Delete","description":"DELETE /products/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Product Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-get-stock-adjustments":{"get":{"operationId":"finance_softledger_purchase_orders_get_stock_adjustments","summary":"Stock Adjustments","description":"GET /purchase-orders/{id}/stock-adjustments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"PurchaseOrder._id","schema":{"type":"string","description":"PurchaseOrder._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-search-filterable-sortable":{"get":{"operationId":"finance_softledger_purchase_orders_search_filterable_sortable","summary":"Search","description":"GET /purchase-orders","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-create-new":{"post":{"operationId":"finance_softledger_purchase_orders_create_new","summary":"Create","description":"POST /purchase-orders","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-search-lines-filterable-sortable":{"get":{"operationId":"finance_softledger_purchase_orders_search_lines_filterable_sortable","summary":"Search Lines","description":"GET /purchase-orders/lines","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"idx:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"receivableOnly","in":"query","required":false,"description":"Set this to true to only return lines that can be received Criteria for receivable lines is as under: - Line's 'quantity' is not equal to…","schema":{"type":"boolean","default":false,"description":"Set this to true to only return lines that can be received Criteria for receivable lines is as under: - Line's 'quantity' is not equal to…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-search-lines":{"get":{"operationId":"finance_softledger_purchase_orders_search_lines","summary":"Search Lines by Purchase Order","description":"GET /purchase-orders/{id}/lines","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"PurchaseOrder._id","schema":{"type":"string","description":"PurchaseOrder._id"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"idx:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"receivableOnly","in":"query","required":false,"description":"Set this to true to only return lines that can be received Criteria for receivable lines is as under: - Line's 'quantity' is not equal to…","schema":{"type":"boolean","default":false,"description":"Set this to true to only return lines that can be received Criteria for receivable lines is as under: - Line's 'quantity' is not equal to…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-count-items":{"get":{"operationId":"finance_softledger_purchase_orders_count_items","summary":"Count","description":"GET /purchase-orders/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-count-lines":{"get":{"operationId":"finance_softledger_purchase_orders_count_lines","summary":"Count Lines","description":"GET /purchase-orders/lines/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"receivableOnly","in":"query","required":false,"description":"Set this to true to only return lines that can be received Criteria for receivable lines is as under: - Line's 'quantity' is not equal to…","schema":{"type":"boolean","default":false,"description":"Set this to true to only return lines that can be received Criteria for receivable lines is as under: - Line's 'quantity' is not equal to…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-create-line-item":{"post":{"operationId":"finance_softledger_purchase_orders_create_line_item","summary":"Create Line","description":"POST /purchase-orders/{id}/line","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Purchase Order._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-get-order-by-id":{"get":{"operationId":"finance_softledger_purchase_orders_get_order_by_id","summary":"One","description":"GET /purchase-orders/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Purchase Order._id","schema":{"type":"string","description":"Purchase Order._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-update-by-id":{"post":{"operationId":"finance_softledger_purchase_orders_update_by_id","summary":"Update","description":"PUT /purchase-orders/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Purchase Order._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-delete-one":{"post":{"operationId":"finance_softledger_purchase_orders_delete_one","summary":"Delete","description":"DELETE /purchase-orders/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"PurchaseOrder id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-update-line-item":{"post":{"operationId":"finance_softledger_purchase_orders_update_line_item","summary":"Update Line","description":"PUT /purchase-orders/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"POLineItem._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-delete-line":{"post":{"operationId":"finance_softledger_purchase_orders_delete_line","summary":"Delete Line","description":"DELETE /purchase-orders/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"POLineItem id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-send-email-to-vendor":{"post":{"operationId":"finance_softledger_purchase_orders_send_email_to_vendor","summary":"Email","description":"PUT /purchase-orders/{id}/email","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"PurchaseOrder._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-issue-order":{"post":{"operationId":"finance_softledger_purchase_orders_issue_order","summary":"Issue","description":"PUT /purchase-orders/{id}/issue","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"PurchaseOrder._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-get-pdf":{"get":{"operationId":"finance_softledger_purchase_orders_get_pdf","summary":"PDF","description":"GET /purchase-orders/{id}/pdf","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"PurchaseOrder._id","schema":{"type":"string","description":"PurchaseOrder._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-unissue-order":{"post":{"operationId":"finance_softledger_purchase_orders_unissue_order","summary":"Unissue","description":"PUT /purchase-orders/{id}/unissue","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"PurchaseOrder._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/purchase-orders-void-order":{"post":{"operationId":"finance_softledger_purchase_orders_void_order","summary":"Void","description":"PUT /purchase-orders/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Purchase Order Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/recurring-jobs-search-filterable-sortable":{"get":{"operationId":"finance_softledger_recurring_jobs_search_filterable_sortable","summary":"Search","description":"GET /recurring-jobs","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/recurring-jobs-create-new-recurring-job":{"post":{"operationId":"finance_softledger_recurring_jobs_create_new_recurring_job","summary":"Create","description":"POST /recurring-jobs","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/recurring-jobs-update-one-job":{"post":{"operationId":"finance_softledger_recurring_jobs_update_one_job","summary":"Update","description":"PUT /recurring-jobs/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Recurring Job Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/recurring-jobs-delete-one-job":{"post":{"operationId":"finance_softledger_recurring_jobs_delete_one_job","summary":"Delete","description":"DELETE /recurring-jobs/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Recurring Job Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/roles-list-all-roles":{"get":{"operationId":"finance_softledger_roles_list_all_roles","summary":"All","description":"GET /roles","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/roles-get-permissions":{"get":{"operationId":"finance_softledger_roles_get_permissions","summary":"One","description":"GET /roles/{id}/permissions","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Role id","schema":{"type":"string","description":"Role id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-accept-sales-order":{"post":{"operationId":"finance_softledger_sales_orders_accept_sales_order","summary":"Accept","description":"PUT /sales-orders/{id}/accept","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SalesOrder Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-get-stock-adjustments":{"get":{"operationId":"finance_softledger_sales_orders_get_stock_adjustments","summary":"Stock Adjustments","description":"GET /sales-orders/{id}/stock-adjustments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"SalesOrder._id","schema":{"type":"string","description":"SalesOrder._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-search-filterable-sortable":{"get":{"operationId":"finance_softledger_sales_orders_search_filterable_sortable","summary":"Search","description":"GET /sales-orders","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"status","in":"query","required":false,"description":"A CSV string containing the statuses you'd like to filter for joined with commas (No spaces). ex: 'quote,pending,order'. This query param…","schema":{"type":"string","enum":["quote","pending","rejected","order","partiallyFulfilled","fulfilled","voided","completed"],"description":"A CSV string containing the statuses you'd like to filter for joined with commas (No spaces). ex: 'quote,pending,order'. This query param…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-create-new-sales-order":{"post":{"operationId":"finance_softledger_sales_orders_create_new_sales_order","summary":"Create","description":"POST /sales-orders","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-list-lines-filterable-sortable":{"get":{"operationId":"finance_softledger_sales_orders_list_lines_filterable_sortable","summary":"Line Search","description":"GET /sales-orders/lines","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"SalesOrder.number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"type","in":"query","required":false,"description":"Use this to control whether to return fulfillable/unfulfillable lines Set this to 'fulfill' to return lines that can be fulfilled,…","schema":{"type":"string","enum":["fulfill","unfulfill"],"description":"Use this to control whether to return fulfillable/unfulfillable lines Set this to 'fulfill' to return lines that can be fulfilled,…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-get-lines-count":{"get":{"operationId":"finance_softledger_sales_orders_get_lines_count","summary":"Lines Count","description":"GET /sales-orders/lines/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"type","in":"query","required":false,"description":"Use this to control whether to count fulfillable/unfulfillable lines Set this to 'fulfill' to count lines that can be fulfilled, criteria…","schema":{"type":"string","enum":["fulfill","unfulfill"],"description":"Use this to control whether to count fulfillable/unfulfillable lines Set this to 'fulfill' to count lines that can be fulfilled, criteria…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-complete-order":{"post":{"operationId":"finance_softledger_sales_orders_complete_order","summary":"Complete","description":"PUT /sales-orders/{id}/complete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SalesOrder Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-count-all":{"get":{"operationId":"finance_softledger_sales_orders_count_all","summary":"Count All","description":"GET /sales-orders/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-create-line-item":{"post":{"operationId":"finance_softledger_sales_orders_create_line_item","summary":"Create Line","description":"POST /sales-orders/{id}/line","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SOLineItem Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-get-order":{"get":{"operationId":"finance_softledger_sales_orders_get_order","summary":"One","description":"GET /sales-orders/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Sales Order._id","schema":{"type":"string","description":"Sales Order._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-update-one":{"post":{"operationId":"finance_softledger_sales_orders_update_one","summary":"Update","description":"PUT /sales-orders/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SalesOrder Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-delete-one":{"post":{"operationId":"finance_softledger_sales_orders_delete_one","summary":"Delete","description":"DELETE /sales-orders/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Sales Order Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-update-line":{"post":{"operationId":"finance_softledger_sales_orders_update_line","summary":"Update Line","description":"PUT /sales-orders/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SOLineItem._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-delete-line":{"post":{"operationId":"finance_softledger_sales_orders_delete_line","summary":"Delete Line","description":"DELETE /sales-orders/line/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SOLineItem._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-email-to-customer":{"post":{"operationId":"finance_softledger_sales_orders_email_to_customer","summary":"Email","description":"PUT /sales-orders/{id}/email","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SalesOrder._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-fulfill-line-item":{"post":{"operationId":"finance_softledger_sales_orders_fulfill_line_item","summary":"Fulfill Line","description":"PUT /sales-orders/line/{id}/fulfill","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SOLineItem Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-issue-sales-order":{"post":{"operationId":"finance_softledger_sales_orders_issue_sales_order","summary":"Issue","description":"PUT /sales-orders/{id}/issue","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Sales Order._id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-search-order-lines":{"get":{"operationId":"finance_softledger_sales_orders_search_order_lines","summary":"Order Line Search","description":"GET /sales-orders/{id}/lines","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"SalesOrder Id","schema":{"type":"string","description":"SalesOrder Id"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"SalesOrder.number:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"type","in":"query","required":false,"description":"Use this to control whether to return fulfillable/unfulfillable lines Set this to 'fulfill' to return lines that can be fulfilled,…","schema":{"type":"string","enum":["fulfill","unfulfill"],"description":"Use this to control whether to return fulfillable/unfulfillable lines Set this to 'fulfill' to return lines that can be fulfilled,…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-get-lines-count-2":{"get":{"operationId":"finance_softledger_sales_orders_get_lines_count_2","summary":"Order Lines Count","description":"GET /sales-orders/{id}/lines/count","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"SalesOrder Id","schema":{"type":"string","description":"SalesOrder Id"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"type","in":"query","required":false,"description":"Use this to control whether to count fulfillable/unfulfillable lines Set this to 'fulfill' to count lines that can be fulfilled, criteria…","schema":{"type":"string","enum":["fulfill","unfulfill"],"description":"Use this to control whether to count fulfillable/unfulfillable lines Set this to 'fulfill' to count lines that can be fulfilled, criteria…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-get-pdf":{"get":{"operationId":"finance_softledger_sales_orders_get_pdf","summary":"PDF","description":"GET /sales-orders/{id}/pdf","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"SalesOrder._id","schema":{"type":"string","description":"SalesOrder._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-reject-sales-order":{"post":{"operationId":"finance_softledger_sales_orders_reject_sales_order","summary":"Reject","description":"PUT /sales-orders/{id}/reject","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SalesOrder Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-uncomplete-one":{"post":{"operationId":"finance_softledger_sales_orders_uncomplete_one","summary":"Uncomplete","description":"PUT /sales-orders/{id}/uncomplete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"SalesOrder Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-unfulfill-line-item":{"post":{"operationId":"finance_softledger_sales_orders_unfulfill_line_item","summary":"Unfulfill Line","description":"PUT /sales-orders/line/{id}/unfulfill","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Sales Order Line _id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/sales-orders-void-sales-order":{"post":{"operationId":"finance_softledger_sales_orders_void_sales_order","summary":"Void","description":"PUT /sales-orders/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Sales Order Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/settings-get-settings":{"get":{"operationId":"finance_softledger_settings_get_settings","summary":"GET","description":"GET /settings","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/settings-update-webhooks":{"post":{"operationId":"finance_softledger_settings_update_webhooks","summary":"Update","description":"PUT /settings","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/settings-get-sequence-numbers":{"get":{"operationId":"finance_softledger_settings_get_sequence_numbers","summary":"GET Sequence","description":"GET /settings/sequence","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/settings-update-sequence-numbers":{"post":{"operationId":"finance_softledger_settings_update_sequence_numbers","summary":"Update Sequence","description":"PUT /settings/sequence","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-search-filterable-sortable":{"get":{"operationId":"finance_softledger_shipment_receipts_search_filterable_sortable","summary":"Search","description":"GET /shipment-receipts","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"_id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-create-new-shipment-receipt":{"post":{"operationId":"finance_softledger_shipment_receipts_create_new_shipment_receipt","summary":"Create","description":"POST /shipment-receipts","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-get-lines-filterable-sortable":{"get":{"operationId":"finance_softledger_shipment_receipts_get_lines_filterable_sortable","summary":"Line Search","description":"GET /shipment-receipts/lines","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"_id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-get-lines-count":{"get":{"operationId":"finance_softledger_shipment_receipts_get_lines_count","summary":"Lines Count","description":"GET /shipment-receipts/lines/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-get-count":{"get":{"operationId":"finance_softledger_shipment_receipts_get_count","summary":"Count","description":"GET /shipment-receipts/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-get-one-receipt":{"get":{"operationId":"finance_softledger_shipment_receipts_get_one_receipt","summary":"One","description":"GET /shipment-receipts/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"ShipmentReceipt._id","schema":{"type":"string","description":"ShipmentReceipt._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/shipment-receipts-void-line":{"post":{"operationId":"finance_softledger_shipment_receipts_void_line","summary":"Void Line","description":"PUT /shipment-receipts/line/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"ShipmentReceiptLine._id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-search-filterable-sortable":{"get":{"operationId":"finance_softledger_statements_search_filterable_sortable","summary":"Search","description":"GET /statements","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-create-new-statement":{"post":{"operationId":"finance_softledger_statements_create_new_statement","summary":"Create","description":"POST /statements","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-close-statement":{"post":{"operationId":"finance_softledger_statements_close_statement","summary":"Close","description":"PUT /statements/{id}/close","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Statement Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-get-one-statement":{"get":{"operationId":"finance_softledger_statements_get_one_statement","summary":"One","description":"GET /statements/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Statement Id","schema":{"type":"string","description":"Statement Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-delete-one":{"post":{"operationId":"finance_softledger_statements_delete_one","summary":"Delete","description":"DELETE /statements/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Statement Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-reopen-statement":{"post":{"operationId":"finance_softledger_statements_reopen_statement","summary":"Open","description":"PUT /statements/{id}/open","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Statement Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-reconcile-transactions":{"post":{"operationId":"finance_softledger_statements_reconcile_transactions","summary":"Reconcile","description":"PUT /statements/transactions/reconcile","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/statements-unreconcile-transactions":{"post":{"operationId":"finance_softledger_statements_unreconcile_transactions","summary":"UnReconcile","description":"PUT /statements/transactions/unreconcile","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-search-filterable-sortable":{"get":{"operationId":"finance_softledger_stock_adjustments_search_filterable_sortable","summary":"Search","description":"GET /stock-adjustments","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"transactionDate:DESC","description":"Order to return results in. ex \"date:desc\""}},{"name":"LocationId","in":"query","required":false,"description":"Will include Stock Adjustments that have a Warehouse with this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include Stock Adjustments that have a Warehouse with this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-create-new":{"post":{"operationId":"finance_softledger_stock_adjustments_create_new","summary":"Adjust Stock","description":"POST /stock-adjustments","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-get-cost-layers":{"get":{"operationId":"finance_softledger_stock_adjustments_get_cost_layers","summary":"Cost Layers","description":"GET /stock-adjustments/{id}/cost-layers","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"StockAdjustment._id","schema":{"type":"string","description":"StockAdjustment._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-count-items":{"get":{"operationId":"finance_softledger_stock_adjustments_count_items","summary":"Count","description":"GET /stock-adjustments/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-update-webhook":{"post":{"operationId":"finance_softledger_stock_adjustments_update_webhook","summary":"Update Stock Adjustment","description":"PUT /stock-adjustments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Stock Adjustment Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-delete-one":{"post":{"operationId":"finance_softledger_stock_adjustments_delete_one","summary":"Delete","description":"DELETE /stock-adjustments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Statement Id"},"runCostBasis":{"type":"boolean","default":false,"description":"If true, will run cost basis calculation after delete succeeds."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-adjustments-get-summary":{"get":{"operationId":"finance_softledger_stock_adjustments_get_summary","summary":"Stock Summary","description":"GET /stock-adjustments/summary","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"Item.name:DESC","description":"Order to return results in. ex \"date:desc\""}},{"name":"LocationId","in":"query","required":false,"description":"Will include Stock Adjustments that have a Warehouse with this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include Stock Adjustments that have a Warehouse with this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-counts-search":{"get":{"operationId":"finance_softledger_stock_counts_search","summary":"Search","description":"GET /stock-counts","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"submitDate:DESC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-counts-update-one":{"post":{"operationId":"finance_softledger_stock_counts_update_one","summary":"Update","description":"PUT /stock-counts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Stock Count Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-counts-delete-draft":{"post":{"operationId":"finance_softledger_stock_counts_delete_draft","summary":"Delete","description":"DELETE /stock-counts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Stock Count Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/stock-counts-submit-for-approval":{"post":{"operationId":"finance_softledger_stock_counts_submit_for_approval","summary":"Submit","description":"POST /stock-counts/{id}/submit","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"StockCount _id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/system-jobs-list-descending-by-date":{"get":{"operationId":"finance_softledger_system_jobs_list_descending_by_date","summary":"Search","description":"GET /system-jobs","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"queueName","in":"query","required":false,"description":"JSON Key:Value object to filter queueNames on","schema":{"type":"string","enum":["journal","bill","crypto","invoice","stockCounts","ledgerAccounts","customers","vendors","items","warehouses","stockAdjustments","vendorPrices","costCenters","jobs","products","custom1","custom2","custom3"],"description":"JSON Key:Value object to filter queueNames on"},"example":"{\"in\":[\"ledgerAccounts\",\"customers\",\"vendors\"]}.\nor simple a string 'vendorPrice'\n"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/system-jobs-create-new-job":{"post":{"operationId":"finance_softledger_system_jobs_create_new_job","summary":"Create","description":"POST /system-jobs","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/system-jobs-get-count":{"get":{"operationId":"finance_softledger_system_jobs_get_count","summary":"Count","description":"GET /system-jobs/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"queueName","in":"query","required":false,"description":"JSON Key:Value object to filter queueNames on","schema":{"type":"string","enum":["journal","bill","crypto","invoice","stockCounts","ledgerAccounts","customers","vendors","items","warehouses","stockAdjustments","vendorPrices","costCenters","jobs","products","custom1","custom2","custom3"],"description":"JSON Key:Value object to filter queueNames on"},"example":"{\"in\":[\"ledgerAccounts\",\"customers\",\"vendors\"]}.\nor simple a string 'vendorPrice'\n"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/system-jobs-get-job-by-id":{"get":{"operationId":"finance_softledger_system_jobs_get_job_by_id","summary":"One","description":"GET /system-jobs/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"System Job Id","schema":{"type":"string","description":"System Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/tax-codes-search-filterable-sortable":{"get":{"operationId":"finance_softledger_tax_codes_search_filterable_sortable","summary":"Search","description":"GET /tax-codes","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"code:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/tax-codes-create-new-tax-code":{"post":{"operationId":"finance_softledger_tax_codes_create_new_tax_code","summary":"Create","description":"POST /tax-codes","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/tax-codes-update-one":{"post":{"operationId":"finance_softledger_tax_codes_update_one","summary":"Update","description":"PUT /tax-codes/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Tax Code Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/tax-codes-delete-one":{"post":{"operationId":"finance_softledger_tax_codes_delete_one","summary":"Delete","description":"DELETE /tax-codes/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Tax Code Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/templates-get-one-template":{"get":{"operationId":"finance_softledger_templates_get_one_template","summary":"One","description":"GET /templates/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Template Id","schema":{"type":"string","description":"Template Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/templates-update-one-template":{"post":{"operationId":"finance_softledger_templates_update_one_template","summary":"Update","description":"PUT /templates/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Template Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/templates-delete-template":{"post":{"operationId":"finance_softledger_templates_delete_template","summary":"Delete","description":"DELETE /templates/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Template Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/templates-search-filterable-sortable":{"get":{"operationId":"finance_softledger_templates_search_filterable_sortable","summary":"Search","description":"GET /templates","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/templates-create-new-template":{"post":{"operationId":"finance_softledger_templates_create_new_template","summary":"Create","description":"POST /templates","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/timezones-get-all-timezones":{"get":{"operationId":"finance_softledger_timezones_get_all_timezones","summary":"Supported Timezones","description":"GET /timezones","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/transactions-search-filterable-sortable":{"get":{"operationId":"finance_softledger_transactions_search_filterable_sortable","summary":"Search","description":"GET /transactions","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"postedDate:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"currency","in":"query","required":false,"description":"******* NOTE ********** We recommend using the v2/journals/lines route instead. This route only exists for legacy reporting support.…","schema":{"type":"string","description":"******* NOTE ********** We recommend using the v2/journals/lines route instead. This route only exists for legacy reporting support.…"}},{"name":"LocationId","in":"query","required":false,"description":"Will include transactions from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include transactions from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/transactions-get-running-sum":{"get":{"operationId":"finance_softledger_transactions_get_running_sum","summary":"Running Sum","description":"GET /transactions/running-sum","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"currency","in":"query","required":true,"description":"\"Ref: Currency.code\", cannot use a custom currency Return debit/credit values in this currency","schema":{"type":"string","description":"\"Ref: Currency.code\", cannot use a custom currency Return debit/credit values in this currency"}},{"name":"startDate","in":"query","required":true,"description":"Will include transactions from this postedDate and forward.","schema":{"type":"string","description":"Will include transactions from this postedDate and forward."}},{"name":"endDate","in":"query","required":true,"description":"Will include transactions from this postedDate and back.","schema":{"type":"string","description":"Will include transactions from this postedDate and back."}},{"name":"LocationId","in":"query","required":true,"description":"Will include transactions from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include transactions from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/transactions-calculate-sum":{"get":{"operationId":"finance_softledger_transactions_calculate_sum","summary":"Sum","description":"GET /transactions/sum","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"currency","in":"query","required":true,"description":"\"Ref: Currency.code\", cannot use a custom currency If set, will return debit/credit values in this currency If not set, returns…","schema":{"type":"string","description":"\"Ref: Currency.code\", cannot use a custom currency If set, will return debit/credit values in this currency If not set, returns…"}},{"name":"startDate","in":"query","required":true,"description":"Sum will include transactions from this postedDate and forward.","schema":{"type":"string","description":"Sum will include transactions from this postedDate and forward."}},{"name":"endDate","in":"query","required":true,"description":"Sum will include transactions from this postedDate and back.","schema":{"type":"string","description":"Sum will include transactions from this postedDate and back."}},{"name":"LocationId","in":"query","required":true,"description":"Sum will include transactions from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Sum will include transactions from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/transfers-search-filterable-sortable":{"get":{"operationId":"finance_softledger_transfers_search_filterable_sortable","summary":"Search","description":"GET /transfers","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"date:DESC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/transfers-create-new-transfer":{"post":{"operationId":"finance_softledger_transfers_create_new_transfer","summary":"Transfer Stock","description":"POST /transfers","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/transfers-complete-transfer":{"post":{"operationId":"finance_softledger_transfers_complete_transfer","summary":"Complete Transfer","description":"PUT /transfers/{id}/complete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Transfer Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/transfers-count-summary":{"get":{"operationId":"finance_softledger_transfers_count_summary","summary":"Count","description":"GET /transfers/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/transfers-update-transfer":{"post":{"operationId":"finance_softledger_transfers_update_transfer","summary":"Update Transfer","description":"PUT /transfers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Transfer Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/transfers-delete-transfer":{"post":{"operationId":"finance_softledger_transfers_delete_transfer","summary":"Delete","description":"DELETE /transfers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Transfer Id"},"dontRunCostBasis":{"type":"boolean","default":false,"description":"If true, cost basis calculation will not be run on success"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-get-all-users":{"get":{"operationId":"finance_softledger_users_get_all_users","summary":"All Users","description":"GET /users","tags":["finance"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"offset","in":"query","required":false,"description":"offset to page forwards from","schema":{"type":"number","description":"offset to page forwards from"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-create-new-user":{"post":{"operationId":"finance_softledger_users_create_new_user","summary":"Create","description":"POST /users","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-get-one":{"get":{"operationId":"finance_softledger_users_get_one","summary":"One","description":"GET /users/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"User Id","schema":{"type":"string","description":"User Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-update-user":{"post":{"operationId":"finance_softledger_users_update_user","summary":"Update","description":"PUT /users/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"User Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-delete-user":{"post":{"operationId":"finance_softledger_users_delete_user","summary":"Delete","description":"DELETE /users/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"User Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-get-roles":{"get":{"operationId":"finance_softledger_users_get_roles","summary":"User Roles","description":"GET /users/{id}/roles","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"User Id","schema":{"type":"string","description":"User Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-update-roles":{"post":{"operationId":"finance_softledger_users_update_roles","summary":"Update User Roles","description":"PUT /users/{id}/roles","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"User Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/users-update-self":{"post":{"operationId":"finance_softledger_users_update_self","summary":"Update Self","description":"PUT /users/me","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-search":{"get":{"operationId":"finance_softledger_vendor_credits_search","summary":"Search","description":"GET /vendor-credits","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"number:DESC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-create-new-credit":{"post":{"operationId":"finance_softledger_vendor_credits_create_new_credit","summary":"Create","description":"POST /vendor-credits","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-count-get":{"get":{"operationId":"finance_softledger_vendor_credits_count_get","summary":"Count","description":"GET /vendor-credits/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-get-one":{"get":{"operationId":"finance_softledger_vendor_credits_get_one","summary":"One","description":"GET /vendor-credits/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Vendor Credit Id","schema":{"type":"string","description":"Vendor Credit Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-update-one":{"post":{"operationId":"finance_softledger_vendor_credits_update_one","summary":"Update","description":"PUT /vendor-credits/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Credit Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-delete-one":{"post":{"operationId":"finance_softledger_vendor_credits_delete_one","summary":"Delete","description":"DELETE /vendor-credits/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Credit Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-get-payments":{"get":{"operationId":"finance_softledger_vendor_credits_get_payments","summary":"Payments","description":"GET /vendor-credits/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Vendor Credit._id","schema":{"type":"string","description":"Vendor Credit._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-credits-void-one-credit":{"post":{"operationId":"finance_softledger_vendor_credits_void_one_credit","summary":"Void","description":"PUT /vendor-credits/{id}/void","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Credit Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-prices-search-filterable-sortable":{"get":{"operationId":"finance_softledger_vendor_prices_search_filterable_sortable","summary":"Search","description":"GET /vendor-prices","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"_id:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-prices-create-new-price":{"post":{"operationId":"finance_softledger_vendor_prices_create_new_price","summary":"Create","description":"POST /vendor-prices","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-prices-show-item-price":{"get":{"operationId":"finance_softledger_vendor_prices_show_item_price","summary":"Price","description":"GET /vendor-prices/price","tags":["finance"],"parameters":[{"name":"quantity","in":"query","required":true,"description":"quantity of items","schema":{"type":"number","description":"quantity of items"}},{"name":"VendorId","in":"query","required":true,"description":"VendorId of Vendor Price Pair","schema":{"type":"number","description":"VendorId of Vendor Price Pair"}},{"name":"ItemId","in":"query","required":true,"description":"ItemId of Vendor Price Pair","schema":{"type":"number","description":"ItemId of Vendor Price Pair"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-prices-update-one-price":{"post":{"operationId":"finance_softledger_vendor_prices_update_one_price","summary":"Update","description":"PUT /vendor-prices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Price Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendor-prices-delete-one":{"post":{"operationId":"finance_softledger_vendor_prices_delete_one","summary":"Delete","description":"DELETE /vendor-prices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Price Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-search-filterable-sortable":{"get":{"operationId":"finance_softledger_vendors_search_filterable_sortable","summary":"Search","description":"GET /vendors","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"id:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-create-new-vendor":{"post":{"operationId":"finance_softledger_vendors_create_new_vendor","summary":"Create","description":"POST /vendors","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-get-bills":{"get":{"operationId":"finance_softledger_vendors_get_bills","summary":"Bills","description":"GET /vendors/{id}/bills","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Vendor._id","schema":{"type":"string","description":"Vendor._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-count-items":{"get":{"operationId":"finance_softledger_vendors_count_items","summary":"Count","description":"GET /vendors/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-get-bill-count":{"get":{"operationId":"finance_softledger_vendors_get_bill_count","summary":"Count Bills","description":"GET /vendors/{id}/bills/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"id","in":"query","required":true,"description":"Vendor Id","schema":{"type":"string","description":"Vendor Id"}},{"name":"credit","in":"query","required":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount.","schema":{"type":"boolean","default":false,"description":"If true, only returns AP Credits i.e. bills with a negative amount. If false or not specified, only returns bills with a positive amount."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-get-one":{"get":{"operationId":"finance_softledger_vendors_get_one","summary":"One","description":"GET /vendors/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Vendor Id","schema":{"type":"string","description":"Vendor Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-update-one":{"post":{"operationId":"finance_softledger_vendors_update_one","summary":"Update","description":"PUT /vendors/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-delete-vendor":{"post":{"operationId":"finance_softledger_vendors_delete_vendor","summary":"Delete","description":"DELETE /vendors/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Vendor Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/vendors-get-payments":{"get":{"operationId":"finance_softledger_vendors_get_payments","summary":"Payments","description":"GET /vendors/{id}/payments","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Vendor._id","schema":{"type":"string","description":"Vendor._id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-get-all":{"get":{"operationId":"finance_softledger_wallets_get_all","summary":"Get All Wallets","description":"GET /wallets","tags":["finance"],"parameters":[{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-create-new-wallet":{"post":{"operationId":"finance_softledger_wallets_create_new_wallet","summary":"Create A Wallet","description":"POST /wallets","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-count":{"get":{"operationId":"finance_softledger_wallets_count","summary":"Count","description":"GET /wallets/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"LocationId","in":"query","required":false,"description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set.","schema":{"type":"string","description":"Filters for Wallets (Receive, Sent, Fee) in the specified location. Defaults to Global Location when not set."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-get-one":{"get":{"operationId":"finance_softledger_wallets_get_one","summary":"Get One Wallet","description":"GET /wallets/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"id value","schema":{"type":"string","description":"id value"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-update-webhook":{"post":{"operationId":"finance_softledger_wallets_update_webhook","summary":"Update Wallet","description":"PUT /wallets/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"string","description":"id value"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-delete-one-wallet":{"post":{"operationId":"finance_softledger_wallets_delete_one_wallet","summary":"Delete Wallet","description":"DELETE /wallets/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id value"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/wallets-get-coins-summary":{"get":{"operationId":"finance_softledger_wallets_get_coins_summary","summary":"Coin Summary","description":"GET /wallets/{id}/coins","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Wallet.Id","schema":{"type":"string","description":"Wallet.Id"}},{"name":"showHidden","in":"query","required":false,"description":"exclude zero balance coins","schema":{"type":"string","description":"exclude zero balance coins"}},{"name":"date","in":"query","required":false,"description":"date to filter by. defaults to \"now\" ISO DateTime","schema":{"type":"string","description":"date to filter by. defaults to \"now\" ISO DateTime"}},{"name":"hideZero","in":"query","required":false,"description":"exclude zero balance coins","schema":{"type":"string","description":"exclude zero balance coins"}},{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-get-all":{"get":{"operationId":"finance_softledger_warehouses_get_all","summary":"Get All Warehouses","description":"GET /warehouses","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"name:ASC","description":"Order to return results in. ex \"date:desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-create-new-warehouse":{"post":{"operationId":"finance_softledger_warehouses_create_new_warehouse","summary":"Create","description":"POST /warehouses","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-count":{"get":{"operationId":"finance_softledger_warehouses_count","summary":"Count","description":"GET /warehouses/count","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"status","in":"query","required":false,"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned.","schema":{"type":"string","enum":["active","inactive"],"description":"Results will return `active` or `inactive` based on the objects `inactive` property. If not set all results will be returned."}},{"name":"LocationId","in":"query","required":false,"description":"Will include items from this Location and its children Filters on LocationId can further limit data.","schema":{"type":"number","description":"Will include items from this Location and its children Filters on LocationId can further limit data."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-get-by-id":{"get":{"operationId":"finance_softledger_warehouses_get_by_id","summary":"One","description":"GET /warehouses/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Warehouse Id","schema":{"type":"string","description":"Warehouse Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-update-warehouse-by-id":{"post":{"operationId":"finance_softledger_warehouses_update_warehouse_by_id","summary":"Update Warehouse","description":"PUT /warehouses/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"string","description":"id value"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-delete-warehouse":{"post":{"operationId":"finance_softledger_warehouses_delete_warehouse","summary":"Delete","description":"DELETE /warehouses/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Warehouse Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouses-get-stock-summary":{"get":{"operationId":"finance_softledger_warehouses_get_stock_summary","summary":"Warehouse Stock","description":"GET /warehouses/{id}/stock/summary","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"ID of Warehouse","schema":{"type":"string","description":"ID of Warehouse"}},{"name":"childWh","in":"query","required":false,"description":"Determine if the summary balances include stock from child warehouses","schema":{"type":"boolean","description":"Determine if the summary balances include stock from child warehouses"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouse-items-search-filterable-sortable":{"get":{"operationId":"finance_softledger_warehouse_items_search_filterable_sortable","summary":"Search","description":"GET /warehouse-items","tags":["finance"],"parameters":[{"name":"filter","in":"query","required":false,"description":"JSON Key:Value object to filter results on","schema":{"type":"string","description":"JSON Key:Value object to filter results on"}},{"name":"filterType","in":"query","required":false,"description":"Results will match \"all\" filters or just \"any\" of the passed filters","schema":{"type":"string","enum":["all","any"],"default":"all","description":"Results will match \"all\" filters or just \"any\" of the passed filters"}},{"name":"order","in":"query","required":false,"description":"Order to return results in. ex \"date:desc\"","schema":{"type":"string","default":"_id:ASC","description":"Order to return results in. ex \"date:desc\""}},{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouse-items-create-new-warehouse-item":{"post":{"operationId":"finance_softledger_warehouse_items_create_new_warehouse_item","summary":"Create","description":"POST /warehouse-items","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouse-items-update-one-item":{"post":{"operationId":"finance_softledger_warehouse_items_update_one_item","summary":"Update","description":"PUT /warehouse-items/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Warehouse Item Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/warehouse-items-delete-one-item":{"post":{"operationId":"finance_softledger_warehouse_items_delete_one_item","summary":"Delete","description":"DELETE /warehouse-items/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Warehouse Item Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/webhooks-list-ascending-by-uri":{"get":{"operationId":"finance_softledger_webhooks_list_ascending_by_uri","summary":"Search","description":"GET /webhooks","tags":["finance"],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Cursor key to page forwards from. Must be populated from the result of a previous query call.","schema":{"type":"string","description":"Cursor key to page forwards from. Must be populated from the result of a previous query call."}},{"name":"limit","in":"query","required":false,"description":"Maximum number of records to return.","schema":{"type":"integer","default":25,"description":"Maximum number of records to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/webhooks-create-new-webhook":{"post":{"operationId":"finance_softledger_webhooks_create_new_webhook","summary":"Create","description":"POST /webhooks","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/webhooks-delete-one":{"post":{"operationId":"finance_softledger_webhooks_delete_one","summary":"Delete","description":"DELETE /Webhooks/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Webhook Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/years-get-all-years":{"get":{"operationId":"finance_softledger_years_get_all_years","summary":"All","description":"GET /years","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/years-create-first-day-year":{"post":{"operationId":"finance_softledger_years_create_first_day_year","summary":"Create","description":"POST /years","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:softledger/years-close-year":{"get":{"operationId":"finance_softledger_years_close_year","summary":"Close","description":"GET /years/{id}/close","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Year Id","schema":{"type":"string","description":"Year Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/years-open-year":{"get":{"operationId":"finance_softledger_years_open_year","summary":"Open","description":"GET /years/{id}/open","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"Year Id","schema":{"type":"string","description":"Year Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:softledger/years-delete-year":{"post":{"operationId":"finance_softledger_years_delete_year","summary":"Delete","description":"DELETE /years/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Year Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}