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 |
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 |
listTemplates | GET /info/templates | List Templates |
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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
apiInstance.listArchiveCategories(companyId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let postalCode = "postalCode_example", // String | Postal code for filtering.
let city = "city_example" // String | City for filtering (ignored if postal_code is passed).
apiInstance.listCities(city).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
apiInstance.listCostCenters(companyId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
apiInstance.listCountries().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
apiInstance.listCurrencies().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
ListDeliveryNotesDefaultCausalsResponse listDeliveryNotesDefaultCausals()
List Delivery Notes Default Causals
Lists the delivery note default causals.
import { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
apiInstance.listDeliveryNotesDefaultCausals().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
apiInstance.listDetailedCountries().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
apiInstance.listLanguages().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let fields = "fields_example", // String | List of comma-separated fields.
let fieldset = "fieldset_example", // String | Name of the fieldset.
let sort = "sort_example" // String | List of comma-separated fields for result sorting (minus for desc sorting).
apiInstance.listPaymentAccounts(companyId, sort).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let fields = "fields_example", // String | List of comma-separated fields.
let fieldset = "fieldset_example", // String | Name of the fieldset.
let sort = "sort_example" // String | List of comma-separated fields for result sorting (minus for desc sorting).
apiInstance.listPaymentMethods(companyId, sort).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let context = "context_example"; // String | Categories resource type.
apiInstance.listProductCategories(companyId, context).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
apiInstance.listReceivedDocumentCategories(companyId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
apiInstance.listRevenueCenters(companyId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
companyId | Number | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
ListTemplatesResponse listTemplates(opts)
List Templates
Lists the available templates.
import { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let type = "'all'", // String | Type of the templates.
let byType = false // Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type.
apiInstance.listTemplates(byType).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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
ListUnitsOfMeasureResponse listUnitsOfMeasure()
List Units of Measure
Lists the units of measure.
import { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
apiInstance.listUnitsOfMeasure().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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 { Configuration, InfoApi } from '@fattureincloud/fattureincloud-ts-sdk';
// Configure OAuth2 access token for authorization:
const apiConfig = new Configuration({
accessToken: "YOUR ACCESS TOKEN"
});
let apiInstance = new InfoApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let fieldset = "fieldset_example" // String | Name of the fieldset.
apiInstance.listVatTypes(companyId, fieldset).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (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