GET api/customers/einvoicesetting?id={id}

Get customer einvoice setting

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the customer einvoice setting

globally unique identifier

Required

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

CustomerEInvoiceSettingResponse
NameDescriptionTypeAdditional information
CustomerNumber

Customer number

integer

None.

EInvoiceTypeId

Id for einvoice type

1 = OIO Itella
2 = IPost
3 = Nordania
4 = ALD
5 = Leaseplan
6 = FleetMichelin
7 = OIOXML
8 = Svefakt
9 = FInvoice
10 = ERM_OIOItella
11 = Pagero

integer

None.

DeliveryType

Delivery type

string

Max length: 1

BuyersReferenceId

Buyers reference id

string

Max length: 30

EmailAddress

Email

string

Max length: 256

ReceiverId

Receiver id

string

Max length: 256

ReceiverIntermediatorId

Receiver intermediator id

string

Max length: 256

EInvoiceService

Einvoice service

string

Max length: 256

EInvoiceAction

EInvoice action

string

Max length: 256

TaxScheme

Tax scheme

string

Max length: 10

Response Formats

application/json, text/json

Sample:
{
  "CustomerNumber": 1,
  "EInvoiceTypeId": 2,
  "DeliveryType": "sample string 3",
  "BuyersReferenceId": "sample string 4",
  "EmailAddress": "sample string 5",
  "ReceiverId": "sample string 6",
  "ReceiverIntermediatorId": "sample string 7",
  "EInvoiceService": "sample string 8",
  "EInvoiceAction": "sample string 9",
  "TaxScheme": "sample string 10"
}

application/xml, text/xml

Sample:
<CustomerEInvoiceSettingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
  <BuyersReferenceId>sample string 4</BuyersReferenceId>
  <CustomerNumber>1</CustomerNumber>
  <DeliveryType>sample string 3</DeliveryType>
  <EInvoiceAction>sample string 9</EInvoiceAction>
  <EInvoiceService>sample string 8</EInvoiceService>
  <EInvoiceTypeId>2</EInvoiceTypeId>
  <EmailAddress>sample string 5</EmailAddress>
  <ReceiverId>sample string 6</ReceiverId>
  <ReceiverIntermediatorId>sample string 7</ReceiverIntermediatorId>
  <TaxScheme>sample string 10</TaxScheme>
</CustomerEInvoiceSettingResponse>