Run with Postman

Legal Invoice

Web service that allows you to activate an account for electronic invoicing.

Create

Methods that allow you to activate a new account

Register a new 'forfettario' legal invoice account

This method allows you to register a new legal invoice account of type 'forfettario'. 'forfettario' means that you have 50 starting invoices. For the documents the system will call from the following ip: 34.76.237.249

Authorizations:
Request Body schema: application/json
cf_piva_titolare
required
string
Default: "<string>"

cf/piva holder

denominazione_titolare
required
string
Default: "<string>"

name of the holder

comune_titolare
required
string
Default: "<string>"

holder city

indirizzo_titolare
required
string
Default: "<string>"

holder address

cap_titolare
required
string
Default: "<string>"

holder postal code

provincia_titolare
required
string
Default: "<string>"

holder province

email
required
string
Default: "<string>"

holder email

nome_richiedente
required
string
Default: "<string>"

customer name

cognome_richiedente
required
string
Default: "<string>"

customer surname

sesso_richiedente
required
string
Default: "<string>"
Enum: "M" "F"

gender

cf_richiedente
required
string
Default: "<string>"

customer fiscal code

data_nascita_richiedente
string
Default: "<string>"

customer date of birth (accepted format: dd/mm/yyyy)

telefono
string
Default: "<string>"

customer phone

cellulare
string
Default: "<string>"

customer mobile phone

documento_identita
required
string
Default: "<string>"

Url where the system can download a customer identity document; accepted format: pdf. The system will call from the following ip: 34.76.237.249

modulo_attivazione
required
string
Default: "<string>"

Url where the system can download the activation form; accepted format: pdf. The system will call from the following ip: 34.76.237.249

object (Callback)
autorinnovo
boolean
Default: false

if set to true, it allows the system to renew the account automatically upon expiration, trying to withdraw credit from the owner's purse

Responses

Response Schema: application/json
object (Account)
success
boolean
message
string
error
integer

Request samples

Content type
application/json
{
  • "cf_piva_titolare": "12485671007",
  • "denominazione_titolare": "openapi srl",
  • "comune_titolare": "roma",
  • "indirizzo_titolare": "via filippo marinetti 221",
  • "cap_titolare": "00143",
  • "provincia_titolare": "rm",
  • "email": "info@openapi.it",
  • "nome_richiedente": "Mario",
  • "cognome_richiedente": "Rossi",
  • "sesso_richiedente": "M",
  • "cf_richiedente": "MRXXXXXXXXXXXF",
  • "documento_identita": "https://mysite.it/document.pdf",
  • "modulo_attivazione": "https://mysite.it/activation_form.pdf",
  • "callback": {}
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

Register a new 'start' legal invoice account

This method allows you to register a new legal invoice account of type 'start'. 'start' means that you have 200 starting invoices. For the documents the system will call from the following ip: 34.76.237.249

Authorizations:
Request Body schema: application/json
cf_piva_titolare
required
string
Default: "<string>"

cf/piva holder

denominazione_titolare
required
string
Default: "<string>"

name of the holder

comune_titolare
required
string
Default: "<string>"

holder city

indirizzo_titolare
required
string
Default: "<string>"

holder address

cap_titolare
required
string
Default: "<string>"

holder postal code

provincia_titolare
required
string
Default: "<string>"

holder province

email
required
string
Default: "<string>"

holder email

nome_richiedente
required
string
Default: "<string>"

customer name

cognome_richiedente
required
string
Default: "<string>"

customer surname

sesso_richiedente
required
string
Default: "<string>"
Enum: "M" "F"

gender

cf_richiedente
required
string
Default: "<string>"

customer fiscal code

data_nascita_richiedente
string
Default: "<string>"

customer date of birth (accepted format: dd/mm/yyyy)

telefono
string
Default: "<string>"

customer phone

cellulare
string
Default: "<string>"

customer mobile phone

documento_identita
required
string
Default: "<string>"

Url where the system can download a customer identity document; accepted format: pdf. The system will call from the following ip: 34.76.237.249

modulo_attivazione
required
string
Default: "<string>"

Url where the system can download the activation form; accepted format: pdf. The system will call from the following ip: 34.76.237.249

object (Callback)
autorinnovo
boolean
Default: false

if set to true, it allows the system to renew the account automatically upon expiration, trying to withdraw credit from the owner's purse

Responses

Response Schema: application/json
object (Account)
success
boolean
message
string
error
integer

Request samples