Request Information

Add new contact.

Example URL:
v2.0/Contacts

None.

Contact entity for insertion

ContactPostApiModel
NameDescriptionTypeAdditional information
City

string

Length: between 0 and 50 inclusive

CompanyName

string

Required

Length: between 0 and 200 inclusive

CountryId

integer

Required

DefaultBankAccount

BankAccountPostApiModel

None.

DefaultInvoiceMaturity

integer

None.

DiscountPercentage

decimal number

None.

Email

string

Data type: EmailAddress

Length: between 0 and 254 inclusive

Fax

string

Length: between 0 and 20 inclusive

Firstname

string

Length: between 0 and 50 inclusive

Id

Resource identifier

integer

Readonly

IdentificationNumber

string

Length: between 0 and 20 inclusive

IsRegisteredForVatOnPay

Attribute for application of VAT based on payments

boolean

Used in Sk legislation.

IsSendReminder

boolean

None.

Mobile

string

Length: between 0 and 20 inclusive

Phone

string

Data type: PhoneNumber

Length: between 0 and 20 inclusive

PostalCode

string

Length: between 0 and 11 inclusive

Street

string

Length: between 0 and 100 inclusive

Surname

string

Length: between 0 and 50 inclusive

Title

string

Length: between 0 and 50 inclusive

VatIdentificationNumber

string

Length: between 0 and 20 inclusive

VatIdentificationNumberSk

string

Length: between 0 and 20 inclusive

Used in Sk legislation.

Www

string

Length: between 0 and 50 inclusive

Sample:
{
  "CompanyName": "sample string 1",
  "CountryId": 2,
  "DefaultBankAccount": {
    "CurrencyId": 1,
    "AccountNumber": "sample string 2",
    "BankId": 1,
    "Iban": "sample string 3",
    "Name": "sample string 4",
    "Swift": "sample string 5",
    "Id": 6
  },
  "IsRegisteredForVatOnPay": true,
  "DefaultInvoiceMaturity": 1,
  "City": "sample string 4",
  "DiscountPercentage": 1.0,
  "Email": "sample string 5",
  "Fax": "sample string 6",
  "Firstname": "sample string 7",
  "IdentificationNumber": "sample string 8",
  "IsSendReminder": true,
  "Mobile": "sample string 9",
  "Phone": "sample string 10",
  "PostalCode": "sample string 11",
  "Street": "sample string 12",
  "Surname": "sample string 13",
  "Title": "sample string 14",
  "VatIdentificationNumber": "sample string 15",
  "VatIdentificationNumberSk": "sample string 16",
  "Www": "sample string 17",
  "Id": 18
}
Sample:

Sample not available.

Sample:

Sample not available.

Response Information

ContactApiModel
NameDescriptionTypeAdditional information
AddressIdg

Identification of the contact for Money software

globally unique identifier

Only used in the Money system.

Readonly

City

string

Length: between 0 and 50 inclusive

CompanyName

string

Required

Length: between 0 and 200 inclusive

CountryId

integer

Required

CreditCheck

CreditCheckStatusDoklad

iDoklad does not use CreditCheck anymore. The returned value is not up to date.

Readonly

DateLastChange

date

Data type: DateTime

Readonly

DefaultBankAccount

BankAccountApiModel

Readonly

DefaultInvoiceMaturity

integer

None.

DiscountPercentage

decimal number

None.

Email

string

Data type: EmailAddress

Length: between 0 and 254 inclusive

Fax

string

Length: between 0 and 20 inclusive

Firstname

string

Length: between 0 and 50 inclusive

Id

integer

Readonly

IdentificationNumber

string

Length: between 0 and 20 inclusive

IsRegisteredForVatOnPay

Attribute for application of VAT based on payments

boolean

Used in Sk legislation.

IsSendReminder

boolean

None.

Mobile

string

Length: between 0 and 20 inclusive

Phone

string

Data type: PhoneNumber

Length: between 0 and 20 inclusive

PostalCode

string

Length: between 0 and 11 inclusive

Street

string

Length: between 0 and 100 inclusive

Surname

string

Length: between 0 and 50 inclusive

Title

string

Length: between 0 and 50 inclusive

VatIdentificationNumber

string

Length: between 0 and 20 inclusive

VatIdentificationNumberSk

string

Length: between 0 and 20 inclusive

Used in Sk legislation.

Www

string

Length: between 0 and 50 inclusive

Sample:
{
  "AddressIdg": "6a325e1f-f045-480c-910d-167818a44a86",
  "CreditCheck": 0,
  "DateLastChange": "2024-10-06T06:38:12.4181434+00:00",
  "DefaultBankAccount": {
    "Bank": {
      "Code": "sample string 1",
      "Country": {
        "Code": "sample string 1",
        "Currency": {
          "Code": "sample string 1",
          "Country": "sample string 2",
          "Name": "sample string 3",
          "Priority": 4,
          "Symbol": "sample string 5",
          "Id": 6
        },
        "CurrencyId": 2,
        "DateLastChange": "2024-10-06T06:38:12.4181434+00:00",
        "Name": "sample string 4",
        "NameEnglish": "sample string 5",
        "IsEuMember": true,
        "Id": 7
      },
      "CountryId": 2,
      "DateLastChange": "2024-10-06T06:38:12.4181434+00:00",
      "Name": "sample string 4",
      "NumberCode": "sample string 5",
      "Swift": "sample string 6",
      "IsOutOfDate": true,
      "Id": 8
    },
    "Currency": {
      "Code": "sample string 1",
      "Country": "sample string 2",
      "Name": "sample string 3",
      "Priority": 4,
      "Symbol": "sample string 5",
      "Id": 6
    },
    "DateLastChange": "2024-10-06T06:38:12.4181434+00:00",
    "IsDefault": true,
    "CurrencyId": 3,
    "AccountNumber": "sample string 4",
    "BankId": 1,
    "Iban": "sample string 5",
    "Name": "sample string 6",
    "Swift": "sample string 7",
    "Id": 8
  },
  "Id": 3,
  "CompanyName": "sample string 4",
  "CountryId": 5,
  "IsRegisteredForVatOnPay": true,
  "DefaultInvoiceMaturity": 1,
  "City": "sample string 7",
  "DiscountPercentage": 1.0,
  "Email": "sample string 8",
  "Fax": "sample string 9",
  "Firstname": "sample string 10",
  "IdentificationNumber": "sample string 11",
  "IsSendReminder": true,
  "Mobile": "sample string 12",
  "Phone": "sample string 13",
  "PostalCode": "sample string 14",
  "Street": "sample string 15",
  "Surname": "sample string 16",
  "Title": "sample string 17",
  "VatIdentificationNumber": "sample string 18",
  "VatIdentificationNumberSk": "sample string 19",
  "Www": "sample string 20"
}
Sample:

Sample not available.

Sample:

Sample not available.