OBJECT

Invoice

A Document representing an Invoice.

link GraphQL Schema definition

  • type Invoice implements Node {
  • # A globally unique identifier. Can be used in various places throughout the
  • # system to identify this single value.
  • id: ID!
  • documentRowId: UUID!
  • unresolvedIssues: Boolean
  • unresolvedIssuesDesc: [String]
  • accountantLockBy: String
  • accountantLockAt: Datetime
  • bookedBy: String
  • bookedAt: Datetime
  • partnerCompanyRowId: UUID
  • partnerCompanyRowIdConfirmedBy: String
  • partnerCompanyRowIdConfirmedAt: Datetime
  • partnerCompanyLocationRowId: UUID
  • partnerCompanyLocationRowIdConfirmedBy: NonEmptyText
  • partnerCompanyLocationRowIdConfirmedAt: Datetime
  • invoiceNumber: String
  • invoiceNumberConfirmedBy: String
  • invoiceNumberConfirmedAt: Datetime
  • orderNumber: NonEmptyText
  • orderNumberConfirmedBy: String
  • orderNumberConfirmedAt: Datetime
  • internalNumber: String
  • internalNumberConfirmedBy: String
  • internalNumberConfirmedAt: Datetime
  • invoiceDate: Date
  • invoiceDateConfirmedBy: String
  • invoiceDateConfirmedAt: Datetime
  • orderDate: Date
  • orderDateConfirmedBy: String
  • orderDateConfirmedAt: Datetime
  • net: Float
  • netConfirmedBy: String
  • netConfirmedAt: Datetime
  • total: Float
  • totalConfirmedBy: String
  • totalConfirmedAt: Datetime
  • vatPercent: Float
  • vatPercentConfirmedBy: String
  • vatPercentConfirmedAt: Datetime
  • vatPercentages: [Float]
  • discountPercent: Float
  • discountPercentConfirmedBy: String
  • discountPercentConfirmedAt: Datetime
  • discountAmount: Float
  • discountAmountConfirmedBy: String
  • discountAmountConfirmedAt: Datetime
  • discountUntil: Date
  • discountUntilConfirmedBy: String
  • discountUntilConfirmedAt: Datetime
  • currency: CurrencyCode!
  • currencyConfirmedBy: String
  • currencyConfirmedAt: Datetime
  • conversionRate: Float
  • conversionRateDate: Date
  • conversionRateSource: String
  • goodsServices: String
  • goodsServicesConfirmedBy: String
  • goodsServicesConfirmedAt: Datetime
  • deliveredFrom: Date
  • deliveredFromConfirmedBy: String
  • deliveredFromConfirmedAt: Datetime
  • deliveredUntil: Date
  • deliveredUntilConfirmedBy: String
  • deliveredUntilConfirmedAt: Datetime
  • iban: BankIban
  • ibanConfirmedBy: String
  • ibanConfirmedAt: Datetime
  • ibanCandidates: [String]
  • bic: BankBic
  • bicConfirmedBy: String
  • bicConfirmedAt: Datetime
  • bicCandidates: [String]
  • dueDate: Date
  • dueDateConfirmedBy: String
  • dueDateConfirmedAt: Datetime
  • # How the invoice was paid, selected by the user in the App UI. Use
  • # `Document.paymentStatus` to get a consolidated status including matched money
  • # transactions.
  • paymentStatus: InvoicePaymentStatus
  • paymentStatusConfirmedBy: String
  • paymentStatusConfirmedAt: Datetime
  • paymentReference: TrimmedText
  • paymentReferenceConfirmedBy: String
  • paymentReferenceConfirmedAt: Datetime
  • payFromBankAccountRowId: UUID
  • payFromBankAccountRowIdConfirmedBy: TrimmedText
  • payFromBankAccountRowIdConfirmedAt: Datetime
  • # When the invoice was paid, entered by the user in the App UI.
  • paidDate: Date
  • paidDateConfirmedBy: String
  • paidDateConfirmedAt: Datetime
  • creditMemo: Boolean!
  • creditMemoConfirmedBy: String
  • creditMemoConfirmedAt: Datetime
  • creditMemoForInvoiceDocumentRowId: UUID
  • creditMemoForInvoiceDocumentRowIdConfirmedBy: String
  • creditMemoForInvoiceDocumentRowIdConfirmedAt: Datetime
  • # Should the `Invoice` payment details take precedence over any
  • # `PartnerCompanyPaymentPreset`.
  • overridePartnerCompanyPaymentPreset: Boolean
  • overridePartnerCompanyPaymentPresetBy: UUID
  • overridePartnerCompanyPaymentPresetAt: Datetime
  • partiallyPaid: Boolean!
  • partiallyPaidConfirmedBy: UUID
  • partiallyPaidConfirmedAt: Datetime
  • deliveryNoteNumbers: [String]
  • deliveryNoteNumbersConfirmedBy: TrimmedText
  • deliveryNoteNumbersConfirmedAt: Datetime
  • openItemsNumber: TrimmedText
  • openItemsNumberConfirmedBy: String
  • openItemsNumberConfirmedAt: Datetime
  • # German real estate law clause 35a net amount relevant for real estate service
  • # invoices.
  • gerClause35ANet: Float
  • gerClause35ANetConfirmedBy: String
  • gerClause35ANetConfirmedAt: Datetime
  • # German real estate law clause 35a total amount relevant for real estate service
  • # invoices.
  • gerClause35ATotal: Float
  • gerClause35ATotalConfirmedBy: String
  • gerClause35ATotalConfirmedAt: Datetime
  • # German real estate law clause 35a kind. Can be "MARGINAL_EMPLOYMENT",
  • # "ENSURED_EMPLOYMENT", "HOUSEHOLD_SERVICES", "CRAFTSMAN_SERVICES".
  • gerClause35AKind: GerClause35AKind
  • gerClause35AKindConfirmedBy: String
  • gerClause35AKindConfirmedAt: Datetime
  • purchase: NonEmptyText
  • purchaseConfirmedBy: String
  • purchaseConfirmedAt: Datetime
  • # Time of last update.
  • updatedAt: UpdatedTime!
  • # Creation time of object.
  • createdAt: CreatedTime!
  • # Reads a single `Document` that is related to this `Invoice`.
  • documentByDocumentRowId: Document!
  • # Reads a single `PartnerCompany` that is related to this `Invoice`.
  • partnerCompanyByPartnerCompanyRowId: PartnerCompany
  • # Reads a single `CompanyLocation` that is related to this `Invoice`.
  • companyLocationByPartnerCompanyLocationRowId: CompanyLocation
  • # Reads a single `Invoice` that is related to this `Invoice`.
  • invoiceByCreditMemoForInvoiceDocumentRowId: Invoice
  • # Reads a single `BankAccount` that is related to this `Invoice`.
  • bankAccountByPayFromBankAccountRowId: BankAccount
  • # Reads and enables pagination through a set of `Invoice`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Invoice`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • invoicesByCreditMemoForInvoiceDocumentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoicesOrderBy!],
  • condition: InvoiceCondition
  • ): InvoicesConnection!
  • # Reads and enables pagination through a set of `InvoiceAccountingItem`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering
  • # `InvoiceAccountingItem`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • invoiceAccountingItemsByInvoiceDocumentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceAccountingItemsOrderBy!],
  • condition: InvoiceAccountingItemCondition
  • ): InvoiceAccountingItemsConnection!
  • # Reads and enables pagination through a set of `InvoiceCostCenter`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `InvoiceCostCenter`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • invoiceCostCentersByInvoiceDocumentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceCostCentersOrderBy!],
  • condition: InvoiceCostCenterCondition
  • ): InvoiceCostCentersConnection!
  • # Reads and enables pagination through a set of `InvoiceCostUnit`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `InvoiceCostUnit`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • invoiceCostUnitsByInvoiceDocumentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceCostUnitsOrderBy!],
  • condition: InvoiceCostUnitCondition
  • ): InvoiceCostUnitsConnection!
  • # Reads and enables pagination through a set of `InvoiceDeliveryNote`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `InvoiceDeliveryNote`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • invoiceDeliveryNotesByInvoiceDocumentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceDeliveryNotesOrderBy!],
  • condition: InvoiceDeliveryNoteCondition
  • ): InvoiceDeliveryNotesConnection!
  • # Reads and enables pagination through a set of `InvoiceItem`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `InvoiceItem`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • invoiceItemsByInvoiceDocumentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceItemsOrderBy!],
  • condition: InvoiceItemCondition
  • ): InvoiceItemsConnection!
  • convertedDiscountedTotal: Float
  • convertedSignedDiscountedTotal: Float
  • convertedSignedTotalWithPaymentDiscount: Float
  • convertedTotalWithPaymentDiscount: Float
  • creditMemosConvertedSignedDiscountedTotalSum: Float
  • creditMemosTotalWithPaymentDiscountSum: Float
  • moneyTransactionsAmountSum: Float
  • moneyTransactionsSignedAmountSum: Float
  • openAmount: Float
  • # Partner name from the linked partner company.
  • partnerName: String
  • # Partner VAT-ID number derived from the main address of the linked partner
  • # company.
  • partnerVatRowIdNo: String
  • paymentDiscountAmount: Float
  • paymentDiscountDueDate: Date
  • paymentDiscountNetAmount: Float
  • paymentDiscountPercent: Float
  • paymentDiscountTotalAmount: Float
  • paymentDueDate: Date
  • # Total converted to euros.
  • totalInEur: Float
  • totalWithPaymentDiscount: Float
  • }