InvoiceExtraSDI

Creates a InvoiceExtraSDI resource.

Create a new Extra SDI Invoice. As response you will get back the uuid of the created resource. The invoice will be available within the GET /invoices?type=3 collection or using the usual GET /invoices/{uuid} HTTP request.

SecurityBearer
Request
Request Body schema:

The new InvoiceExtraSDI resource

payload
required
string

The base64 encoded file content. Max size of the payload is 10 Megabytes.

type
required
integer

The type must be set to 3 for supplier extra invoices.

Value: 3
required
object (InvoiceExtraSDIInputBusinessRegistry)
required
object (InvoiceExtraSDIInputBusinessRegistry)
date
required
string <date-time>

The recipient business registry Invoice date format yyyy-mm-dd.

number
required
string

Invoice number.

filename
string

Invoice filename, if not provided it will be set as the invoice uuid.pdf.

object (InvoiceExtraSDIInputMetadata)
Responses
201

InvoiceExtraSDI resource created

400

Invalid input

404

Resource not found

post/invoices/extra-sdi
Request samples
{
  • "payload": "string",
  • "type": 3,
  • "recipient": {
    },
  • "sender": {
    },
  • "date": "2019-08-24T14:15:22Z",
  • "number": "string",
  • "filename": "string",
  • "metadata": {
    }
}
Response samples
{
  • "uuid": "string"
}