Request Information

Contact information of the purchaser for invoice.

Example URL:
v2.0/ProformaInvoices/{id}/PurchaserDocumentAddress
NameDescriptionTypeAdditional information
id

Invoice Id

integer

Required

id

Invoice Id

integer

Required

None.

Response Information

DocumentAddressApiModel
NameDescriptionTypeAdditional information
AccountNumber

string

Length: between 0 and 50 inclusive

Bank

string

Length: between 0 and 100 inclusive

BankNumberCode

string

Length: between 0 and 4 inclusive

City

string

Length: between 0 and 50 inclusive

Country

string

Length: between 0 and 100 inclusive

CountryId

integer

Readonly

DateLastChange

date

Data type: DateTime

Readonly

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

Iban

string

Length: between 0 and 50 inclusive

Id

Resource identifier

integer

Readonly

IdentificationNumber

string

Length: between 0 and 20 inclusive

Mobile

string

Length: between 0 and 20 inclusive

NickName

string

Length: between 0 and 200 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

Swift

string

Length: between 0 and 11 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:
{
  "AccountNumber": "sample string 1",
  "Bank": "sample string 2",
  "BankNumberCode": "sample string 3",
  "City": "sample string 4",
  "Country": "sample string 5",
  "CountryId": 1,
  "DateLastChange": "2024-11-28T11:42:57.9873037+00:00",
  "Email": "sample string 7",
  "Fax": "sample string 8",
  "Firstname": "sample string 9",
  "Iban": "sample string 10",
  "IdentificationNumber": "sample string 11",
  "Mobile": "sample string 12",
  "NickName": "sample string 13",
  "Phone": "sample string 14",
  "PostalCode": "sample string 15",
  "Street": "sample string 16",
  "Surname": "sample string 17",
  "Swift": "sample string 18",
  "Title": "sample string 19",
  "VatIdentificationNumber": "sample string 20",
  "VatIdentificationNumberSk": "sample string 21",
  "Www": "sample string 22",
  "Id": 23
}
Sample:
<DocumentAddressApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">23</Id>
  <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Links>
  <AccountNumber>sample string 1</AccountNumber>
  <Bank>sample string 2</Bank>
  <BankNumberCode>sample string 3</BankNumberCode>
  <City>sample string 4</City>
  <Country>sample string 5</Country>
  <CountryId>1</CountryId>
  <DateLastChange>2024-11-28T11:42:57.9873037+00:00</DateLastChange>
  <Email>sample string 7</Email>
  <Fax>sample string 8</Fax>
  <Firstname>sample string 9</Firstname>
  <Iban>sample string 10</Iban>
  <IdentificationNumber>sample string 11</IdentificationNumber>
  <Mobile>sample string 12</Mobile>
  <NickName>sample string 13</NickName>
  <Phone>sample string 14</Phone>
  <PostalCode>sample string 15</PostalCode>
  <Street>sample string 16</Street>
  <Surname>sample string 17</Surname>
  <Swift>sample string 18</Swift>
  <Title>sample string 19</Title>
  <VatIdentificationNumber>sample string 20</VatIdentificationNumber>
  <VatIdentificationNumberSk>sample string 21</VatIdentificationNumberSk>
  <Www>sample string 22</Www>
</DocumentAddressApiModel>