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 | null

Size must be between 0 and 255.

string | null

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

string | null

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 | null

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

string | null

City. Size must be between 0 and 255.

string | null

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 | null

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

eInvoicingParameters
object | null

Provides information needed to handle e-invoicing.

string | null

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

string | null

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

string | null

Recipient's gender. Must be one of:

MALE
FEMALE
OTHER
NOTSET
string | null

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

string | null

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 | null

Array of properties assigned to the specific address.

properties
string | null

State. Size must be between 0 and 255.

string | null

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

string | null

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

string | null

Street Number. Size must be between 0 and 255.

string | null

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 | null

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 | null

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 | null

Postcode. Size must be between 0 and 10.

Responses

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