> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExternalDocumentInternal

> External document M&A



**Kind**: `object`

## Fields

**`externalDocumentTransactionId`**: `ID!`

Primary key of document

---

**`companyId`**: `ID`

Primary key of company

---

**`customerId`**: `ID`

Primary key of customer

---

**`platformId`**: `ID`

Primary key of platform

---

**`paymentMethodId`**: `ID`

Primary key of payment type document

---

**`externalInvoiceDocumentId`**: `ID`

Primary key of invoice

---

**`salesInvoiceNumber`**: `String`

Invoice number

---

**`externalDocumentNumber`**: `String`

Credit note number

---

**`externalDocumentDate`**: `DateTime!`

Document date

---

**`externalDocumentOrderNumber`**: `String`

External order number

---

**`currencyFactor`**: `Decimal!`

Currency factor

---

**`currency`**: `String`

Currency code

---

**`departureCountryCurrencyIso`**: `String`

Shipping currency code

---

**`departureCountryCurrenyFactor`**: `Decimal`

Shipping currency factor

---

**`serviceDate`**: `DateTime!`

Service date

---

**`payDate`**: `DateTime!`

Payment date

---

**`platformIdentifier`**: `String`

Platform ID

---

**`accountsReceivableNumber`**: `Int`

Debtor number

---

**`taxSetting`**: `Byte!`

Tax setting

---

**`externalDocumentType`**: `Byte!`

Document type

---

**`companyVatIdNumber`**: `String`

Country VAT ID

---

**`customerVatIdNumber`**: `String`

Seller VAT ID

---

**`departureCountryIso`**: `String`

Shipping country ISO code

---

**`paymentMethodName`**: `String`

Payment information

---

**`orderDate`**: `DateTime!`

Order date

---

**`shipmentAddressCompany`**: `String`

Shipping company name

---

**`shipmentAddressLastName`**: `String`

Shipping last name

---

**`shipmentAddressStreet`**: `String`

Shipping street address

---

**`shipmentAddressPostalCode`**: `String`

Shipping ZIP code

---

**`shipmentAddressCity`**: `String`

Shipping city

---

**`shipmentAddressPhoneNumber`**: `String`

Shipping phone number

---

**`shipmentAddressAdditionalAddressLine`**: `String`

Shipping additional address information

---

**`shipmentAddressCountryIso`**: `String`

Shipping country ISO code

---

**`shipmentAddressVatIdNumber`**: `String`

Shipping VAT ID

---

**`customerDefaultBillingAddressCompany`**: `String`

Customer company name

---

**`customerDefaultBillingAddressSalutation`**: `String`

Customer salutation

---

**`customerDefaultBillingAddressTitle`**: `String`

Customer title

---

**`customerDefaultBillingAddressFirstName`**: `String`

Customer first name

---

**`customerDefaultBillingAddressLastName`**: `String`

Customer last name

---

**`customerDefaultBillingAddressStreet`**: `String`

Customer street address

---

**`customerDefaultBillingAddressPostalCode`**: `String`

Customer ZIP code

---

**`customerDefaultBillingAddressCity`**: `String`

Customer city

---

**`customerDefaultBillingAddressCountry`**: `String`

Customer country

---

**`customerDefaultBillingAddressPhoneNumber`**: `String`

Customer phone number

---

**`customerDefaultBillingAddressFaxNumber`**: `String`

Customer fax number

---

**`customerDefaultBillingAddressForTheAttentionOf`**: `String`

Customer additional information

---

**`customerDefaultBillingAddressCountryIso`**: `String`

Customer country ISO code

---

**`customerDefaultBillingAddressEmailAddress`**: `String`

Customer email address

---

**`customerDefaultBillingAddressVatIdNumber`**: `String`

Customer VAT ID

---

**`salesOrderCustomerNumber`**: `String`

Customer number from sales order

---

**`customerGroupName`**: `String`

Customer group

---

**`paymentDueDateInDays`**: `Int!`

Payment due date in days

---

**`customerNumber`**: `String`

Customer number

---

**`billingAddressCompany`**: `String`

Invoice company name

---

**`billingAddressLastName`**: `String`

Invoice last name

---

**`billingAddressStreet`**: `String`

Invoice street address

---

**`billingAddressPostalCode`**: `String`

Invoice ZIP code

---

**`billingAddressCity`**: `String`

Invoice city

---

**`billingAddressPhoneNumber`**: `String`

Invoice phone number

---

**`billingAddressAdditionalAddressLine`**: `String`

Invoice additional address information

---

**`billingAddressCountryIso`**: `String`

Invoice country ISO code

---

**`billingAddressVatIdNumber`**: `String`

Invoice VAT ID

---

**`externalDocumentTotalGrossValue`**: `Decimal!`

Document total gross value

---

**`externalDocumentTotalNetValue`**: `Decimal!`

Document total net value

---

**`shipmentDate`**: `DateTime`

Shipping date

---

**`orderPaymentMethodName`**: `String`

Order payment type

---

**`shipmentCountryCount`**: `Int!`

Shipping country count

