Home X3 GraphQL API for X3 API reference Invoicing data package CustomerInvoiceHeader CustomerInvoiceHeader Less than 5 minutes to read Properties _access : [_OutputAccessBinding] _id : Id category : InvoiceType id : String customerInvoiceType : CustomerInvoiceType sourceModule : ModuleTable billToCustomer : Customer control : String company : Company financialSite : Site accountingDate : Date internalNumber : Int sourceDocumentDate : Date sourceDocument : String currency : Currency rateType : ExchangeRateType currencyRates : CustomerInvoiceHeaderCurrencyRate_Collection rateDate : Date payByBusinessPartner : BusinessPartner payByBusinessPartnerAddress : Address payByBusinessPartnerCompanyNames : CustomerInvoiceHeaderPayByBusinessPartnerCompanyNames_Collection payByBusinessPartnerAddressLines : CustomerInvoiceHeaderPayByBusinessPartnerAddressLines_Collection payByBusinessPartnerPostalCode : String payByBusinessPartnerCity : String payByBusinessPartnerState : String payByBusinessPartnerCountry : Country payByBusinessPartnerCountryName : String dueDateCalculationStartDate : Date paymentTerm : PaymentTerm earlyDiscountOrLateCharge : EarlyDiscountLateCharge earlyDiscountOrLateChargeRate : Decimal taxRule : TaxRule entityUserCode : MiscellaneousTable isDirectInvoice : Boolean intrastatProcessingNumber : Int status : SalesInvoiceStatus comments : CustomerInvoiceHeaderComment_Collection originalInvoiceNumber : String debitOrCredit : Int totalAmountIncludingTax : Decimal totalAmountExcludingTax : Decimal totalAmountExcludingTaxInCompanyCurrency : Decimal totalAmountIncludingTaxInCompanyCurrency : Decimal taxReferenceDate : Date numberOfTaxes : Int taxes : CustomerInvoiceHeaderTaxes_Collection billToCustomerAddress : Address billToCustomerCompanyNames : CustomerInvoiceHeaderBillToCustomerCompanyNames_Collection billToCustomerAddressLines : CustomerInvoiceHeaderBillToCustomerAddressLines_Collection billToCustomerPostalCode : String billToCustomerCity : String billToCustomerState : String billToCustomerCountry : Country billToCustomerCountryName : String draftNumber : String stockMovementGroup : MiscellaneousTable fiscalYear : Int period : Int serviceStartDate : Date serviceEndDate : Date lastServiceAccountedDate : Date sageSalesTaxAmouts : CustomerInvoiceHeaderSageTaxAmounts_Collection warehouse : Warehouse isPrinted : Boolean isExternalDocument : Boolean earlyDiscountOrLateChargeBasis : Decimal versionControlSystemNumber : String isValidatedAddress : Boolean priceOrAmountTaxType : PriceAmountExclTaxInclTax vatDeclarationNumber : String exportDeclaration : String mandate : Mandate recurringNumber : String recurringInvoicingDate : Date numberOfCompanies : Int cashVatTaxRule : Boolean derCode : String field40Reason : MiscellaneousTable field41Reason : MiscellaneousTable originalDocumentNumber : String creditMemoReferenceStartDate : Date creditMemoReferenceEndDate : Date inPaymentSlipWithReferenceNumber : String paymentBank : BankAccount cancellationStatus : Int project : ProjectLink correctionMethod : CorrectionMethod siteIdentificationNumber : String spanishInvoiceType : SpanishInvoiceType factor : Factor subrogationReceipt : String postedSubrogationReceipt : Int subrogationReceiptJournalEntryLine : Int entryType : EntryType journal : Journal dimensions : CustomerInvoiceHeaderDimensions_Collection _createStamp : Datetime _updateStamp : Datetime Custom Types _OutputAccessBinding name : String status : String