İrsaliye Bilgilerini Getirir
Faturanın irsaliye bilgisini getirir.
GET/einvoice/Sale/{UUID}/DespatchInfo
Path parameters
UUID*string (uuid)
Response
Faturanın irsaliye bilgisini getirir.
Body
IDIDType (object)
IssueDatenullable string
DocumentTypeCodenullable string
DocumentTypenullable string
DocumentDescriptionnullable string
AttachmentAttachment (object)
ValidityPeriodPeriod (object)
IssuerPartyParty (object)
Request
const response = await fetch('/einvoice/Sale/{UUID}/DespatchInfo', {
method: 'GET',
headers: {},
});
const data = await response.json();
Response
[
{
"ID": {
"Id": "text",
"SchemeId": "text"
},
"IssueDate": "text",
"DocumentTypeCode": "text",
"DocumentType": "text",
"DocumentDescription": "text",
"Attachment": {
"ExternalReference": {
"URI": "text"
},
"EmbeddedDocumentBinaryObject": {
"Name": "text",
"CharacterSetCode": "text",
"EncodingCode": "text",
"MimeCode": "text",
"Filename": "text",
"Value": "Ynl0ZXM="
}
},
"ValidityPeriod": {
"StartDate": "text",
"StartTime": "text",
"EndDate": "text",
"EndTime": "text",
"DurationMeasure": {
"Value": 0,
"UnitCode": "text"
},
"Description": "text"
},
"IssuerParty": {
"EndpointID": "text",
"WebSiteURI": "text",
"IndustryClassificationCode": {
"Name": "text",
"ListID": "text",
"ListAgencyName": "text",
"ListName": "text",
"ListVersionID": "text"
},
"PartyIdentification": [
{
"ID": {
"Id": "text",
"SchemeId": "text"
},
"SchemeID": "text"
}
],
"PartyName": {
"Name": "text"
},
"PostalAddress": {
"ID": {
"Id": "text",
"SchemeId": "text"
},
"Postbox": "text",
"Room": "text",
"StreetName": "text",
"BlockName": "text",
"BuildingName": "text",
"BuildingNumber": "text",
"CitySubdivisionName": "text",
"CityName": "text",
"PostalZone": "text",
"Region": "text",
"District": "text",
"Country": {
"IdentificationCode": "text",
"Name": "text"
}
},
"PartyTaxScheme": {
"TaxScheme": {
"Name": "text",
"TaxTypeCode": "text"
}
},
"PartyLegalEntity": {
"RegistrationName": "text",
"CompanyID": {
"Id": "text",
"SchemeId": "text"
},
"RegistrationDate": "text",
"SoleProprietorshipIndicator": "text",
"CorporateStockAmount": {
"CurrencyID": "text",
"Value": 0
},
"FullyPaidSharesIndicator": "text",
"CorporateRegistrationScheme": {
"ID": {
"Id": "text",
"SchemeId": "text"
},
"Name": "text",
"CorporateRegistrationTypeCode": {
"Name": "text",
"ListID": "text",
"ListAgencyName": "text",
"ListName": "text",
"ListVersionID": "text"
},
"JurisdictionRegionAddress": [
{
"ID": {
"Id": "text",
"SchemeId": "text"
},
"Postbox": "text",
"Room": "text",
"StreetName": "text",
"BlockName": "text",
"BuildingName": "text",
"BuildingNumber": "text",
"CitySubdivisionName": "text",
"CityName": "text",
"PostalZone": "text",
"Region": "text",
"District": "text",
"Country": {
"IdentificationCode": "text",
"Name": "text"
}
}
]
}
},
"Contact": {
"Telephone": "text",
"Telefax": "text",
"ElectronicMail": "text",
"Note": "text",
"OtherCommunications": [
{
"ChannelCode": "text",
"Channel": "text",
"Value": "text"
}
]
},
"Person": {
"FirstName": "text",
"FamilyName": "text",
"Title": "text",
"MiddleName": "text",
"NameSuffix": "text",
"NationalityID": {
"Id": "text",
"SchemeId": "text"
},
"FinancialAccount": {
"ID": {
"Id": "text",
"SchemeId": "text"
},
"CurrencyCode": "text",
"PaymentNote": "text",
"FinancialInstitutionBranch": {
"Name": "text",
"FinancialInstitution": {
"Name": "text"
}
}
}
},
"AgentParty": {
"EndpointID": "text",
"WebSiteURI": "text",
"IndustryClassificationCode": {
"Name": "text",
"ListID": "text",
"ListAgencyName": "text",
"ListName": "text",
"ListVersionID": "text"
},
"PartyIdentification": [
{
"ID": {
"Id": "text",
"SchemeId": "text"
},
"SchemeID": "text"
}
],
"PartyName": {
"Name": "text"
},
"PostalAddress": {
"ID": {
"Id": "text",
"SchemeId": "text"
},
"Postbox": "text",
"Room": "text",
"StreetName": "text",
"BlockName": "text",
"BuildingName": "text",
"BuildingNumber": "text",
"CitySubdivisionName": "text",
"CityName": "text",
"PostalZone": "text",
"Region": "text",
"District": "text",
"Country": {
"IdentificationCode": "text",
"Name": "text"
}
},
"PartyTaxScheme": {
"TaxScheme": {
"Name": "text",
"TaxTypeCode": "text"
}
},
"PartyLegalEntity": {
"RegistrationName": "text",
"CompanyID": {
"Id": "text",
"SchemeId": "text"
},
"RegistrationDate": "text",
"SoleProprietorshipIndicator": "text",
"CorporateStockAmount": {
"CurrencyID": "text",
"Value": 0
},
"FullyPaidSharesIndicator": "text",
"CorporateRegistrationScheme": {
"ID": {
"Id": "text",
"SchemeId": "text"
},
"Name": "text",
"CorporateRegistrationTypeCode": {
"Name": "text",
"ListID": "text",
"ListAgencyName": "text",
"ListName": "text",
"ListVersionID": "text"
},
"JurisdictionRegionAddress": [
{
"ID": {
"Id": "text",
"SchemeId": "text"
},
"Postbox": "text",
"Room": "text",
"StreetName": "text",
"BlockName": "text",
"BuildingName": "text",
"BuildingNumber": "text",
"CitySubdivisionName": "text",
"CityName": "text",
"PostalZone": "text",
"Region": "text",
"District": "text",
"Country": {
"IdentificationCode": "text",
"Name": "text"
}
}
]
}
},
"Contact": {
"Telephone": "text",
"Telefax": "text",
"ElectronicMail": "text",
"Note": "text",
"OtherCommunications": [
{
"ChannelCode": "text",
"Channel": "text",
"Value": "text"
}
]
},
"Person": {
"FirstName": "text",
"FamilyName": "text",
"Title": "text",
"MiddleName": "text",
"NameSuffix": "text",
"NationalityID": {
"Id": "text",
"SchemeId": "text"
},
"FinancialAccount": {
"ID": {
"Id": "text",
"SchemeId": "text"
},
"CurrencyCode": "text",
"PaymentNote": "text",
"FinancialInstitutionBranch": {
"Name": "text",
"FinancialInstitution": {
"Name": "text"
}
}
}
}
}
}
}
]
var client = new RestClient("//einvoice/Sale/295f0c1d-faa7-4c8d-a3a7-c761fd033a57/DespatchInfo");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => '//einvoice/Sale/295f0c1d-faa7-4c8d-a3a7-c761fd033a57/DespatchInfo',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer <API KEY>'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
var axios = require('axios');
var config = {
method: 'get',
url: '//einvoice/Sale/295f0c1d-faa7-4c8d-a3a7-c761fd033a57/DespatchInfo',
headers: {
'Authorization': 'Bearer <API KEY>'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});