Skip to main content
POST
/
counterparts
/
{counterpart_id}
/
einvoicing_credentials
Add e-invoicing credentials for a counterpart
curl --request POST \
  --url https://api.sandbox.monite.com/v1/counterparts/{counterpart_id}/einvoicing_credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-monite-entity-id: <x-monite-entity-id>' \
  --header 'x-monite-version: <x-monite-version>' \
  --data '
{
  "counterpart_vat_id_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "network_identifier": "<string>",
  "network_schema": "DE:VAT"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-monite-version
string<date>
required
x-monite-entity-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

counterpart_id
string<uuid>
required

Body

application/json
counterpart_vat_id_id
string<uuid>
required

ID of Counterpart VAT ID

Response

Successful Response

id
string<uuid>
required
network_identifier
string
required
Required string length: 1 - 255
network_schema
enum<string>
required
Available options:
DE:VAT,
NL:KVK,
NL:VAT,
BE:VAT,
BE:EN