All URIs are relative to https://api-v2.fattureincloud.it
| Method | HTTP request | Description |
|---|---|---|
| listArchiveCategories | GET /c/{company_id}/info/archive_categories | List Archive Categories |
| listCities | GET /info/cities | List Cities |
| listCostCenters | GET /c/{company_id}/info/cost_centers | List Cost Centers |
| listCountries | GET /info/countries | List Countries |
| listCurrencies | GET /info/currencies | List Currencies |
| listDefaultTemplates | GET /info/templates | List Default Templates |
| listDeliveryNotesDefaultCausals | GET /info/dn_causals | List Delivery Notes Default Causals |
| listDetailedCountries | GET /info/detailed_countries | List Detailed Countries |
| listLanguages | GET /info/languages | List Languages |
| listPaymentAccounts | GET /c/{company_id}/info/payment_accounts | List Payment Accounts |
| listPaymentMethods | GET /c/{company_id}/info/payment_methods | List Payment Methods |
| listProductCategories | GET /c/{company_id}/info/product_categories | List Product Categories |
| listReceivedDocumentCategories | GET /c/{company_id}/info/received_document_categories | List Received Document Categories |
| listRevenueCenters | GET /c/{company_id}/info/revenue_centers | List Revenue Centers |
| listUnitsOfMeasure | GET /info/measures | List Units of Measure |
| listVatTypes | GET /c/{company_id}/info/vat_types | List Vat Types |
ListArchiveCategoriesResponse listArchiveCategories(companyId)
List Archive Categories
Lists the archive categories.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
apiInstance.listArchiveCategories(companyId).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
ListCitiesResponse listCities(opts)
List Cities
Lists the Italian cities.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let opts = {
'postalCode': "postalCode_example", // String | Postal code for filtering.
'city': "city_example" // String | City for filtering (ignored if postal_code is passed).
};
apiInstance.listCities(opts).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| postalCode | String | Postal code for filtering. | [optional] |
| city | String | City for filtering (ignored if postal_code is passed). | [optional] |
- Content-Type: Not defined
- Accept: application/json
ListCostCentersResponse listCostCenters(companyId)
List Cost Centers
Lists the cost centers.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
apiInstance.listCostCenters(companyId).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
ListCountriesResponse listCountries()
List Countries
Lists the supported countries.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
apiInstance.listCountries().then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
ListCurrenciesResponse listCurrencies()
List Currencies
Lists the supported currencies.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
apiInstance.listCurrencies().then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
ListTemplatesResponse listDefaultTemplates(opts)
List Default Templates
Lists the default available templates.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let opts = {
'type': "'all'", // String | Type of the templates.
'byType': false // Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type.
};
apiInstance.listDefaultTemplates(opts).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the templates. | [optional] [default to 'all'] |
| byType | Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
ListDeliveryNotesDefaultCausalsResponse listDeliveryNotesDefaultCausals()
List Delivery Notes Default Causals
Lists the delivery note default causals.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
apiInstance.listDeliveryNotesDefaultCausals().then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
ListDeliveryNotesDefaultCausalsResponse
- Content-Type: Not defined
- Accept: application/json
ListDetailedCountriesResponse listDetailedCountries()
List Detailed Countries
Lists the supported countries.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
apiInstance.listDetailedCountries().then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
ListLanguagesResponse listLanguages()
List Languages
Lists the supported languages.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
apiInstance.listLanguages().then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
ListPaymentAccountsResponse listPaymentAccounts(companyId, opts)
List Payment Accounts
Lists the available payment accounts.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
let opts = {
'fields': "fields_example", // String | List of comma-separated fields.
'fieldset': "fieldset_example", // String | Name of the fieldset.
'sort': "sort_example" // String | List of comma-separated fields for result sorting (minus for desc sorting).
};
apiInstance.listPaymentAccounts(companyId, opts).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. | |
| fields | String | List of comma-separated fields. | [optional] |
| fieldset | String | Name of the fieldset. | [optional] |
| sort | String | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
- Content-Type: Not defined
- Accept: application/json
ListPaymentMethodsResponse listPaymentMethods(companyId, opts)
List Payment Methods
Lists the available payment methods.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
let opts = {
'fields': "fields_example", // String | List of comma-separated fields.
'fieldset': "fieldset_example", // String | Name of the fieldset.
'sort': "sort_example" // String | List of comma-separated fields for result sorting (minus for desc sorting).
};
apiInstance.listPaymentMethods(companyId, opts).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. | |
| fields | String | List of comma-separated fields. | [optional] |
| fieldset | String | Name of the fieldset. | [optional] |
| sort | String | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
- Content-Type: Not defined
- Accept: application/json
ListProductCategoriesResponse listProductCategories(companyId, context)
List Product Categories
Lists the product categories.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
let context = "context_example"; // String | Categories resource type.
apiInstance.listProductCategories(companyId, context).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. | |
| context | String | Categories resource type. |
- Content-Type: Not defined
- Accept: application/json
ListReceivedDocumentCategoriesResponse listReceivedDocumentCategories(companyId)
List Received Document Categories
Lists the received document categories.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
apiInstance.listReceivedDocumentCategories(companyId).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. |
ListReceivedDocumentCategoriesResponse
- Content-Type: Not defined
- Accept: application/json
ListRevenueCentersResponse listRevenueCenters(companyId)
List Revenue Centers
Lists the revenue centers.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
apiInstance.listRevenueCenters(companyId).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
ListUnitsOfMeasureResponse listUnitsOfMeasure()
List Units of Measure
Lists the units of measure.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
apiInstance.listUnitsOfMeasure().then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
ListVatTypesResponse listVatTypes(companyId, opts)
List Vat Types
Lists the available vat types.
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new fattureInCloudSdk.InfoApi();
let companyId = 12345; // Number | The ID of the company.
let opts = {
'fieldset': "fieldset_example" // String | Name of the fieldset.
};
apiInstance.listVatTypes(companyId, opts).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| companyId | Number | The ID of the company. | |
| fieldset | String | Name of the fieldset. | [optional] |
- Content-Type: Not defined
- Accept: application/json