İ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);