Create address

Create a new address for a specific customer

Path Params
string
required

Unique external reference.

Body Params

An address create request that is assigned to a specific debtorId. Can be of addressType INVOICE or SHIPPING.

string
length ≤ 255

Size must be between 0 and 255.

string
length ≤ 255

Optional additional address information. Size must be between 0 and 255.

string
length between 1 and 100

Unique external reference. If not provided NBX will auto generate a UUID. Must have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~-]{1,100}'.

string
required

Cannot be amended after the initial POST. Must not be null. Must be one of:

INVOICE
SHIPPING
string
length ≤ 255

Agency Profession Title. Size must be between 0 and 255.

string
length ≤ 255

City. Size must be between 0 and 255.

string
length ≤ 255

Company name. Size must be between 0 and 255.

string
required

Country code for country of address. Uses Alpha-2 or Alpha3 code (ISO 3166): https://www.iban.com/country-codes. Must not be null.

string
length ≤ 255

Department within a company. Size must be between 0 and 255.

eInvoicingParameters
object

Provides information needed to handle e-invoicing.

string
length ≤ 255

Recipient's email. It becomes mandatory for addresses of addressType INVOICE and preferredDocumentDelivery EMAIL. Size must be between 0 and 255.

string
length ≤ 255

First name of recipient. Size must be between 0 and 255.

string

Recipient's gender. Must be one of:

MALE
FEMALE
OTHER
NOTSET
string
length ≤ 255

Last name of recipient. Size must be between 0 and 255.

string
length ≤ 255

Number of post office box. Size must be between 0 and 255.

string
Defaults to NONE

Defines the preferred way of delivering documents to this customer. Only used for Addresses of Type INVOICE. When set to EMAIL and addressType is INVOICE, the field email must be filled. Must be one of:

EMAIL
LETTER
NONE
properties
array of objects

Array of properties assigned to the specific address.

properties
string
length ≤ 255

State. Size must be between 0 and 255.

string
length ≤ 255

State code. ISO 3166-2 subdivision code. Size must be between 0 and 255.

string
length ≤ 255

Name of street. Size must be between 0 and 255.

string
length ≤ 255

Street Number. Size must be between 0 and 255.

string
length ≤ 32

The taxNumber is the local country tax number given to a legal entity by their tax authority such as the German Steuernummer or Italian Codice Fiscale. Size must be between 0 and 32.

string

Status of address validation if required by configured tax provider. Must be one of:

TAXABLE
NON_TAXABLE
VALIDATION_PENDING
VALIDATION_NOT_REQUIRED
NOT_VALIDATED
VALIDATION_FAILED
string
length ≤ 20

Also known as VAT identification number (VATIN). An identifier used by countries for Value Added Tax purposes to identify legal entities, especially in the EU. Size must be between 0 and 20.

string
length ≤ 10

Postcode. Size must be between 0 and 10.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Choose an example:
application/json