Home X3 GraphQL API for X3 API reference Purchasing package PurchaseInvoice PurchaseInvoice Less than 5 minutes to read Properties _access : [_OutputAccessBinding] _id : Id category : InvoiceType id : String supplierInvoiceType : SupplierInvoiceType purchaseInvoiceCategory : PurchaseInvoiceType billBySupplier : Supplier company : Company currency : Currency numberOfLines : Int numberOfLinesWithDifferentQuantity : Int numberOfLinesWithDifferentPrice : Int weightUnitForDistributionOnLines : UnitOfMeasure volumeUnitForDistributionOnLines : UnitOfMeasure totalWeightOfLines : Decimal totalVolumeOfLines : Decimal totalQuantityOfLines : Decimal amountOfLinesExcludingTax : Decimal calculatedLineAmountExcludingTax : Decimal totalTaxAmount : Decimal billBySupplierLanguage : Language companyLanguage : Language isIntercompany : Boolean billToCustomer : Customer statisticalGroups : PurchaseInvoiceSupplierStatisticalGroups_Collection earlyDiscountLateCharge : EarlyDiscountLateCharge invoiceLineElements : PurchaseInvoiceHeaderInvoiceLineElement_Collection invoiceLineAllocationElements : PurchaseInvoiceHeaderInvoiceLineAllocationElement_Collection supplierInvoiceHeader : SupplierInvoiceHeader accountingDate : Date sourceDocument : String sourceModule : ModuleTable control : String site : Site internalNumber : Int internalReference : String sourceDocumentDate : Date rateType : ExchangeRateType rateDate : Date isDAS2Submitted : Boolean payToBusinessPartner : BusinessPartner dueDateCalculationStartDate : Date paymentTerm : PaymentTerm earlyDiscountOrLateChargeRate : Decimal taxRule : TaxRule isEuropeanUnionInvoice : Boolean intrastatProcessingNumber : Int status : PurchaseInvoiceStatus paymentApproval : PaymentApprovalType originalInvoiceNumber : String debitOrCredit : Int totalAmountIncludingTax : Decimal totalAmountExcludingTax : Decimal totalAmountIncludingTaxInCompanyCurrency : Decimal totalAmountExcludingTaxInCompanyCurrency : Decimal taxReferenceDate : Date numberOfTaxes : Int billBySupplierPostalCode : String billBySupplierCity : String billBySupplierState : String billBySupplierCountry : Country billBySupplierCountryName : String payToBusinessPartnerAddress : Address payToBusinessPartnerPostalCode : String payToBusinessPartnerCity : String payToBusinessPartnerState : String payToBusinessPartnerCountry : Country payToBusinessPartnerCountryName : String incoterm : Incoterm incotermTown : String intrastatTransportLocation : CountryLocation europeanUnionIdentification : String forwardingAgentNumber : Carrier forwardingAgentAddress : Address fiscalYear : Int period : Int serviceStartDate : Date serviceEndDate : Date lastServiceAccountedDate : Date earlyDiscountOrLateChargeBasis : Decimal priceOrAmountType : PriceAmountExclTaxInclTax singleCustomsDocumentDate : Date singleCustomsDocumentReference : String singleCustomsDocumentBusinessPartnerCode : Supplier derCode : String versionControlSystemNumber : String cashVatTaxRule : Boolean field40Reason : MiscellaneousTable field41Reason : MiscellaneousTable originalDocumentNumber : String project : ProjectLink _createStamp : Datetime _updateStamp : Datetime Custom Types _OutputAccessBinding name : String status : String