Composing an invoice

A-Cube API supports two different formats to compose an invoice:

The difference between the XML and JSON format is only in the field naming. The XML format requires PascalCase while the JSON format snake_case.

In turn, the italian tax authority accept two different kind of invoices:

The simplified invoice has the advantage to require less information about the customer but has the limitation that the total amount can not be more than 400€.

You can find information about the structure of both invoice formats within the A-Cube Welcome Kit or directly at the official website.

Which fields A-Cube API fills automatically

A-Cube API pre-fills automatically for you some information within the DatiTrasmissione field:

  • IdTrasmittente
  • ProgressivoInvio
  • FormatoTrasmissione