{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/finance:envoice-in/client-api-all":{"get":{"operationId":"finance_envoice_in_client_api_all","summary":"Return all clients for the account","description":"GET /api/client/all","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/client-api-can-delete":{"get":{"operationId":"finance_envoice_in_client_api_can_delete","summary":"Check if the provided client can be deleted","description":"GET /api/client/candelete","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/client-api-delete":{"post":{"operationId":"finance_envoice_in_client_api_delete","summary":"Delete an existing client","description":"POST /api/client/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/client-api-details":{"get":{"operationId":"finance_envoice_in_client_api_details","summary":"Return client details. Activities and invoices included.","description":"GET /api/client/details","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/client-api-new":{"post":{"operationId":"finance_envoice_in_client_api_new","summary":"Create a client","description":"POST /api/client/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/client-api-update":{"post":{"operationId":"finance_envoice_in_client_api_update","summary":"Update an existing client","description":"POST /api/client/update","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-all":{"get":{"operationId":"finance_envoice_in_estimation_api_all","summary":"Return all estimation for the account","description":"GET /api/estimation/all","tags":["finance"],"parameters":[{"name":"queryOptions.page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"queryOptions.pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/estimation-api-change-status":{"post":{"operationId":"finance_envoice_in_estimation_api_change_status","summary":"Change estimation status","description":"POST /api/estimation/changestatus","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-convert":{"post":{"operationId":"finance_envoice_in_estimation_api_convert","summary":"Convert the estimation to an invoice","description":"POST /api/estimation/convert","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-delete":{"post":{"operationId":"finance_envoice_in_estimation_api_delete","summary":"Delete an existing estimation","description":"POST /api/estimation/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-details":{"get":{"operationId":"finance_envoice_in_estimation_api_details","summary":"Return estimation data","description":"GET /api/estimation/details","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/estimation-api-new":{"post":{"operationId":"finance_envoice_in_estimation_api_new","summary":"Create an estimation","description":"POST /api/estimation/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-send-to-client":{"post":{"operationId":"finance_envoice_in_estimation_api_send_to_client","summary":"Send the provided estimation to the client","description":"POST /api/estimation/sendtoclient","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-status":{"get":{"operationId":"finance_envoice_in_estimation_api_status","summary":"Retrieve the status of the estimation","description":"GET /api/estimation/status","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/estimation-api-update":{"post":{"operationId":"finance_envoice_in_estimation_api_update","summary":"Update an existing estimation","description":"POST /api/estimation/update","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/estimation-api-uri":{"get":{"operationId":"finance_envoice_in_estimation_api_uri","summary":"Return the unique url to the client's invoice","description":"GET /api/estimation/uri","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/general-api-countries":{"get":{"operationId":"finance_envoice_in_general_api_countries","summary":"Return all of the platform supported countries","description":"GET /api/general/countries","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/general-api-currencies":{"get":{"operationId":"finance_envoice_in_general_api_currencies","summary":"Return all of the platform supported currencies","description":"GET /api/general/currencies","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/general-api-date-formats":{"get":{"operationId":"finance_envoice_in_general_api_date_formats","summary":"Return all of the platform supported Date Formats","description":"GET /api/general/dateformats","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/general-api-ui-languages":{"get":{"operationId":"finance_envoice_in_general_api_ui_languages","summary":"Return all of the platform supported UI languages","description":"GET /api/general/uilanguages","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/invoice-api-all":{"get":{"operationId":"finance_envoice_in_invoice_api_all","summary":"Return all invoices for the account","description":"GET /api/invoice/all","tags":["finance"],"parameters":[{"name":"queryOptions.page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"queryOptions.pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/get-api-invoice-allcategories":{"get":{"operationId":"finance_envoice_in_get_api_invoice_allcategories","summary":"Return all invoice categories for the account","description":"GET /api/invoice/allcategories","tags":["finance"],"parameters":[{"name":"query","in":"query","required":false,"schema":{"type":"string"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/invoice-api-change-status":{"post":{"operationId":"finance_envoice_in_invoice_api_change_status","summary":"Change invoice status","description":"POST /api/invoice/changestatus","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/invoice-api-delete":{"post":{"operationId":"finance_envoice_in_invoice_api_delete","summary":"Delete an existing invoice","description":"POST /api/invoice/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/post-api-invoice-deletecategory":{"post":{"operationId":"finance_envoice_in_post_api_invoice_deletecategory","summary":"Delete an existing invoice category","description":"POST /api/invoice/deletecategory","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/invoice-api-details":{"get":{"operationId":"finance_envoice_in_invoice_api_details","summary":"Return invoice data","description":"GET /api/invoice/details","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/invoice-api-new":{"post":{"operationId":"finance_envoice_in_invoice_api_new","summary":"Create an invoice","description":"POST /api/invoice/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/post-api-invoice-newcategory":{"post":{"operationId":"finance_envoice_in_post_api_invoice_newcategory","summary":"Create an invoice category","description":"POST /api/invoice/newcategory","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/invoice-api-pdf":{"get":{"operationId":"finance_envoice_in_invoice_api_pdf","summary":"Return the PDF for the invoice","description":"GET /api/invoice/pdf","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"signedVersion","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/invoice-api-send-to-accountant":{"post":{"operationId":"finance_envoice_in_invoice_api_send_to_accountant","summary":"Send the provided invoice to the accountant","description":"POST /api/invoice/sendtoaccountant","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/invoice-api-send-to-client":{"post":{"operationId":"finance_envoice_in_invoice_api_send_to_client","summary":"Send the provided invoice to the client","description":"POST /api/invoice/sendtoclient","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/invoice-api-status":{"get":{"operationId":"finance_envoice_in_invoice_api_status","summary":"Retrieve the status of the invoice","description":"GET /api/invoice/status","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/invoice-api-update":{"post":{"operationId":"finance_envoice_in_invoice_api_update","summary":"Update an existing invoice","description":"POST /api/invoice/update","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/post-api-invoice-updatecategory":{"post":{"operationId":"finance_envoice_in_post_api_invoice_updatecategory","summary":"Update an existing invoice category","description":"POST /api/invoice/updatecategory","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/invoice-api-uri":{"get":{"operationId":"finance_envoice_in_invoice_api_uri","summary":"Return the unique url to the client's invoice","description":"GET /api/invoice/uri","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/order-api-all":{"get":{"operationId":"finance_envoice_in_order_api_all","summary":"Return all orders for the account","description":"GET /api/order/all","tags":["finance"],"parameters":[{"name":"queryOptions.page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"queryOptions.pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/order-api-change-shipping-details":{"post":{"operationId":"finance_envoice_in_order_api_change_shipping_details","summary":"Change order shipping details","description":"POST /api/order/changeshippingdetails","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderId","x-auth-key","x-auth-secret","body"],"properties":{"orderId":{"type":"integer"},"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/order-api-change-status":{"post":{"operationId":"finance_envoice_in_order_api_change_status","summary":"Change order status","description":"POST /api/order/changestatus","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/order-api-delete":{"post":{"operationId":"finance_envoice_in_order_api_delete","summary":"Delete an existing order","description":"POST /api/order/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/order-api-details":{"get":{"operationId":"finance_envoice_in_order_api_details","summary":"Return order details","description":"GET /api/order/details","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/order-api-new":{"post":{"operationId":"finance_envoice_in_order_api_new","summary":"Create an order","description":"POST /api/order/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/payment-api-supported":{"get":{"operationId":"finance_envoice_in_payment_api_supported","summary":"Return all supported payment gateways (no currencies means all are supported)","description":"GET /api/payment/supported","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/payment-link-api-all":{"get":{"operationId":"finance_envoice_in_payment_link_api_all","summary":"Create a payment link","description":"GET /api/paymentlink/all","tags":["finance"],"parameters":[{"name":"queryOptions.page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"queryOptions.pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/payment-link-api-delete":{"post":{"operationId":"finance_envoice_in_payment_link_api_delete","summary":"Delete an existing payment link","description":"POST /api/paymentlink/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/payment-link-api-new":{"post":{"operationId":"finance_envoice_in_payment_link_api_new","summary":"Create a payment link","description":"POST /api/paymentlink/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/payment-link-api-uri":{"get":{"operationId":"finance_envoice_in_payment_link_api_uri","summary":"Return the unique url to the client's payment link","description":"GET /api/paymentlink/uri","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/product-api-all":{"get":{"operationId":"finance_envoice_in_product_api_all","summary":"Return all products for the account","description":"GET /api/product/all","tags":["finance"],"parameters":[{"name":"queryOptions.page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"queryOptions.pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/product-api-delete":{"post":{"operationId":"finance_envoice_in_product_api_delete","summary":"Delete an existing product","description":"POST /api/product/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/product-api-details":{"get":{"operationId":"finance_envoice_in_product_api_details","summary":"Return product details","description":"GET /api/product/details","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/product-api-new":{"post":{"operationId":"finance_envoice_in_product_api_new","summary":"Create a product","description":"POST /api/product/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/product-api-update":{"post":{"operationId":"finance_envoice_in_product_api_update","summary":"Update an existing product","description":"POST /api/product/update","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/tax-api-all":{"get":{"operationId":"finance_envoice_in_tax_api_all","summary":"Return all taxes for the account","description":"GET /api/tax/all","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/tax-api-delete":{"post":{"operationId":"finance_envoice_in_tax_api_delete","summary":"Delete an existing tax","description":"POST /api/tax/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/tax-api-new":{"post":{"operationId":"finance_envoice_in_tax_api_new","summary":"Create a tax","description":"POST /api/tax/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/tax-api-update":{"post":{"operationId":"finance_envoice_in_tax_api_update","summary":"Update an existing tax","description":"POST /api/tax/update","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/work-type-api-all":{"get":{"operationId":"finance_envoice_in_work_type_api_all","summary":"Return all work types for the account","description":"GET /api/worktype/all","tags":["finance"],"parameters":[{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/work-type-api-delete":{"post":{"operationId":"finance_envoice_in_work_type_api_delete","summary":"Delete an existing work type","description":"POST /api/worktype/delete","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/work-type-api-details":{"get":{"operationId":"finance_envoice_in_work_type_api_details","summary":"Return work type details","description":"GET /api/worktype/details","tags":["finance"],"parameters":[{"name":"workTypeId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/work-type-api-new":{"post":{"operationId":"finance_envoice_in_work_type_api_new","summary":"Create a work type","description":"POST /api/worktype/new","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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:envoice-in/work-type-api-search":{"get":{"operationId":"finance_envoice_in_work_type_api_search","summary":"Return all work types for the account that match the query param","description":"GET /api/worktype/search","tags":["finance"],"parameters":[{"name":"queryOptions.query","in":"query","required":false,"schema":{"type":"string"}},{"name":"queryOptions.orderBy","in":"query","required":false,"schema":{"type":"string"}},{"name":"queryOptions.order","in":"query","required":false,"schema":{"type":"string","enum":["None","Asc","Desc"]}},{"name":"queryOptions.page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"queryOptions.pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"x-auth-key","in":"query","required":true,"schema":{"type":"string","default":"[authentication key]"}},{"name":"x-auth-secret","in":"query","required":true,"schema":{"type":"string","default":"[authentication secret]"}}],"responses":{"200":{"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:envoice-in/work-type-api-update":{"post":{"operationId":"finance_envoice_in_work_type_api_update","summary":"Update an existing work type","description":"POST /api/worktype/update","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-auth-key","x-auth-secret","body"],"properties":{"x-auth-key":{"type":"string","default":"[authentication key]"},"x-auth-secret":{"type":"string","default":"[authentication secret]"},"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"}}},"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"}}}}}}}