Run with Postman

Splitpayment

Web service that returns the list of companies subject to split-payment that are with VAT taxes paid by the public administration

Split-payment

Methods for the list of split-payment companies

List of all companies subject to split-payment

List of all companies subject to split-payment

Authorizations:

Responses

Response Schema: application/json
Array of objects (Company) [ items ]
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://test.splitpayment.openapi.it/");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "3 aziende trovate",
  • "error": null
}

Specific company

This method returns the data of the company identified by cf

Authorizations:
path Parameters
cf
required
string
Default: "<string>"
Example: 98040900171

Tax code or VAT number

Responses

Response Schema: application/json
Array of objects (Company) [ items ]
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://test.splitpayment.openapi.it/%7Bcf%7D");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "1 aziende trovate",
  • "error": null
}