{"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:sinao/app-list":{"get":{"operationId":"finance_sinao_app_list","summary":"List apps","description":"GET /apps","tags":["finance"],"parameters":[{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-create":{"post":{"operationId":"finance_sinao_app_create","summary":"Create an app","description":"POST /apps","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["organization_name"],"properties":{"organization_name":{"type":"string","description":"Organization name. Minimum 3 characters with 1 alpha"}}}}}},"responses":{"200":{"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:sinao/app-policies-registration-get":{"get":{"operationId":"finance_sinao_app_policies_registration_get","summary":"Get invitation informations","description":"GET /apps/access/invite/{accessToken}","tags":["finance"],"parameters":[{"name":"accessToken","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"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:sinao/app-policies-registration-delete":{"post":{"operationId":"finance_sinao_app_policies_registration_delete","summary":"Delete an invitation from token","description":"DELETE /apps/access/invite/{accessToken}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accessToken"],"properties":{"accessToken":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-policies-registration-register":{"post":{"operationId":"finance_sinao_app_policies_registration_register","summary":"Create an User by invitation","description":"POST /apps/access/invite/{accessToken}/register","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accessToken","password","cgu"],"properties":{"accessToken":{"type":"string"},"password":{"type":"string","description":"Password for account"},"firstname":{"type":"string","description":"First name of user before account creation / account link"},"lastname":{"type":"string","description":"Last name of user before account creation / account link"},"cgu":{"type":"boolean","description":"User has valided CGU ?"}}}}}},"responses":{"200":{"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:sinao/app-get":{"get":{"operationId":"finance_sinao_app_get","summary":"Get an app","description":"GET /apps/{appId}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-policies-list":{"get":{"operationId":"finance_sinao_app_policies_list","summary":"Get policies for an app","description":"GET /apps/{appId}/access","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-policies-invitations-list":{"get":{"operationId":"finance_sinao_app_policies_invitations_list","summary":"List invitations","description":"GET /apps/{appId}/access/invite","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-policies-invitations-create":{"post":{"operationId":"finance_sinao_app_policies_invitations_create","summary":"Invite an user","description":"POST /apps/{appId}/access/invite","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","email","policy_profile_id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"email":{"type":"string","description":"Email for invitation. Will be used to account creation or account matching with an existing user"},"policy_profile_id":{"type":"integer","description":"Profile for policies set"},"firstname":{"type":"string","description":"First name of user before account creation / account link"},"lastname":{"type":"string","description":"Last name of user before account creation / account link"},"civility":{"type":"string","description":"Last name of user before account creation / account link"},"password":{"type":"string","description":"Password for new user"}}}}}},"responses":{"200":{"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:sinao/app-policies-invitations-delete":{"post":{"operationId":"finance_sinao_app_policies_invitations_delete","summary":"Delete an invitation","description":"DELETE /apps/{appId}/access/invite/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-policies-profiles-list":{"get":{"operationId":"finance_sinao_app_policies_profiles_list","summary":"Get profiles","description":"GET /apps/{appId}/access/profiles","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-policies-get":{"get":{"operationId":"finance_sinao_app_policies_get","summary":"Get police for an user","description":"GET /apps/{appId}/access/{userId}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"userId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"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:sinao/app-policies-update":{"post":{"operationId":"finance_sinao_app_policies_update","summary":"Update police for an user","description":"POST /apps/{appId}/access/{userId}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","userId","policy_profile_id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"userId":{"type":"string"},"policy_profile_id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-policies-delete":{"post":{"operationId":"finance_sinao_app_policies_delete","summary":"Delete police for an user","description":"DELETE /apps/{appId}/access/{userId}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","userId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"userId":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-accounting-categories-list":{"get":{"operationId":"finance_sinao_app_accounting_categories_list","summary":"List categories","description":"GET /apps/{appId}/accountcategories/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-accounting-categories-create":{"post":{"operationId":"finance_sinao_app_accounting_categories_create","summary":"Create a category","description":"POST /apps/{appId}/accountcategories/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-accounting-categories-get":{"get":{"operationId":"finance_sinao_app_accounting_categories_get","summary":"Get a category","description":"GET /apps/{appId}/accountcategories/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID","schema":{"type":"integer","description":"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:sinao/app-accounting-categories-update":{"post":{"operationId":"finance_sinao_app_accounting_categories_update","summary":"Update a category","description":"POST /apps/{appId}/accountcategories/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-accounting-categories-delete":{"post":{"operationId":"finance_sinao_app_accounting_categories_delete","summary":"Remove a category","description":"DELETE /apps/{appId}/accountcategories/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"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:sinao/app-accounting-entries-list":{"get":{"operationId":"finance_sinao_app_accounting_entries_list","summary":"List accounting entries","description":"GET /apps/{appId}/accounting_entries/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-accounting-accounts-list":{"get":{"operationId":"finance_sinao_app_accounting_accounts_list","summary":"List Account","description":"GET /apps/{appId}/accounts/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-accounting-accounts-create":{"post":{"operationId":"finance_sinao_app_accounting_accounts_create","summary":"Create a Account","description":"POST /apps/{appId}/accounts/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"journalcode":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"keywords":{"type":"string"},"accounting_number":{"type":"string"},"is_cashflow":{"type":"boolean"},"is_sales":{"type":"boolean"},"is_purchase":{"type":"boolean"}}}}}},"responses":{"200":{"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:sinao/app-accounting-accounts-batch":{"post":{"operationId":"finance_sinao_app_accounting_accounts_batch","summary":"Create many accounts","description":"POST /apps/{appId}/accounts/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of accounts. Without ID for insert"}}}}}},"responses":{"200":{"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:sinao/app-accounting-accounts-get":{"get":{"operationId":"finance_sinao_app_accounting_accounts_get","summary":"Get a Account","description":"GET /apps/{appId}/accounts/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of Account","schema":{"type":"integer","description":"ID of Account"}}],"responses":{"200":{"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:sinao/app-accounting-accounts-update":{"post":{"operationId":"finance_sinao_app_accounting_accounts_update","summary":"Update a Account","description":"POST /apps/{appId}/accounts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of Account"},"journalcode":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"keywords":{"type":"string"},"accounting_number":{"type":"string"},"is_cashflow":{"type":"boolean"},"is_sales":{"type":"boolean"},"is_purchase":{"type":"boolean"}}}}}},"responses":{"200":{"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:sinao/app-accounting-accounts-delete":{"post":{"operationId":"finance_sinao_app_accounting_accounts_delete","summary":"Remove a Account","description":"DELETE /apps/{appId}/accounts/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of Account"}}}}}},"responses":{"200":{"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:sinao/app-apikeys-list":{"get":{"operationId":"finance_sinao_app_apikeys_list","summary":"Get all api keys","description":"GET /apps/{appId}/apikeys","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-apikeys-create":{"post":{"operationId":"finance_sinao_app_apikeys_create","summary":"Create new API key","description":"POST /apps/{appId}/apikeys","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","name"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string","description":"Key name"},"api_partner_id":{"type":"integer","description":"Partner ID for official connexion"}}}}}},"responses":{"200":{"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:sinao/app-apikeys-delete":{"post":{"operationId":"finance_sinao_app_apikeys_delete","summary":"Remove an api key","description":"DELETE /apps/{appId}/apikeys/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"string","description":"Automatically added"}}}}}},"responses":{"200":{"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:sinao/app-apipartners-list":{"get":{"operationId":"finance_sinao_app_apipartners_list","summary":"Get all api parners","description":"GET /apps/{appId}/apipartners","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-attachments-list":{"get":{"operationId":"finance_sinao_app_attachments_list","summary":"List attachments","description":"GET /apps/{appId}/attachments","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-attachments-create":{"post":{"operationId":"finance_sinao_app_attachments_create","summary":"Attach a file on an object","description":"POST /apps/{appId}/attachments","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","type"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"type":{"type":"string","enum":["none","purchase","invoice","quote","transaction","relationship"],"description":"Object to attach file"},"attachable_id":{"type":"integer","description":"Object id"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-sap-attestations-generate-sap-attestations":{"post":{"operationId":"finance_sinao_app_sap_attestations_generate_sap_attestations","summary":"Recreate S.A.P attestations","description":"PUT /apps/{appId}/attachments","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"year":{"type":"integer","description":"year number to generate"}}}}}},"responses":{"200":{"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:sinao/app-attachments-download":{"get":{"operationId":"finance_sinao_app_attachments_download","summary":"Download a list of attachments in pdf into a .zip file","description":"GET /apps/{appId}/attachments/download","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"ids","in":"query","required":true,"description":"Array of attachments id","schema":{"type":"string","description":"Array of attachments id"}},{"name":"type","in":"query","required":true,"description":"Type of attachment","schema":{"type":"string","enum":["sap"],"description":"Type of attachment"}}],"responses":{"200":{"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:sinao/app-sap-attestations-download":{"get":{"operationId":"finance_sinao_app_sap_attestations_download","summary":"Download a list of SAP attestations in pdf into a .zip file","description":"GET /apps/{appId}/attachments/sap-download","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"ids","in":"query","required":true,"description":"Array of attachments id","schema":{"type":"string","description":"Array of attachments id"}},{"name":"type","in":"query","required":true,"description":"Type of attachment","schema":{"type":"string","enum":["sap"],"description":"Type of attachment"}}],"responses":{"200":{"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:sinao/app-attachments-get":{"get":{"operationId":"finance_sinao_app_attachments_get","summary":"Get attachment by id","description":"GET /apps/{appId}/attachments/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Attachment id","schema":{"type":"integer","description":"Attachment 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:sinao/app-attachments-delete":{"post":{"operationId":"finance_sinao_app_attachments_delete","summary":"Detach a file from id","description":"DELETE /apps/{appId}/attachments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Attachment 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:sinao/app-attachments-redirect-to-public-url":{"get":{"operationId":"finance_sinao_app_attachments_redirect_to_public_url","summary":"Download the attachment as pdf","description":"GET /apps/{appId}/attachments/{id}/pdf","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Attachment id to download","schema":{"type":"integer","description":"Attachment id to download"}},{"name":"random","in":"query","required":true,"description":"random number to force fresh pdf","schema":{"type":"integer","description":"random number to force fresh pdf"}}],"responses":{"200":{"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:sinao/app-documents-sales-bankdetails-list":{"get":{"operationId":"finance_sinao_app_documents_sales_bankdetails_list","summary":"List BankDetails","description":"GET /apps/{appId}/bankdetails","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-documents-sales-bankdetails-create":{"post":{"operationId":"finance_sinao_app_documents_sales_bankdetails_create","summary":"Create a BankDetails","description":"POST /apps/{appId}/bankdetails","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-bankdetails-get":{"get":{"operationId":"finance_sinao_app_documents_sales_bankdetails_get","summary":"Get a BankDetails","description":"GET /apps/{appId}/bankdetails/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of BankDetails","schema":{"type":"integer","description":"ID of BankDetails"}}],"responses":{"200":{"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:sinao/app-documents-sales-bankdetails-update":{"post":{"operationId":"finance_sinao_app_documents_sales_bankdetails_update","summary":"Update a BankDetails","description":"POST /apps/{appId}/bankdetails/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of BankDetails"},"name":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-bankdetails-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_bankdetails_delete","summary":"Remove a BankDetails","description":"DELETE /apps/{appId}/bankdetails/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of BankDetails"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-banks-list":{"get":{"operationId":"finance_sinao_app_cashflow_banks_list","summary":"List banks connected to bankin","description":"GET /apps/{appId}/banks/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-cashflow-banks-delete":{"post":{"operationId":"finance_sinao_app_cashflow_banks_delete","summary":"Remove a Bankin synchronization","description":"DELETE /apps/{appId}/banks/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","item_id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"item_id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-banks-connect":{"get":{"operationId":"finance_sinao_app_cashflow_banks_connect","summary":"Get the link to the funnel to connect a bank with Sinao","description":"GET /apps/{appId}/banks/connect","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-cashflow-banks-synchronize":{"post":{"operationId":"finance_sinao_app_cashflow_banks_synchronize","summary":"Triggers synchronization at Bankin then synchronizes transactions with Sinao","description":"POST /apps/{appId}/banks/synchronize","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Optional item id to refresh. If set, triggers a refresh at Bankin before synchronizing transactions"},"is_incremential":{"type":"boolean","description":"The value 'false' triggers a non-incremental syncronization of the maximum possible duration. The value 'true' updates the transactions…"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-banks-url-edit":{"get":{"operationId":"finance_sinao_app_cashflow_banks_url_edit","summary":"Get the link to the funnel to edit password","description":"GET /apps/{appId}/banks/{id}/funnel/edit","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"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:sinao/app-cashflow-banks-url-sync":{"get":{"operationId":"finance_sinao_app_cashflow_banks_url_sync","summary":"Get the link to the funnel to start manually a synchronization (SCA)","description":"GET /apps/{appId}/banks/{id}/funnel/sync","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"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:sinao/app-cashflow-banks-url-validate":{"get":{"operationId":"finance_sinao_app_cashflow_banks_url_validate","summary":"Get the link to the funnel to validate a pro item (SCA)","description":"GET /apps/{appId}/banks/{id}/funnel/validate","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"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:sinao/app-cashflow-banks-select-accounts":{"post":{"operationId":"finance_sinao_app_cashflow_banks_select_accounts","summary":"Select accounts to synchronize","description":"POST /apps/{appId}/banks/{id}/select_accounts","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"bank_account_ids":{"type":"array","description":"List of enables accounts"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-cashflowsources-list":{"get":{"operationId":"finance_sinao_app_cashflow_cashflowsources_list","summary":"List CashflowSource","description":"GET /apps/{appId}/cashflowsources/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-cashflow-cashflowsources-create":{"post":{"operationId":"finance_sinao_app_cashflow_cashflowsources_create","summary":"Create a CashflowSource","description":"POST /apps/{appId}/cashflowsources/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string"},"identifiant":{"type":"string"},"type":{"type":"string","enum":["bank","cashdesk","waiting"]},"balance_amount":{"type":"integer"},"account_type":{"type":"string","enum":["checking","card","savings","special","securities","loan","life_insurance","unknown","pending","share_savings_plan"]},"parent_cashflow_source_id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-cashflowsources-get":{"get":{"operationId":"finance_sinao_app_cashflow_cashflowsources_get","summary":"Get a CashflowSource","description":"GET /apps/{appId}/cashflowsources/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of CashflowSource","schema":{"type":"integer","description":"ID of CashflowSource"}}],"responses":{"200":{"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:sinao/app-cashflow-cashflowsources-update":{"post":{"operationId":"finance_sinao_app_cashflow_cashflowsources_update","summary":"Update a CashflowSource","description":"POST /apps/{appId}/cashflowsources/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of CashflowSource"},"name":{"type":"string"},"identifiant":{"type":"string"},"type":{"type":"string","enum":["bank","cashdesk","waiting"]},"balance_amount":{"type":"integer"},"account_type":{"type":"string","enum":["checking","card","savings","special","securities","loan","life_insurance","unknown","pending","share_savings_plan"]},"parent_cashflow_source_id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-cashflowsources-delete":{"post":{"operationId":"finance_sinao_app_cashflow_cashflowsources_delete","summary":"Remove a CashflowSource","description":"DELETE /apps/{appId}/cashflowsources/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of CashflowSource"}}}}}},"responses":{"200":{"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:sinao/app-contacts-transform-merge":{"post":{"operationId":"finance_sinao_app_contacts_transform_merge","summary":"Merge many contacts","description":"POST /apps/{appId}/contacts/merge","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","contacts"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"contacts":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-contacts-email-batch":{"post":{"operationId":"finance_sinao_app_contacts_email_batch","summary":"Send emails","description":"POST /apps/{appId}/email/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"from":{"type":"string"},"messages":{"type":"array"},"need_copy_bcc":{"type":"boolean","default":false}}}}}},"responses":{"200":{"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:sinao/app-contacts-email-send":{"post":{"operationId":"finance_sinao_app_contacts_email_send","summary":"Send an email","description":"POST /apps/{appId}/email/document","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","recipients","documents"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"from":{"type":"string"},"recipients":{"type":"array"},"recipients_cc":{"type":"array"},"recipients_bcc":{"type":"array"},"title":{"type":"string"},"body":{"type":"string"},"documents":{"type":"array"},"need_copy_bcc":{"type":"boolean","default":false}}}}}},"responses":{"200":{"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:sinao/app-contacts-establishments-get":{"get":{"operationId":"finance_sinao_app_contacts_establishments_get","summary":"Get an establishment","description":"GET /apps/{appId}/establishments/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of an establishment","schema":{"type":"integer","description":"ID of an establishment"}}],"responses":{"200":{"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:sinao/app-contacts-establishments-update":{"post":{"operationId":"finance_sinao_app_contacts_establishments_update","summary":"Update an establishment","description":"POST /apps/{appId}/establishments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of an establishment"},"name":{"type":"string"},"phones":{"type":"array"},"emails":{"type":"array"},"nic":{"type":"string","description":"Establishment number (french NIC)"},"place":{"type":"object"}}}}}},"responses":{"200":{"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:sinao/app-contacts-establishments-delete":{"post":{"operationId":"finance_sinao_app_contacts_establishments_delete","summary":"Remove an establishment","description":"DELETE /apps/{appId}/establishments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of establishment"}}}}}},"responses":{"200":{"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:sinao/app-accounting-export-list":{"get":{"operationId":"finance_sinao_app_accounting_export_list","summary":"List ExportEntity","description":"GET /apps/{appId}/exports","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-accounting-export-create":{"post":{"operationId":"finance_sinao_app_accounting_export_create","summary":"Create a ExportEntity","description":"POST /apps/{appId}/exports","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","until"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"until":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-accounting-export-acd-compta-get-uuid":{"get":{"operationId":"finance_sinao_app_accounting_export_acd_compta_get_uuid","summary":"Get the ACD UUID for authentification","description":"GET /apps/{appId}/exports/acd_compta","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-accounting-export-acd-compta-set-uuid":{"post":{"operationId":"finance_sinao_app_accounting_export_acd_compta_set_uuid","summary":"Register ACD identifiants","description":"POST /apps/{appId}/exports/acd_compta","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","login","password","base","cnx"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"login":{"type":"string","description":"the login provided by ACD Compta"},"password":{"type":"string","description":"the password provided by ACD Compta"},"base":{"type":"string","description":"Your ACD account number (3XXXX)"},"cnx":{"type":"string","description":"your CNX by ACD Compta"}}}}}},"responses":{"200":{"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:sinao/app-accounting-export-download":{"get":{"operationId":"finance_sinao_app_accounting_export_download","summary":"Download the export entity as zip","description":"GET /apps/{appId}/exports/download","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"format","in":"query","required":false,"description":"The export format can be a FEC (universal - similar to the French legal file 'Fichier des Ecritures Comptables') or specific for…","schema":{"type":"string","enum":["universal","quadra","fiducial","acd"],"description":"The export format can be a FEC (universal - similar to the French legal file 'Fichier des Ecritures Comptables') or specific for…"}},{"name":"export_entities_ids","in":"query","required":false,"schema":{"type":"array"}},{"name":"start_at","in":"query","required":false,"description":"Automatically find export entities from a date range","schema":{"type":"string","description":"Automatically find export entities from a date range"}},{"name":"end_at","in":"query","required":false,"description":"Automatically find export entities from a date range","schema":{"type":"string","description":"Automatically find export entities from a date range"}},{"name":"since","in":"query","required":false,"description":"Automatically find export entities since a date","schema":{"type":"string","description":"Automatically find export entities since a date"}},{"name":"since_last","in":"query","required":false,"description":"Automatically find the export entities since the last export downloaded","schema":{"type":"boolean","description":"Automatically find the export entities since the last export downloaded"}}],"responses":{"200":{"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:sinao/app-accounting-export-list-by-months":{"get":{"operationId":"finance_sinao_app_accounting_export_list_by_months","summary":"List ExportEntity","description":"GET /apps/{appId}/exports/months","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-accounting-export-get":{"get":{"operationId":"finance_sinao_app_accounting_export_get","summary":"Get a ExportEntity","description":"GET /apps/{appId}/exports/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of ExportEntity","schema":{"type":"integer","description":"ID of ExportEntity"}}],"responses":{"200":{"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:sinao/app-accounting-export-delete":{"post":{"operationId":"finance_sinao_app_accounting_export_delete","summary":"Remove a ExportEntity","description":"DELETE /apps/{appId}/exports/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of ExportEntity"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-list":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_list","summary":"List invoices","description":"GET /apps/{appId}/invoices","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-create":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_create","summary":"Create an invoice","description":"POST /apps/{appId}/invoices","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"contact_infos":{"type":"object"},"third_account":{"type":"object"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"},"reference":{"type":"string","description":"Free variable not display in document"},"discount":{"type":"object"},"currency":{"type":"string"},"legal_notice":{"type":"string","description":"Legal mentions"},"bank_details_id":{"type":"integer"},"vat_exemption":{"type":"object"},"tags":{"type":"array"},"metadata":{"type":"array"},"downpayments":{"type":"array"},"downpayment_cash":{"type":"integer"},"avoid_of":{"type":"integer"},"delivered_at":{"type":"string"},"payment_period":{"type":"integer","default":30,"description":"Days count before considere this invoice as late"},"payment_methods":{"type":"string","default":"virement bancaire, chèque","description":"Accepted methods of payment for this invoice. Methods comma separated"},"number_from_other_software":{"type":"string","description":"Invoices imported from another software are not counted in the numbering and are not locked"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-batch":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_batch","summary":"Create or update many invoices","description":"POST /apps/{appId}/invoices/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of invoices. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-batch-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_batch_delete","summary":"Delete many invoices","description":"DELETE /apps/{appId}/invoices/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"List of invoices 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:sinao/app-documents-sales-invoices-download":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_download","summary":"Download a list of invoices in pdf into a .zip file","description":"GET /apps/{appId}/invoices/download","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"ids","in":"query","required":true,"description":"Array of invoices id","schema":{"type":"array","description":"Array of invoices id"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","enum":["delivery","command"],"description":"Template name to generate document"}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-fresh":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_fresh","summary":"Regenerate pdf and recalcul amounts of invoice","description":"POST /apps/{appId}/invoices/fresh","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"Array of invoices 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:sinao/app-documents-sales-invoices-nextnumber":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_nextnumber","summary":"Get the next invoice number for preview","description":"GET /apps/{appId}/invoices/nextnumber","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"written_at","in":"query","required":false,"description":"Write date","schema":{"type":"string","description":"Write date"}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-statistics":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_statistics","summary":"Obtain statistics about invoices","description":"GET /apps/{appId}/invoices/statistics","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-get":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_get","summary":"Get an invoice","description":"GET /apps/{appId}/invoices/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of invoice","schema":{"type":"integer","description":"ID of invoice"}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-update":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_update","summary":"Update an invoice","description":"POST /apps/{appId}/invoices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of invoice"},"contact_infos":{"type":"object"},"third_account":{"type":"object"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"},"reference":{"type":"string","description":"Free variable not display in document"},"discount":{"type":"object"},"currency":{"type":"string"},"legal_notice":{"type":"string","description":"Legal mentions"},"bank_details_id":{"type":"integer"},"vat_exemption":{"type":"object"},"tags":{"type":"array"},"metadata":{"type":"array"},"downpayments":{"type":"array"},"downpayment_cash":{"type":"integer"},"avoid_of":{"type":"integer"},"delivered_at":{"type":"string"},"payment_period":{"type":"integer","default":30,"description":"Days count before considere this invoice as late"},"payment_methods":{"type":"string","default":"virement bancaire, chèque","description":"Accepted methods of payment for this invoice. Methods comma separated"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_delete","summary":"Remove an invoice","description":"DELETE /apps/{appId}/invoices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of invoice"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-attach":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_attach","summary":"Attach a file at an invoice","description":"POST /apps/{appId}/invoices/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-detach":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_detach","summary":"Detach a file at an invoice","description":"DELETE /apps/{appId}/invoices/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id"},"file_id":{"type":"integer","description":"File to detach"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-avoid":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_avoid","summary":"Create a creditnote on an invoice","description":"POST /apps/{appId}/invoices/{id}/avoid","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id to create a credit note"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-duplicate":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_duplicate","summary":"Duplicate an invoice","description":"POST /apps/{appId}/invoices/{id}/duplicate","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id to duplicate"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-finalize":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_finalize","summary":"Finalize an invoice","description":"POST /apps/{appId}/invoices/{id}/finalize","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id to finalize"},"force_date":{"type":"boolean","description":"Automatically updates the date if earlier than the last invoice"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-pdf":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_pdf","summary":"Download the invoice as pdf","description":"GET /apps/{appId}/invoices/{id}/pdf","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Invoice id to download","schema":{"type":"integer","description":"Invoice id to download"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","enum":["delivery","command"],"description":"Template name to generate document"}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-preview":{"get":{"operationId":"finance_sinao_app_documents_sales_invoices_preview","summary":"Download invoice as jpeg","description":"GET /apps/{appId}/invoices/{id}/preview.jpg","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Invoice id to download","schema":{"type":"integer","description":"Invoice id to download"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","description":"Template name to generate document"}},{"name":"disable_cache","in":"query","required":false,"description":"Force the regeneration of the preview","schema":{"type":"boolean","description":"Force the regeneration of the preview"}},{"name":"base64","in":"query","required":false,"description":"Get the image in base64","schema":{"type":"boolean","description":"Get the image in base64"}}],"responses":{"200":{"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:sinao/app-documents-sales-invoices-tag":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_tag","summary":"Add a tag on an invoice","description":"POST /apps/{appId}/invoices/{id}/tag","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id"},"tag":{"type":"string","description":"Tag to add"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-untag":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_untag","summary":"Delete a tag on an invoice","description":"DELETE /apps/{appId}/invoices/{id}/tag","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id"},"tag":{"type":"string","description":"Tag to delete"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-invoices-updatestatus":{"post":{"operationId":"finance_sinao_app_documents_sales_invoices_updatestatus","summary":"Update the status of an invoice","description":"POST /apps/{appId}/invoices/{id}/updatestatus","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id"},"status":{"type":"string","enum":["draft","final","paid"],"description":"Status to update"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-logsautoreconciliations-list":{"get":{"operationId":"finance_sinao_app_cashflow_logsautoreconciliations_list","summary":"List autoreconciliation logs","description":"GET /apps/{appId}/logs/autoreconcile/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-cashflow-logsautoreconciliations-start":{"post":{"operationId":"finance_sinao_app_cashflow_logsautoreconciliations_start","summary":"Start force autoreconciliation","description":"POST /apps/{appId}/logs/autoreconcile/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-logsautoreconciliations-clear":{"post":{"operationId":"finance_sinao_app_cashflow_logsautoreconciliations_clear","summary":"Clear autoreconciliation logs","description":"DELETE /apps/{appId}/logs/autoreconcile/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-openai-billings-estimate":{"get":{"operationId":"finance_sinao_app_openai_billings_estimate","summary":"Get the import state of Stripe data","description":"GET /apps/{appId}/openai/billing/estimate","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"description","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"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:sinao/app-organization-get":{"get":{"operationId":"finance_sinao_app_organization_get","summary":"Get organization profile for current app","description":"GET /apps/{appId}/organization","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-organization-update":{"post":{"operationId":"finance_sinao_app_organization_update","summary":"Update organization profile for current app","description":"POST /apps/{appId}/organization","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string","description":"Company name visible on the app"},"billing_name":{"type":"string","description":"Company name for billing"},"logo":{"type":"string"},"legal_form":{"type":"string"},"country_iso2":{"type":"string"},"founding_date":{"type":"string"},"founding_location":{"type":"string"},"dissolution_date":{"type":"string"},"closeaccounting_period":{"type":"string"},"national_id":{"type":"string","description":"Unique National Id, format by country. **In France : [0-9]{9} with last number as security key.**"},"trade_directory_registration":{"type":"string","description":"France Directory Registration : Unique national ID SIRET [0-9]{9} + 'RM' + CMA identification number [0-9a-z]{2,}"},"vat_id":{"type":"string","description":"European VAT Id. **In France : FR [0-9]{2} [0-9]{9}**"},"code_naf":{"type":"string","description":"French NAF Code"},"number_of_employees":{"type":"string"},"industry":{"type":"string"},"slogan":{"type":"string"},"rcs":{"type":"string","description":"French. Registre du Commerce et des Sociétés"},"greffe":{"type":"string","description":"French. Tribunal de commerce"},"sap_number_registration":{"type":"string","description":"NOVA agreement/registration number"},"sap_activities":{"type":"string","description":"Organisation activities displayed in annual taxes customer attestation"},"sap_date_registration":{"type":"string","description":"NOVA agreement/registration date"},"capital":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-contacts-organizations-list":{"get":{"operationId":"finance_sinao_app_contacts_organizations_list","summary":"List organizations","description":"GET /apps/{appId}/organizations","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-contacts-organizations-create":{"post":{"operationId":"finance_sinao_app_contacts_organizations_create","summary":"Create an organization","description":"POST /apps/{appId}/organizations","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","name"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string","description":"Company name visible on the app"},"billing_name":{"type":"string","description":"Company name for billing"},"logo":{"type":"string"},"legal_form":{"type":"string"},"country_iso2":{"type":"string"},"founding_date":{"type":"string"},"founding_location":{"type":"string"},"dissolution_date":{"type":"string"},"vat_system":{"type":"string"},"closeaccounting_period":{"type":"string"},"national_id":{"type":"string","description":"Unique National Id, format by country. **In France : [0-9]{9} with last number as security key.**"},"vat_id":{"type":"string","description":"European VAT Id. **In France : FR [0-9]{2} [0-9]{9}**"},"code_naf":{"type":"string","description":"French NAF Code"},"number_of_employees":{"type":"string"},"slogan":{"type":"string"},"rcs":{"type":"string","description":"French. Registre du Commerce et des Sociétés"},"greffe":{"type":"string","description":"French. Tribunal de commerce"},"capital":{"type":"integer"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-contacts-organizations-batch":{"post":{"operationId":"finance_sinao_app_contacts_organizations_batch","summary":"Create multiple organizations","description":"POST /apps/{appId}/organizations/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of invoices. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-contacts-organizations-get":{"get":{"operationId":"finance_sinao_app_contacts_organizations_get","summary":"Get an organization","description":"GET /apps/{appId}/organizations/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of organization","schema":{"type":"integer","description":"ID of organization"}}],"responses":{"200":{"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:sinao/app-contacts-organizations-update":{"post":{"operationId":"finance_sinao_app_contacts_organizations_update","summary":"Update an organization","description":"POST /apps/{appId}/organizations/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of organization"},"name":{"type":"string","description":"Company name visible on the app"},"billing_name":{"type":"string","description":"Company name for billing"},"logo":{"type":"string"},"legal_form":{"type":"string"},"country_iso2":{"type":"string"},"founding_date":{"type":"string"},"founding_location":{"type":"string"},"dissolution_date":{"type":"string"},"vat_system":{"type":"string"},"closeaccounting_period":{"type":"string"},"national_id":{"type":"string","description":"Unique National Id, format by country. **In France : [0-9]{9} with last number as security key.**"},"vat_id":{"type":"string","description":"European VAT Id. **In France : FR [0-9]{2} [0-9]{9}**"},"code_naf":{"type":"string","description":"French NAF Code"},"number_of_employees":{"type":"string"},"slogan":{"type":"string"},"rcs":{"type":"string","description":"French. Registre du Commerce et des Sociétés"},"greffe":{"type":"string","description":"French. Tribunal de commerce"},"capital":{"type":"integer"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-contacts-organizations-delete":{"post":{"operationId":"finance_sinao_app_contacts_organizations_delete","summary":"Remove an organization","description":"DELETE /apps/{appId}/organizations/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of organization"}}}}}},"responses":{"200":{"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:sinao/app-contacts-organizations-restore":{"get":{"operationId":"finance_sinao_app_contacts_organizations_restore","summary":"Restore an organization","description":"GET /apps/{appId}/organizations/{id}/restore","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of organization","schema":{"type":"integer","description":"ID of organization"}}],"responses":{"200":{"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:sinao/app-payments-payments-list":{"get":{"operationId":"finance_sinao_app_payments_payments_list","summary":"List payments","description":"GET /apps/{appId}/payments","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-payments-payments-recipe-book":{"get":{"operationId":"finance_sinao_app_payments_payments_recipe_book","summary":"Get the recipe book","description":"GET /apps/{appId}/payments/recipe_book","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-payments-payments-get":{"get":{"operationId":"finance_sinao_app_payments_payments_get","summary":"Get a payment","description":"GET /apps/{appId}/payments/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of payment","schema":{"type":"integer","description":"ID of payment"}}],"responses":{"200":{"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:sinao/app-payments-payments-delete":{"post":{"operationId":"finance_sinao_app_payments_payments_delete","summary":"Remove a payment","description":"DELETE /apps/{appId}/payments/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of quote"}}}}}},"responses":{"200":{"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:sinao/app-contacts-persons-list":{"get":{"operationId":"finance_sinao_app_contacts_persons_list","summary":"List persons","description":"GET /apps/{appId}/persons","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-contacts-persons-create":{"post":{"operationId":"finance_sinao_app_contacts_persons_create","summary":"Create a person","description":"POST /apps/{appId}/persons","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","lastname"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"civility":{"type":"string","description":"Civility is the lastname prefix"},"lastname":{"type":"string"},"firstname":{"type":"string"},"picture":{"type":"string"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-contacts-persons-batch":{"post":{"operationId":"finance_sinao_app_contacts_persons_batch","summary":"Create multiple persons","description":"POST /apps/{appId}/persons/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of persons. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-contacts-persons-get":{"get":{"operationId":"finance_sinao_app_contacts_persons_get","summary":"Get a person","description":"GET /apps/{appId}/persons/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of a person","schema":{"type":"integer","description":"ID of a person"}}],"responses":{"200":{"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:sinao/app-contacts-persons-update":{"post":{"operationId":"finance_sinao_app_contacts_persons_update","summary":"Update a person","description":"POST /apps/{appId}/persons/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of a person"},"civility":{"type":"string","description":"Civility is the lastname prefix"},"lastname":{"type":"string"},"firstname":{"type":"string"},"picture":{"type":"string"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-contacts-persons-delete":{"post":{"operationId":"finance_sinao_app_contacts_persons_delete","summary":"Remove a person","description":"DELETE /apps/{appId}/persons/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of person"}}}}}},"responses":{"200":{"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:sinao/app-contacts-persons-restore":{"get":{"operationId":"finance_sinao_app_contacts_persons_restore","summary":"Restore a person","description":"GET /apps/{appId}/persons/{id}/restore","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of a person","schema":{"type":"integer","description":"ID of a person"}}],"responses":{"200":{"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:sinao/app-ping":{"get":{"operationId":"finance_sinao_app_ping","summary":"Ping app web hostname","description":"GET /apps/{appId}/ping","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-catalog-categories-list":{"get":{"operationId":"finance_sinao_app_catalog_categories_list","summary":"List product categories","description":"GET /apps/{appId}/productcategory","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-catalog-categories-create":{"post":{"operationId":"finance_sinao_app_catalog_categories_create","summary":"Create a product category","description":"POST /apps/{appId}/productcategory","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","name"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string"},"image":{"type":"string"},"parent_category_id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-catalog-categories-get":{"get":{"operationId":"finance_sinao_app_catalog_categories_get","summary":"Get a product category","description":"GET /apps/{appId}/productcategory/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of product category","schema":{"type":"integer","description":"ID of product category"}}],"responses":{"200":{"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:sinao/app-catalog-categories-update":{"post":{"operationId":"finance_sinao_app_catalog_categories_update","summary":"Update a product category","description":"POST /apps/{appId}/productcategory/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id","name"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of product category"},"name":{"type":"string"},"image":{"type":"string"},"parent_category_id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-catalog-categories-delete":{"post":{"operationId":"finance_sinao_app_catalog_categories_delete","summary":"Remove a product category","description":"DELETE /apps/{appId}/productcategory/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of product category"}}}}}},"responses":{"200":{"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:sinao/app-catalog-products-list":{"get":{"operationId":"finance_sinao_app_catalog_products_list","summary":"List products","description":"GET /apps/{appId}/products","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-catalog-products-create":{"post":{"operationId":"finance_sinao_app_catalog_products_create","summary":"Create a product","description":"POST /apps/{appId}/products","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","name"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string"},"amount":{"type":"integer","description":"Price without taxes in cents"},"amount_accurately":{"type":"integer","description":"Price without taxes in cents / 1000"},"vat_percent":{"type":"integer","description":"Taxe rate in cents"},"image":{"type":"string"},"lifetime":{"type":"integer","description":"Product life time in seconds"},"description":{"type":"string","description":"Product description"},"type":{"type":"string","enum":["product","service"],"description":"Is a service or a product ?"},"quantity_name":{"type":"string","description":"Name of the quantity: days, liters, m2, m3..."},"reference":{"type":"string"},"account_id":{"type":"string"},"tags":{"type":"array"},"category_id":{"type":"integer"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-catalog-products-batch":{"post":{"operationId":"finance_sinao_app_catalog_products_batch","summary":"Create multiple products","description":"POST /apps/{appId}/products/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of products. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-catalog-products-get":{"get":{"operationId":"finance_sinao_app_catalog_products_get","summary":"Get a product","description":"GET /apps/{appId}/products/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of product","schema":{"type":"integer","description":"ID of product"}}],"responses":{"200":{"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:sinao/app-catalog-products-update":{"post":{"operationId":"finance_sinao_app_catalog_products_update","summary":"Update a product","description":"POST /apps/{appId}/products/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of product"},"name":{"type":"string"},"amount":{"type":"integer","description":"Price without taxes in cents"},"amount_accurately":{"type":"integer","description":"Price without taxes in cents / 1000"},"vat_percent":{"type":"integer","description":"Taxe rate in cents"},"image":{"type":"string"},"lifetime":{"type":"integer","description":"Product life time in seconds"},"description":{"type":"string","description":"Product description"},"type":{"type":"string","enum":["product","service"],"description":"Is a service or a product ?"},"quantity_name":{"type":"string","description":"Name of the quantity: days, liters, m2, m3..."},"reference":{"type":"string"},"account_id":{"type":"string"},"tags":{"type":"array"},"category_id":{"type":"integer"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-catalog-products-delete":{"post":{"operationId":"finance_sinao_app_catalog_products_delete","summary":"Remove a product","description":"DELETE /apps/{appId}/products/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of quote"}}}}}},"responses":{"200":{"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:sinao/app-catalog-products-attach":{"post":{"operationId":"finance_sinao_app_catalog_products_attach","summary":"Attach a file","description":"POST /apps/{appId}/products/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-catalog-products-detach":{"post":{"operationId":"finance_sinao_app_catalog_products_detach","summary":"Detach a file","description":"DELETE /apps/{appId}/products/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file_id":{"type":"integer","description":"File to detach"}}}}}},"responses":{"200":{"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:sinao/app-catalog-stocks-list":{"get":{"operationId":"finance_sinao_app_catalog_stocks_list","summary":"List stocks","description":"GET /apps/{appId}/productstocks","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-catalog-stocks-create":{"post":{"operationId":"finance_sinao_app_catalog_stocks_create","summary":"Create a stocks","description":"POST /apps/{appId}/productstocks","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","product_id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"product_id":{"type":"integer","description":"Parent object"},"purchase_id":{"type":"integer","description":"Purchase that generated the stock if exists"},"quantity":{"type":"integer","description":"The initial quantity will no longer be modifiable. To change the quantity manually, use the `destruct` endpoint"},"bar_code":{"type":"string"},"location":{"type":"string"},"entered_at":{"type":"string"},"expired_at":{"type":"string"},"cost_amount":{"type":"integer"},"use_duration":{"type":"integer","description":"Use duration in seconds"}}}}}},"responses":{"200":{"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:sinao/app-catalog-stocks-get":{"get":{"operationId":"finance_sinao_app_catalog_stocks_get","summary":"Get a stocks","description":"GET /apps/{appId}/productstocks/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of stocks","schema":{"type":"integer","description":"ID of stocks"}}],"responses":{"200":{"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:sinao/app-catalog-stocks-update":{"post":{"operationId":"finance_sinao_app_catalog_stocks_update","summary":"Update a stocks","description":"POST /apps/{appId}/productstocks/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of stocks"},"purchase_id":{"type":"integer","description":"Purchase that generated the stock if exists"},"bar_code":{"type":"string"},"location":{"type":"string"},"entered_at":{"type":"string"},"expired_at":{"type":"string"},"cost_amount":{"type":"integer"},"use_duration":{"type":"integer","description":"Use duration in seconds"}}}}}},"responses":{"200":{"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:sinao/app-catalog-stocks-delete":{"post":{"operationId":"finance_sinao_app_catalog_stocks_delete","summary":"Remove a stocks","description":"DELETE /apps/{appId}/productstocks/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of stocks"}}}}}},"responses":{"200":{"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:sinao/app-catalog-stocks-destruct":{"post":{"operationId":"finance_sinao_app_catalog_stocks_destruct","summary":"Destruct a quantity of stock (forgotten, destructed, expirated stock...)","description":"POST /apps/{appId}/productstocks/{id}/destruct","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of stocks"},"quantity":{"type":"integer","description":"Quantity to destruct"},"comment":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-catalog-stocks-rental-back":{"post":{"operationId":"finance_sinao_app_catalog_stocks_rental_back","summary":"Consider part of the stock as back","description":"POST /apps/{appId}/productstocks/{id}/rental/back","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id","quantity"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of stocks"},"quantity":{"type":"integer","description":"Quantity to return in stocks"},"current_return_date":{"type":"string","default":"now"},"use_duration":{"type":"integer","default":0,"description":"Usage duration in seconds"},"comment":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-catalog-stocks-rental-exit":{"post":{"operationId":"finance_sinao_app_catalog_stocks_rental_exit","summary":"Consider part of the stock as rented","description":"POST /apps/{appId}/productstocks/{id}/rental/exit","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of stocks"},"quantity":{"type":"integer","description":"Quantity to rent"},"future_return_date":{"type":"string"},"comment":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-list":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_list","summary":"List purchases","description":"GET /apps/{appId}/purchases","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}},{"name":"expand","in":"query","required":false,"schema":{"type":"array"}}],"responses":{"200":{"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:sinao/app-documents-purchases-purchases-create":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_create","summary":"Create a purchase","description":"POST /apps/{appId}/purchases","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"invoice":{"type":"string","description":"Invoice or receipt file (pdf or image)"},"account_id":{"type":"integer"},"supplier_organization_id":{"type":"integer"},"title":{"type":"string"},"supplier_name":{"type":"string"},"amount":{"type":"integer"},"amount_tax":{"type":"integer"},"currency":{"type":"string"},"vat_detail":{"type":"object"},"billed_at":{"type":"string"},"comment":{"type":"integer"},"tags":{"type":"array"},"vat_repayment":{"type":"string","enum":["payment","billing"]},"payment_deadline_at":{"type":"string"},"payment_account_number":{"type":"string"},"payment_routing_number":{"type":"string"},"payment_swift":{"type":"string"},"payment_iban":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-batch":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_batch","summary":"Create or update many purchases","description":"POST /apps/{appId}/purchases/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of purchases. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-batch-delete":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_batch_delete","summary":"Delete many purchases","description":"DELETE /apps/{appId}/purchases/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"List of purchases 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:sinao/app-documents-purchases-purchases-download":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_download","summary":"Download a list of purchases in pdf into a .zip file","description":"GET /apps/{appId}/purchases/download","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"ids","in":"query","required":true,"description":"Array of purchases id","schema":{"type":"array","description":"Array of purchases 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:sinao/app-documents-purchases-purchases-statistics":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_statistics","summary":"Obtain statistics about purchases","description":"GET /apps/{appId}/purchases/statistics","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}}],"responses":{"200":{"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:sinao/app-documents-purchases-purchases-get":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_get","summary":"Get a purchase","description":"GET /apps/{appId}/purchases/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of purchase","schema":{"type":"integer","description":"ID of purchase"}}],"responses":{"200":{"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:sinao/app-documents-purchases-purchases-update":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_update","summary":"Update a purchase","description":"POST /apps/{appId}/purchases/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of purchase"},"account_id":{"type":"integer","description":"Auto-calculated by sales_lines total"},"supplier_organization_id":{"type":"integer"},"title":{"type":"string"},"supplier_name":{"type":"string"},"amount":{"type":"integer","description":"Auto-calculated by sales_lines total"},"amount_tax":{"type":"integer"},"currency":{"type":"string"},"vat_detail":{"type":"object"},"billed_at":{"type":"string"},"comment":{"type":"integer"},"tags":{"type":"array"},"vat_repayment":{"type":"string","enum":["payment","billing"]},"payment_deadline_at":{"type":"string"},"payment_account_number":{"type":"string"},"payment_routing_number":{"type":"string"},"payment_swift":{"type":"string"},"payment_iban":{"type":"string"},"purchase_lines":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-delete":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_delete","summary":"Remove a purchase","description":"DELETE /apps/{appId}/purchases/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of purchase"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-attach":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_attach","summary":"Attach a file at a purchase","description":"POST /apps/{appId}/purchases/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Purchase id"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-detach":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_detach","summary":"Detach a file at a purchase","description":"DELETE /apps/{appId}/purchases/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Purchase id"},"file_id":{"type":"integer","description":"File to detach"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-original":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_original","summary":"Download the purchase as pdf","description":"GET /apps/{appId}/purchases/{id}/original","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Purchase id to download","schema":{"type":"integer","description":"Purchase id to download"}}],"responses":{"200":{"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:sinao/app-documents-purchases-purchases-preview":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_preview","summary":"Download purchase as jpeg","description":"GET /apps/{appId}/purchases/{id}/preview.jpg","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Purchase id to download","schema":{"type":"integer","description":"Purchase id to download"}}],"responses":{"200":{"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:sinao/app-documents-purchases-purchases-tag":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_tag","summary":"Add a tag on a purchase","description":"POST /apps/{appId}/purchases/{id}/tag","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Purchase id"},"tag":{"type":"string","description":"Tag to add"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-untag":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_untag","summary":"Delete a tag on a purchase","description":"DELETE /apps/{appId}/purchases/{id}/tag","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Purchase id"},"tag":{"type":"string","description":"Tag to delete"}}}}}},"responses":{"200":{"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:sinao/app-documents-purchases-purchases-thumbnail":{"get":{"operationId":"finance_sinao_app_documents_purchases_purchases_thumbnail","summary":"Show purchase thumbnail as jpeg","description":"GET /apps/{appId}/purchases/{id}/thumbnail.jpg","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Purchase id to download","schema":{"type":"integer","description":"Purchase id to download"}}],"responses":{"200":{"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:sinao/app-documents-purchases-purchases-updatestatus":{"post":{"operationId":"finance_sinao_app_documents_purchases_purchases_updatestatus","summary":"Update the status of an invoice","description":"POST /apps/{appId}/purchases/{id}/updatestatus","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of purchase"},"status":{"type":"string","enum":["completed","paid"],"description":"Status to update"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-list":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_list","summary":"List quotes","description":"GET /apps/{appId}/quotes","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-create":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_create","summary":"Create a quote","description":"POST /apps/{appId}/quotes","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"contact_infos":{"type":"object"},"third_account":{"type":"object"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"},"reference":{"type":"string","description":"Free variable not display in document"},"discount":{"type":"object"},"currency":{"type":"string"},"legal_notice":{"type":"string","description":"Legal mentions"},"bank_details_id":{"type":"integer"},"vat_exemption":{"type":"object"},"tags":{"type":"array"},"metadata":{"type":"array"},"downpayment_request":{"type":"object"},"commercialvalidity_deadline":{"type":"string"},"number_from_other_software":{"type":"string","description":"Invoices imported from another software are not counted in the numbering and are not locked"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-batch":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_batch","summary":"Create or update many quotes","description":"POST /apps/{appId}/quotes/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of quotes. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-batch-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_batch_delete","summary":"Delete many quotes","description":"DELETE /apps/{appId}/quotes/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"List of quotes 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:sinao/app-documents-sales-quotes-download":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_download","summary":"Download a list of quotes in pdf into a .zip file","description":"GET /apps/{appId}/quotes/download","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"ids","in":"query","required":true,"description":"Array of quotes id","schema":{"type":"array","description":"Array of quotes id"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","enum":["delivery","command"],"description":"Template name to generate document"}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-fresh":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_fresh","summary":"Regenerate pdf and recalcul amounts of quote","description":"POST /apps/{appId}/quotes/fresh","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"Array of quotes 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:sinao/app-documents-sales-quotes-invoices":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_invoices","summary":"Create or update many quotes","description":"POST /apps/{appId}/quotes/invoice","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"Array of quotes 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:sinao/app-documents-sales-quotes-nextnumber":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_nextnumber","summary":"Get the next quote number for preview","description":"GET /apps/{appId}/quotes/nextnumber","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"written_at","in":"query","required":false,"description":"Write date","schema":{"type":"string","description":"Write date"}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-statistics":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_statistics","summary":"Obtain statistics about quotes","description":"GET /apps/{appId}/quotes/statistics","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-get":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_get","summary":"Get a quote","description":"GET /apps/{appId}/quotes/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of quote","schema":{"type":"integer","description":"ID of quote"}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-update":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_update","summary":"Update a quote","description":"POST /apps/{appId}/quotes/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of quote"},"contact_infos":{"type":"object"},"third_account":{"type":"object"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"},"reference":{"type":"string","description":"Free variable not display in document"},"discount":{"type":"object"},"currency":{"type":"string"},"legal_notice":{"type":"string","description":"Legal mentions"},"bank_details_id":{"type":"integer"},"vat_exemption":{"type":"object"},"tags":{"type":"array"},"metadata":{"type":"array"},"downpayment_request":{"type":"object"},"commercialvalidity_deadline":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_delete","summary":"Remove a quote","description":"DELETE /apps/{appId}/quotes/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of quote"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-attach":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_attach","summary":"Attach a file at a quote","description":"POST /apps/{appId}/quotes/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-detach":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_detach","summary":"Detach a file at a quote","description":"DELETE /apps/{appId}/quotes/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id"},"file_id":{"type":"integer","description":"File to detach"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-downpayment":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_downpayment","summary":"Transform the quote in a downpayment invoice","description":"POST /apps/{appId}/quotes/{id}/downpayment","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id","percent"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"percent":{"type":"integer","description":"Percentage of downpayment in cents (100 = 1%)"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-duplicate":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_duplicate","summary":"Duplicate a quote","description":"POST /apps/{appId}/quotes/{id}/duplicate","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id to duplicate"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-finalize":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_finalize","summary":"Finalize a quote","description":"POST /apps/{appId}/quotes/{id}/finalize","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id to finalize"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-invoice":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_invoice","summary":"Transform the quote in invoice","description":"POST /apps/{appId}/quotes/{id}/invoice","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id to transform"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-pdf":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_pdf","summary":"Download the quote as pdf","description":"GET /apps/{appId}/quotes/{id}/pdf","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Quote id to download","schema":{"type":"integer","description":"Quote id to download"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","enum":["delivery","command"],"description":"Template name to generate document"}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-preview":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_preview","summary":"Download quote as jpeg","description":"GET /apps/{appId}/quotes/{id}/preview.jpg","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Quote id to download","schema":{"type":"integer","description":"Quote id to download"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","enum":["delivery","command"],"description":"Template name to generate document"}}],"responses":{"200":{"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:sinao/app-documents-sales-quotes-situation-invoice":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_situation_invoice","summary":"Transform the quote into a situation invoice","description":"POST /apps/{appId}/quotes/{id}/situation_invoice","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id","progress"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id to transform"},"progress":{"type":"integer","description":"Percentage of progress in cents (100 = 1%)"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-tag":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_tag","summary":"Add a tag on an quote","description":"POST /apps/{appId}/quotes/{id}/tag","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id"},"tag":{"type":"string","description":"Tag to add"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-untag":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_untag","summary":"Delete a tag on a quote","description":"DELETE /apps/{appId}/quotes/{id}/tag","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Quote id"},"tag":{"type":"string","description":"Tag to delete"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-updatestatus":{"post":{"operationId":"finance_sinao_app_documents_sales_quotes_updatestatus","summary":"Update the status of a quote","description":"POST /apps/{appId}/quotes/{id}/updatestatus","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"Invoice id to finalize"},"status":{"type":"string","enum":["waiting","goodforagreement","refused","transformed","deleted"],"description":"Status to update"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-quotes-yousign-preview":{"get":{"operationId":"finance_sinao_app_documents_sales_quotes_yousign_preview","summary":"Download quote as jpeg","description":"GET /apps/{appId}/quotes/{id}/yousign/preview.jpg","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Quote id to download","schema":{"type":"integer","description":"Quote id to download"}},{"name":"template","in":"query","required":false,"description":"Template name to generate document","schema":{"type":"string","enum":["delivery","command"],"description":"Template name to generate document"}}],"responses":{"200":{"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:sinao/app-payments-reconciliation-reconcile":{"post":{"operationId":"finance_sinao_app_payments_reconciliation_reconcile","summary":"Reconcile a transaction or a document","description":"POST /apps/{appId}/reconcile","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","type","id","movements"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"replace_all":{"type":"boolean","default":false,"description":"Remove all previous reconciliations"},"type":{"type":"string","enum":["transaction","sales","purchase"],"description":"Object to pay with these payments and categorizations"},"id":{"type":"integer","description":"Transaction, sales invoice or purchase invoice id to reconcile"},"movements":{"type":"object","description":"List of objects to reconcile with the parent object. The parent object and the children must be different, a transaction cannot be…"},"paid_at":{"type":"string","description":"Payment date for cashdesk or waiting entries"},"rule":{"type":"object","description":"Create an auto-reconciliation rule"}}}}}},"responses":{"200":{"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:sinao/app-payments-reconciliation-unreconcile":{"post":{"operationId":"finance_sinao_app_payments_reconciliation_unreconcile","summary":"Remove payments by an object","description":"DELETE /apps/{appId}/reconcile","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","type","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"type":{"type":"string","enum":["transaction","sales","purchase"],"description":"Object to unpay with this payment"},"id":{"type":"integer","description":"Transaction, sales invoice or purchase invoice id to unreconcile"}}}}}},"responses":{"200":{"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:sinao/app-payments-reconciliation-batch":{"post":{"operationId":"finance_sinao_app_payments_reconciliation_batch","summary":"Reconcile several transactions","description":"POST /apps/{appId}/reconcile/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"array of reconciliation params"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-list":{"get":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_list","summary":"List RecurringInvoice","description":"GET /apps/{appId}/recurringinvoices","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-create":{"post":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_create","summary":"Create a RecurringInvoice","description":"POST /apps/{appId}/recurringinvoices","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","frequency_count","frequency_duration"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"contact_infos":{"type":"object"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"},"currency":{"type":"string"},"legal_notice":{"type":"string","description":"Legal mentions"},"bank_details_id":{"type":"integer"},"vat_exemption":{"type":"object"},"tags":{"type":"array"},"metadata":{"type":"array"},"payment_period":{"type":"integer","default":30,"description":"Days count before considere this invoice as late"},"next_invoice_at":{"type":"string"},"end_at":{"type":"string"},"frequency_count":{"type":"integer"},"frequency_duration":{"type":"string","enum":["day","week","month","trimester","semester","year"]},"discount":{"type":"integer"},"discount_mode":{"type":"string","enum":["percent"]},"discount_start_at":{"type":"string"},"discount_end_at":{"type":"string"},"details":{"type":"string"},"orders_plan":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-batch":{"post":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_batch","summary":"Create or update many RecurringInvoice","description":"POST /apps/{appId}/recurringinvoices/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of RecurringInvoice. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-batch-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_batch_delete","summary":"Delete many RecurringInvoice","description":"DELETE /apps/{appId}/recurringinvoices/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array","description":"List of RecurringInvoice 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:sinao/app-documents-sales-recurringinvoices-get-periods":{"get":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_get_periods","summary":"Get json of periods_formats for a date.","description":"GET /apps/{appId}/recurringinvoices/periods","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"date","in":"query","required":false,"description":"Date of the invoice","schema":{"type":"string","description":"Date of the invoice"}}],"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-get":{"get":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_get","summary":"Get a RecurringInvoice","description":"GET /apps/{appId}/recurringinvoices/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of RecurringInvoice","schema":{"type":"integer","description":"ID of RecurringInvoice"}}],"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-update":{"post":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_update","summary":"Update a RecurringInvoice","description":"POST /apps/{appId}/recurringinvoices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of RecurringInvoice"},"contact_infos":{"type":"object"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"},"currency":{"type":"string"},"legal_notice":{"type":"string","description":"Legal mentions"},"bank_details_id":{"type":"integer"},"vat_exemption":{"type":"object"},"tags":{"type":"array"},"metadata":{"type":"array"},"payment_period":{"type":"integer","default":30,"description":"Days count before considere this invoice as late"},"next_invoice_at":{"type":"string"},"end_at":{"type":"string"},"frequency_count":{"type":"integer"},"frequency_duration":{"type":"string","enum":["day","week","month","trimester","semester","year"]},"discount":{"type":"integer"},"discount_mode":{"type":"string","enum":["percent"]},"discount_start_at":{"type":"string"},"discount_end_at":{"type":"string"},"details":{"type":"string"},"orders_plan":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_delete","summary":"Remove a RecurringInvoice","description":"DELETE /apps/{appId}/recurringinvoices/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of RecurringInvoice"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-recurringinvoices-plan":{"get":{"operationId":"finance_sinao_app_documents_sales_recurringinvoices_plan","summary":"Preview next invoices generations","description":"GET /apps/{appId}/recurringinvoices/{id}/plan","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Recurring invoice id","schema":{"type":"integer","description":"Recurring invoice id"}},{"name":"until","in":"query","required":true,"description":"Until date to generate plan","schema":{"type":"string","description":"Until date to generate plan"}}],"responses":{"200":{"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:sinao/app-contacts-relationships-list":{"get":{"operationId":"finance_sinao_app_contacts_relationships_list","summary":"List relationships","description":"GET /apps/{appId}/relationships","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-contacts-relationships-get":{"get":{"operationId":"finance_sinao_app_contacts_relationships_get","summary":"Get a relationship","description":"GET /apps/{appId}/relationships/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of Relationship","schema":{"type":"integer","description":"ID of Relationship"}}],"responses":{"200":{"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:sinao/app-contacts-relationships-update":{"post":{"operationId":"finance_sinao_app_contacts_relationships_update","summary":"Update a relationship","description":"POST /apps/{appId}/relationships/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of Relationship"},"is_customer":{"type":"boolean"},"is_supplier":{"type":"boolean"},"is_prospect":{"type":"boolean"},"importance_level":{"type":"integer"},"rating":{"type":"integer"},"balance_initial_amount":{"type":"integer"},"is_notifying":{"type":"boolean"},"note":{"type":"string"},"reference":{"type":"string","description":"Accounting number if it's specific"},"tags":{"type":"string"},"discount":{"type":"string"},"details":{"type":"string"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/app-contacts-relationships-attach":{"post":{"operationId":"finance_sinao_app_contacts_relationships_attach","summary":"Attach a file","description":"POST /apps/{appId}/relationships/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-contacts-relationships-detach":{"post":{"operationId":"finance_sinao_app_contacts_relationships_detach","summary":"Detach a file","description":"DELETE /apps/{appId}/relationships/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file_id":{"type":"integer","description":"File to detach"}}}}}},"responses":{"200":{"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:sinao/app-reset":{"post":{"operationId":"finance_sinao_app_reset","summary":"Reset all data","description":"POST /apps/{appId}/reset","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-rules-list":{"get":{"operationId":"finance_sinao_app_rules_list","summary":"List rules","description":"GET /apps/{appId}/rules/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-rules-create":{"post":{"operationId":"finance_sinao_app_rules_create","summary":"Create a rule","description":"POST /apps/{appId}/rules/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"conditions":{"type":"array","description":"[ [property, comparator, value], ... ]"},"on_event":{"type":"string","description":"Event like model.event, event in [saved, created, updated, deleted]"},"parameter":{"type":"string"},"value":{"type":"string"},"priority":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-rules-execute-on":{"post":{"operationId":"finance_sinao_app_rules_execute_on","summary":"Execute all rules","description":"POST /apps/{appId}/rules/execute_on","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"model":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-rules-get":{"get":{"operationId":"finance_sinao_app_rules_get","summary":"Get a rule","description":"GET /apps/{appId}/rules/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"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:sinao/app-rules-update":{"post":{"operationId":"finance_sinao_app_rules_update","summary":"Update a rule","description":"POST /apps/{appId}/rules/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"conditions":{"type":"array","description":"[ [property, comparator, value], ... ]"},"on_event":{"type":"string"},"parameter":{"type":"string"},"value":{"type":"string"},"priority":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-rules-delete":{"post":{"operationId":"finance_sinao_app_rules_delete","summary":"Remove a rule","description":"DELETE /apps/{appId}/rules/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-models-list":{"get":{"operationId":"finance_sinao_app_documents_sales_models_list","summary":"List sales documents models","description":"GET /apps/{appId}/salesdocumentmodels","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-documents-sales-models-create":{"post":{"operationId":"finance_sinao_app_documents_sales_models_create","summary":"Create a sales document model","description":"POST /apps/{appId}/salesdocumentmodels","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"name":{"type":"string"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-models-get":{"get":{"operationId":"finance_sinao_app_documents_sales_models_get","summary":"Get a sales document model","description":"GET /apps/{appId}/salesdocumentmodels/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of SalesDocumentModel","schema":{"type":"integer","description":"ID of SalesDocumentModel"}}],"responses":{"200":{"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:sinao/app-documents-sales-models-update":{"post":{"operationId":"finance_sinao_app_documents_sales_models_update","summary":"Update a sales document model","description":"POST /apps/{appId}/salesdocumentmodels/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of SalesDocumentModel"},"name":{"type":"string"},"title":{"type":"string"},"content":{"type":"array"},"columns":{"type":"object","description":"List columns to display"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-models-delete":{"post":{"operationId":"finance_sinao_app_documents_sales_models_delete","summary":"Remove a sales document model","description":"DELETE /apps/{appId}/salesdocumentmodels/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of SalesDocumentModel"}}}}}},"responses":{"200":{"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:sinao/app-payments-sepamandates-list":{"get":{"operationId":"finance_sinao_app_payments_sepamandates_list","summary":"List SEPAMandate","description":"GET /apps/{appId}/sepamandates/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-payments-sepamandates-create":{"post":{"operationId":"finance_sinao_app_payments_sepamandates_create","summary":"Create a SEPAMandate","description":"POST /apps/{appId}/sepamandates/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","mandate_id","signed_at","iban","bic"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"customer_organization_id":{"type":"integer"},"customer_person_id":{"type":"integer"},"old_mandate_id":{"type":"integer"},"mandate_id":{"type":"string"},"signed_at":{"type":"string"},"electronic_signature":{"type":"string"},"customer_name":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"is_first":{"type":"boolean"}}}}}},"responses":{"200":{"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:sinao/app-payments-sepacredittransfer-preview":{"get":{"operationId":"finance_sinao_app_payments_sepacredittransfer_preview","summary":"Preview sepa credit transfer file","description":"GET /apps/{appId}/sepamandates/credittransfer","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"ids","in":"query","required":true,"schema":{"type":"array"}}],"responses":{"200":{"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:sinao/app-payments-sepacredittransfer-download":{"post":{"operationId":"finance_sinao_app_payments_sepacredittransfer_download","summary":"Preview sepa credit transfer file","description":"POST /apps/{appId}/sepamandates/credittransfer","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"ids":{"type":"array"},"amounts":{"type":"array","description":"Optional array with amounts (keys must to correspond to ids)"},"debtor_name":{"type":"string"},"debtor_iban":{"type":"string"},"debtor_bic":{"type":"string"},"btchBookg":{"type":"integer"}}}}}},"responses":{"200":{"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:sinao/app-payments-sepadirectdebit-preview":{"get":{"operationId":"finance_sinao_app_payments_sepadirectdebit_preview","summary":"Preview sepa direct debit file","description":"GET /apps/{appId}/sepamandates/directdebit","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"invoices_ids","in":"query","required":true,"schema":{"type":"array"}}],"responses":{"200":{"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:sinao/app-payments-sepadirectdebit-download":{"post":{"operationId":"finance_sinao_app_payments_sepadirectdebit_download","summary":"Download sepa direct debit file","description":"POST /apps/{appId}/sepamandates/directdebit","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","invoices_ids"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"invoices_ids":{"type":"array"},"amounts":{"type":"array","description":"Optional array with amounts (keys must to correspond to invoices_ids)"},"creditor_name":{"type":"string"},"creditor_iban":{"type":"string"},"creditor_bic":{"type":"string"},"creditor_ics":{"type":"string"},"date":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-payments-sepamandates-get":{"get":{"operationId":"finance_sinao_app_payments_sepamandates_get","summary":"Get a SEPAMandate","description":"GET /apps/{appId}/sepamandates/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of SEPAMandate","schema":{"type":"integer","description":"ID of SEPAMandate"}}],"responses":{"200":{"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:sinao/app-payments-sepamandates-update":{"post":{"operationId":"finance_sinao_app_payments_sepamandates_update","summary":"Update a SEPAMandate","description":"POST /apps/{appId}/sepamandates/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of SEPAMandate"},"customer_organization_id":{"type":"integer"},"customer_person_id":{"type":"integer"},"old_mandate_id":{"type":"integer"},"mandate_id":{"type":"string"},"signed_at":{"type":"string"},"electronic_signature":{"type":"string"},"customer_name":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"is_first":{"type":"boolean"}}}}}},"responses":{"200":{"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:sinao/app-payments-sepamandates-delete":{"post":{"operationId":"finance_sinao_app_payments_sepamandates_delete","summary":"Remove a SEPAMandate","description":"DELETE /apps/{appId}/sepamandates/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of SEPAMandate"}}}}}},"responses":{"200":{"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:sinao/app-services-stripe-webhook-ping":{"get":{"operationId":"finance_sinao_app_services_stripe_webhook_ping","summary":"Ping Stripe webhook endpoint","description":"GET /apps/{appId}/services/stripe/webhook","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-services-stripe-webhook-handle":{"post":{"operationId":"finance_sinao_app_services_stripe_webhook_handle","summary":"Webhook for Stripe","description":"POST /apps/{appId}/services/stripe/webhook","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-services-yousign-webhook-handle":{"post":{"operationId":"finance_sinao_app_services_yousign_webhook_handle","summary":"Webhook for Yousign","description":"POST /apps/{appId}/services/yousign/webhook","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-settings-get":{"get":{"operationId":"finance_sinao_app_settings_get","summary":"Get app config","description":"GET /apps/{appId}/settings","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"key","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"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:sinao/app-settings-update":{"post":{"operationId":"finance_sinao_app_settings_update","summary":"Update app config","description":"POST /apps/{appId}/settings","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"settings":{"type":"object"},"key":{"type":"string"},"value":{"type":"string","description":"Value can be a primitive or a file"}}}}}},"responses":{"200":{"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:sinao/app-documents-sales-signature-create":{"post":{"operationId":"finance_sinao_app_documents_sales_signature_create","summary":"Create a signature","description":"POST /apps/{appId}/signature","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","documentId","email","firstname","lastname","phone"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"documentId":{"type":"integer"},"email":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"phone":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-sponsorship-activate":{"post":{"operationId":"finance_sinao_app_sponsorship_activate","summary":"Activate the invitation for sponsorship","description":"POST /apps/{appId}/sponsorship/activate","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","referrer_app_id","recipient"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"referrer_app_id":{"type":"string"},"recipient":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-sponsorship-send-invitation":{"post":{"operationId":"finance_sinao_app_sponsorship_send_invitation","summary":"Send an email","description":"POST /apps/{appId}/sponsorship/invite","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","from","recipient","referrer_name"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"from":{"type":"string"},"recipient":{"type":"string"},"referrer_name":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-sponsorship-referrals":{"get":{"operationId":"finance_sinao_app_sponsorship_referrals","summary":"Get all referrals for a referrer","description":"GET /apps/{appId}/sponsorship/list/referrals","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-sponsorship-referrer":{"get":{"operationId":"finance_sinao_app_sponsorship_referrer","summary":"Get the referrer information for my app","description":"GET /apps/{appId}/sponsorship/referrer","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-sponsorship-referrer-url":{"get":{"operationId":"finance_sinao_app_sponsorship_referrer_url","summary":"Get the referrer url for my app","description":"GET /apps/{appId}/sponsorship/referrer/url","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"referrer_name","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"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:sinao/app-statistics-charts-get":{"get":{"operationId":"finance_sinao_app_statistics_charts_get","summary":"Obtain statistics about sales","description":"GET /apps/{appId}/statistics/charts/{type}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"type","in":"query","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","enum":["hourly","daily","weekly","monthly","quarterly","yearly"]}},{"name":"start_at","in":"query","required":false,"schema":{"type":"string"}},{"name":"object","in":"query","required":false,"schema":{"type":"string","enum":["invoice","quote","purchase","transaction","payment","relationship"]}},{"name":"object_property","in":"query","required":false,"schema":{"type":"string"}},{"name":"calcul","in":"query","required":false,"schema":{"type":"string","enum":["sum","avg","count"]}},{"name":"methods","in":"query","required":false,"description":"Array of [object_property, calcul]","schema":{"type":"array","description":"Array of [object_property, calcul]"}},{"name":"object_date_property","in":"query","required":false,"schema":{"type":"string"}},{"name":"group_by","in":"query","required":false,"schema":{"type":"array"}},{"name":"group_by_object_name","in":"query","required":false,"schema":{"type":"string"}},{"name":"exclude_keys","in":"query","required":false,"schema":{"type":"array"}},{"name":"search","in":"query","required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","required":false,"schema":{"type":"object"}},{"name":"show_details","in":"query","required":false,"description":"Recovers the details of the calculations","schema":{"type":"boolean","description":"Recovers the details of the calculations"}}],"responses":{"200":{"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:sinao/app-statistics-timetable-purchases":{"get":{"operationId":"finance_sinao_app_statistics_timetable_purchases","summary":"Obtain statistics about timetable purchases","description":"GET /apps/{appId}/statistics/timetable/purchases","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"detailed","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"groups","in":"query","required":false,"description":"Array of intervals in days count","schema":{"type":"array","default":"[ [-730, -30], [-30, -1], [-1, 7], [7, 15], [15, 30], [30, 730] ]","description":"Array of intervals in days count"}}],"responses":{"200":{"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:sinao/app-statistics-timetable-sales":{"get":{"operationId":"finance_sinao_app_statistics_timetable_sales","summary":"Obtain statistics about sales","description":"GET /apps/{appId}/statistics/timetable/sales","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"detailed","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"groups","in":"query","required":false,"description":"Array of intervals in days count","schema":{"type":"array","default":"[ [-730, -30], [-30, -1], [-1, 7], [7, 15], [15, 30], [30, 730] ]","description":"Array of intervals in days count"}}],"responses":{"200":{"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:sinao/app-statistics-vat-get":{"get":{"operationId":"finance_sinao_app_statistics_vat_get","summary":"Obtain statistics about vat","description":"GET /apps/{appId}/statistics/vat","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"detailed","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"start_at","in":"query","required":false,"schema":{"type":"string","default":"now"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","enum":["monthly","quarterly","half-yearly","yearly"]}},{"name":"end_at","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"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:sinao/app-stripe-import-import-launch":{"post":{"operationId":"finance_sinao_app_stripe_import_import_launch","summary":"Launch the import of Stripe data","description":"POST /apps/{appId}/stripe/import/launch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","public_key","secret_key","private_webhook","start_at"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"public_key":{"type":"string"},"secret_key":{"type":"string"},"private_webhook":{"type":"string"},"start_at":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-stripe-import-import-state":{"get":{"operationId":"finance_sinao_app_stripe_import_import_state","summary":"Get the import state of Stripe data","description":"GET /apps/{appId}/stripe/import/state","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-stripe-import-import-status":{"get":{"operationId":"finance_sinao_app_stripe_import_import_status","summary":"Get the import status of Stripe data","description":"GET /apps/{appId}/stripe/import/status","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-subscription-anchordate":{"post":{"operationId":"finance_sinao_app_subscription_anchordate","summary":"Update anchor date","description":"POST /apps/{appId}/subscription/anchordate","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-subscription-checkout-add-source":{"get":{"operationId":"finance_sinao_app_subscription_checkout_add_source","summary":"Get payment link to Stripe Checkout","description":"GET /apps/{appId}/subscription/checkout_add_source","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-subscription-coupon":{"post":{"operationId":"finance_sinao_app_subscription_coupon","summary":"Add coupon","description":"POST /apps/{appId}/subscription/coupon","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","code"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"code":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-subscription-extend-trial":{"post":{"operationId":"finance_sinao_app_subscription_extend_trial","summary":"Extend trial period","description":"POST /apps/{appId}/subscription/extend_trial","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-subscription-extra-enable":{"post":{"operationId":"finance_sinao_app_subscription_extra_enable","summary":"Enable plan","description":"POST /apps/{appId}/subscription/extra/{stripe_plan}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","stripe_plan"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"stripe_plan":{"type":"string","description":"Stripe plan id to update invoice"}}}}}},"responses":{"200":{"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:sinao/app-subscription-pay-all":{"post":{"operationId":"finance_sinao_app_subscription_pay_all","summary":"Pay all due invoices","description":"POST /apps/{appId}/subscription/pay_all","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-subscription-get":{"get":{"operationId":"finance_sinao_app_subscription_get","summary":"Get current plan","description":"GET /apps/{appId}/subscription/plan","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-subscription-end":{"post":{"operationId":"finance_sinao_app_subscription_end","summary":"End current plan","description":"DELETE /apps/{appId}/subscription/plan","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-subscription-list":{"get":{"operationId":"finance_sinao_app_subscription_list","summary":"Get plans","description":"GET /apps/{appId}/subscription/plans","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-subscription-upcoming":{"get":{"operationId":"finance_sinao_app_subscription_upcoming","summary":"Simulate a plan","description":"GET /apps/{appId}/subscription/plans/{stripe_plan}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"stripe_plan","in":"query","required":true,"description":"Stripe plan id to simulate invoice","schema":{"type":"string","description":"Stripe plan id to simulate invoice"}},{"name":"stripe_coupon","in":"query","required":false,"description":"Stripe coupon id to simulate invoice","schema":{"type":"string","description":"Stripe coupon id to simulate invoice"}}],"responses":{"200":{"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:sinao/app-subscription-pay":{"post":{"operationId":"finance_sinao_app_subscription_pay","summary":"Change plan","description":"POST /apps/{appId}/subscription/plans/{stripe_plan}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","stripe_plan"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"stripe_plan":{"type":"string","description":"Stripe plan id to update invoice"},"stripe_source":{"type":"string","description":"Stripe source to pay"},"stripe_coupon":{"type":"string","description":"Stripe coupon id to apply"}}}}}},"responses":{"200":{"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:sinao/app-subscription-checkout":{"get":{"operationId":"finance_sinao_app_subscription_checkout","summary":"Get payment link to Stripe Checkout","description":"GET /apps/{appId}/subscription/plans/{stripe_plan}/checkout","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"stripe_plan","in":"query","required":true,"description":"Stripe plan id to simulate invoice","schema":{"type":"string","description":"Stripe plan id to simulate invoice"}},{"name":"stripe_coupon","in":"query","required":false,"description":"Stripe coupon id to simulate invoice","schema":{"type":"string","description":"Stripe coupon id to simulate invoice"}}],"responses":{"200":{"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:sinao/app-subscription-add-source":{"post":{"operationId":"finance_sinao_app_subscription_add_source","summary":"Add creditcard or sepadebit","description":"POST /apps/{appId}/subscription/source","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","stripe_source"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"stripe_source":{"type":"string","description":"Stripe source to pay"}}}}}},"responses":{"200":{"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:sinao/app-subscription-remove-source":{"post":{"operationId":"finance_sinao_app_subscription_remove_source","summary":"Remove creditcard or sepadebit","description":"DELETE /apps/{appId}/subscription/source","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","stripe_source"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"stripe_source":{"type":"string","description":"Stripe source to pay"}}}}}},"responses":{"200":{"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:sinao/app-subscription-set-default":{"post":{"operationId":"finance_sinao_app_subscription_set_default","summary":"Change default source","description":"POST /apps/{appId}/subscription/source/default","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","stripe_source"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"stripe_source":{"type":"string","description":"Stripe source to set as default source"}}}}}},"responses":{"200":{"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:sinao/app-statistics-tags-get":{"get":{"operationId":"finance_sinao_app_statistics_tags_get","summary":"Get all existants tags","description":"GET /apps/{appId}/tags","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"object","in":"query","required":false,"schema":{"type":"string","enum":["invoice","quote","purchase","product"]}}],"responses":{"200":{"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:sinao/app-settings-templates-list":{"get":{"operationId":"finance_sinao_app_settings_templates_list","summary":"Get templates","description":"GET /apps/{appId}/templates","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-settings-templates-create":{"post":{"operationId":"finance_sinao_app_settings_templates_create","summary":"Create a template","description":"POST /apps/{appId}/templates","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-settings-templates-batch":{"post":{"operationId":"finance_sinao_app_settings_templates_batch","summary":"Create multiple templates","description":"POST /apps/{appId}/templates/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of templates. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-settings-templates-default-template":{"get":{"operationId":"finance_sinao_app_settings_templates_default_template","summary":"Get default template","description":"GET /apps/{appId}/templates/default","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}],"responses":{"200":{"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:sinao/app-settings-templates-get":{"get":{"operationId":"finance_sinao_app_settings_templates_get","summary":"Get a template","description":"GET /apps/{appId}/templates/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"Automatically added","schema":{"type":"string","description":"Automatically added"}}],"responses":{"200":{"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:sinao/app-settings-templates-update":{"post":{"operationId":"finance_sinao_app_settings_templates_update","summary":"Update a template","description":"POST /apps/{appId}/templates/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"string","description":"Automatically added"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-transactions-list":{"get":{"operationId":"finance_sinao_app_cashflow_transactions_list","summary":"List Transaction","description":"GET /apps/{appId}/transactions/","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"offset","in":"query","required":false,"description":"The number of items to skip before starting to collect the result set.","schema":{"type":"integer","description":"The number of items to skip before starting to collect the result set."}},{"name":"limit","in":"query","required":false,"description":"The numbers of items to return.","schema":{"type":"integer","default":10,"description":"The numbers of items to return."}},{"name":"search","in":"query","required":false,"description":"A string to search for in objects.","schema":{"type":"string","description":"A string to search for in objects."}},{"name":"filters","in":"query","required":false,"description":"List of filters to apply to the query.","schema":{"type":"array","description":"List of filters to apply to the query."}},{"name":"order","in":"query","required":false,"description":"List in order of priority of the variables by which to order the result.","schema":{"type":"array","description":"List in order of priority of the variables by which to order the result."}}],"responses":{"200":{"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:sinao/app-cashflow-transactions-create":{"post":{"operationId":"finance_sinao_app_cashflow_transactions_create","summary":"Create a Transaction","description":"POST /apps/{appId}/transactions/","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","cashflow_source_id","amount","received_at"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"contact_organization_id":{"type":"integer"},"contact_person_id":{"type":"integer"},"account_id":{"type":"integer"},"cashflow_source_id":{"type":"integer"},"contact_name":{"type":"string"},"amount":{"type":"integer"},"method":{"type":"string","enum":["check","transfer","cash","creditcard","automatic_debit","creditnote"]},"received_at":{"type":"string"},"label":{"type":"string"},"details":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-transactions-batch":{"post":{"operationId":"finance_sinao_app_cashflow_transactions_batch","summary":"Create multiple transactions","description":"POST /apps/{appId}/transactions/batch","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","data"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"data":{"type":"array","description":"List of transactions. With ID for update, without for insert"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-transactions-get":{"get":{"operationId":"finance_sinao_app_cashflow_transactions_get","summary":"Get a Transaction","description":"GET /apps/{appId}/transactions/{id}","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"id","in":"query","required":true,"description":"ID of Transaction","schema":{"type":"integer","description":"ID of Transaction"}}],"responses":{"200":{"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:sinao/app-cashflow-transactions-update":{"post":{"operationId":"finance_sinao_app_cashflow_transactions_update","summary":"Update a Transaction","description":"POST /apps/{appId}/transactions/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of Transaction"},"contact_organization_id":{"type":"integer"},"contact_person_id":{"type":"integer"},"account_id":{"type":"integer"},"cashflow_source_id":{"type":"integer"},"contact_name":{"type":"string"},"amount":{"type":"integer"},"method":{"type":"string","enum":["check","transfer","cash","creditcard","automatic_debit","creditnote"]},"received_at":{"type":"string"},"label":{"type":"string"},"details":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-transactions-delete":{"post":{"operationId":"finance_sinao_app_cashflow_transactions_delete","summary":"Remove a Transaction","description":"DELETE /apps/{appId}/transactions/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer","description":"ID of Transaction"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-transactions-attach":{"post":{"operationId":"finance_sinao_app_cashflow_transactions_attach","summary":"Attach a file","description":"POST /apps/{appId}/transactions/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file":{"type":"string","description":"File to attach"}}}}}},"responses":{"200":{"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:sinao/app-cashflow-transactions-detach":{"post":{"operationId":"finance_sinao_app_cashflow_transactions_detach","summary":"Detach a file","description":"DELETE /apps/{appId}/transactions/{id}/attach","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","id"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"id":{"type":"integer"},"file_id":{"type":"integer","description":"File to detach"}}}}}},"responses":{"200":{"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:sinao/app-payments-urssaftiers-auth":{"post":{"operationId":"finance_sinao_app_payments_urssaftiers_auth","summary":"Login URSSAF","description":"POST /apps/{appId}/urssaf/auth","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","client_id","client_secret"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"},"client_id":{"type":"string"},"client_secret":{"type":"string"}}}}}},"responses":{"200":{"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:sinao/app-payments-urssaftiers-get-status":{"get":{"operationId":"finance_sinao_app_payments_urssaftiers_get_status","summary":"Get status of a payment","description":"GET /apps/{appId}/urssaf/payment","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"invoices_ids","in":"query","required":true,"schema":{"type":"array"}}],"responses":{"200":{"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:sinao/app-payments-urssaftiers-send-payments":{"post":{"operationId":"finance_sinao_app_payments_urssaftiers_send_payments","summary":"Send URSSAF request payment","description":"POST /apps/{appId}/urssaf/payment","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/app-payments-urssaftiers-preview":{"get":{"operationId":"finance_sinao_app_payments_urssaftiers_preview","summary":"Preview URSSAF request payment","description":"GET /apps/{appId}/urssaf/preview","tags":["finance"],"parameters":[{"name":"appId","in":"query","required":true,"description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…","schema":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}},{"name":"type","in":"query","required":true,"schema":{"type":"string","enum":["invoice","quote","contact"]}},{"name":"ids","in":"query","required":true,"schema":{"type":"array"}}],"responses":{"200":{"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:sinao/app-payments-urssaftiers-register-customer":{"post":{"operationId":"finance_sinao_app_payments_urssaftiers_register_customer","summary":"Register a person to URSSAF and create him a mandate","description":"POST /apps/{appId}/urssaf/register_customer","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId"],"properties":{"appId":{"type":"integer","description":"The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have…"}}}}}},"responses":{"200":{"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:sinao/auth-changepassword":{"post":{"operationId":"finance_sinao_auth_changepassword","summary":"Change password","description":"POST /changepassword","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["forgotten_password_token","password"],"properties":{"forgotten_password_token":{"type":"string"},"password":{"type":"string","description":"Password for account"}}}}}},"responses":{"200":{"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:sinao/auth-login":{"post":{"operationId":"finance_sinao_auth_login","summary":"Login","description":"POST /login","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","description":"Email for login"},"password":{"type":"string","description":"Password for login in clear text"}}}}}},"responses":{"200":{"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:sinao/auth-logout":{"post":{"operationId":"finance_sinao_auth_logout","summary":"Logout","description":"POST /logout","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:sinao/account-get":{"get":{"operationId":"finance_sinao_account_get","summary":"Get current user","description":"GET /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:sinao/account-update":{"post":{"operationId":"finance_sinao_account_update","summary":"Update current user","description":"POST /me","tags":["finance"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"civility":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"password":{"type":"string"},"email":{"type":"string"},"image":{"type":"string"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/auth-ping":{"get":{"operationId":"finance_sinao_auth_ping","summary":"Ping server","description":"GET /ping","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:sinao/auth-refresh":{"get":{"operationId":"finance_sinao_auth_refresh","summary":"Refresh a token","description":"GET /refresh","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:sinao/account-create":{"post":{"operationId":"finance_sinao_account_create","summary":"Create an User","description":"POST /register","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","password","cgu"],"properties":{"email":{"type":"string","description":"Email is the user's login, it must not have been registered"},"password":{"type":"string"},"cgu":{"type":"boolean","description":"The user must have validated the T&Cs"},"firstname":{"type":"string"},"lastname":{"type":"string"},"metadata":{"type":"array"}}}}}},"responses":{"200":{"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:sinao/auth-sendpassword":{"post":{"operationId":"finance_sinao_auth_sendpassword","summary":"Password recover by email","description":"POST /sendpassword","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","description":"Email for login"}}}}}},"responses":{"200":{"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:sinao/admin-purchase-collector-push":{"post":{"operationId":"finance_sinao_admin_purchase_collector_push","summary":"Push to purchase collector","description":"POST /services/collector","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["app_identifiant","collector_key","invoice"],"properties":{"app_identifiant":{"type":"string"},"collector_key":{"type":"string"},"invoice":{"type":"string","description":"Invoice or receipt file (pdf or image)"}}}}}},"responses":{"200":{"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:sinao/services-vies-get":{"get":{"operationId":"finance_sinao_services_vies_get","summary":"Get VIES database informations from SIREN","description":"GET /services/vies/{siren}","tags":["finance"],"parameters":[{"name":"siren","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"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"}}},"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"}}}}}}}