InvoiceSimplified

Creates a new InvoiceSimplified resource

Creates a new Simplified Invoice (FatturaElettronicaSemplificata FSM10). As response you will get back the uuid of the created resource. The invoice will be available within the GET /invoices collection or via the GET /invoices/{uuid} HTTP request.

SecurityBearer
Request
Request Body schema:

The new InvoiceSimplified resource

required
object (FatturaPASemplificataFatturaElettronicaHeader-read)
required
Array of objects (FatturaPASemplificataFatturaElettronicaBody-read)
Responses
202

Accepted

400

Invalid input

post/invoices/simplified
Request samples
{
  • "fattura_elettronica_header": {
    },
  • "fattura_elettronica_body": [
    ]
}
Response samples
{
  • "uuid": "string"
}

Creates a new InvoiceSimplified resource in draft mode

Creates a new Simplified Invoice (FatturaElettronicaSemplificata FSM10) in draft mode. The invoice will not be sent to the SDI until it is explicitly requested.

SecurityBearer
Request
Request Body schema:

The new InvoiceSimplified resource

required
object (FatturaPASemplificataFatturaElettronicaHeader-read)
required
Array of objects (FatturaPASemplificataFatturaElettronicaBody-read)
Responses
201

Accepted

400

Invalid input

post/invoices/simplified/draft
Request samples
{
  • "fattura_elettronica_header": {
    },
  • "fattura_elettronica_body": [
    ]
}
Response samples
{
  • "uuid": "string"
}

Update the content of a draft invoice

Update the content of a draft invoice.

SecurityBearer
Request
path Parameters
id
required
string
Request Body schema:

The updated InvoiceSimplified resource

object (FatturaPASemplificataDraftFatturaElettronicaHeader-read)
Array of objects (FatturaPASemplificataDraftFatturaElettronicaBody-read)
Responses
200

OK

404

Not found

409

Invoice not in draft state

put/invoices/simplified/draft/{id}
Request samples
{
  • "fattura_elettronica_header": {
    },
  • "fattura_elettronica_body": [
    ]
}

Delete a draft invoice

Delete a draft invoice. All the contents will be completely removed from the platform.

SecurityBearer
Request
path Parameters
id
required
string
Responses
204

No content

404

Not found

409

Invoice not in draft state

delete/invoices/simplified/draft/{id}
Request samples

Accept and send a draft invoice to the SDI

Send a draft invoice to the SDI. The invoice will be validated and sent to the SDI.

SecurityBearer
Request
path Parameters
id
required
string
Responses
200

OK

404

Not found

409

Invoice not in draft state or cannot be sent to the SDI yet

post/invoices/simplified/draft/{id}/send
Request samples

Creates a InvoiceSimplified resource.

Validate an invoice without sending it to the government channel

SecurityBearer
Request
Request Body schema: application/json

The new InvoiceSimplified resource

required
object (FatturaPASemplificataFatturaElettronicaHeader-read)
required
Array of objects (FatturaPASemplificataFatturaElettronicaBody-read)
Responses
202

Accepted

400

Invalid input

post/invoices/simplified/validate
Request samples
application/json
{
  • "fattura_elettronica_header": {
    },
  • "fattura_elettronica_body": [
    ]
}