Skip to main content
POST
/
partners
/
{sellerId}
/
orders
/
{uuid}
/
invoice
Submit invoice data.
curl --request POST \
  --url https://api.novatrade24.com/v1/partners/{sellerId}/orders/{uuid}/invoice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "type": "PRELIMINARY",
  "invoiceDate": "2023-12-25",
  "invoiceNumber": "<string>",
  "vatIncluded": true,
  "amount": {
    "value": 7900,
    "currency": "EUR"
  },
  "marginScheme": false
}
'
{
  "type": "PRELIMINARY",
  "invoiceDate": "2023-12-25",
  "invoiceNumber": "<string>",
  "vatIncluded": true,
  "amount": {
    "value": 7900,
    "currency": "EUR"
  },
  "marginScheme": false,
  "status": "DRAFT",
  "finalInvoiceRequired": true,
  "finalInvoiceReceived": true,
  "version": 123,
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

OAuth 2.0 client_credentials grant via Keycloak service account. Clients are provisioned per IntegrationOrganization in the nt24-idp realm.

Headers

Idempotency-Key
string
required

Client-generated unique key (UUID recommended) for this write operation. Identical key + identical body within 24h returns the cached response. Identical key + different body returns 422.

Required string length: 1 - 255

Path Parameters

sellerId
string<uuid>
required

UUID of the seller trade partner (must be in caller's authorized list).

uuid
string<uuid>
required

Body

application/json
type
enum<string>
required
Available options:
PRELIMINARY,
FINAL
invoiceDate
string<date>
required
invoiceNumber
string
required
vatIncluded
boolean
required
amount
object
required
marginScheme
boolean
default:false

Response

Invoice stored.

type
enum<string>
required
Available options:
PRELIMINARY,
FINAL
invoiceDate
string<date>
required
invoiceNumber
string
required
vatIncluded
boolean
required
amount
object
required
marginScheme
boolean
default:false
status
enum<string>
Available options:
DRAFT,
SUBMITTED,
VALID,
INVALID
finalInvoiceRequired
boolean
finalInvoiceReceived
boolean
version
integer
updatedAt
string<date-time>