OBJECT

MoneyTransaction

A MoneyTransaction is a money related turnover belonging to a MoneyAccount.

link GraphQL Schema definition

  • type MoneyTransaction implements Node {
  • # A globally unique identifier. Can be used in various places throughout the
  • # system to identify this single value.
  • id: ID!
  • rowId: UUID!
  • accountRowId: UUID!
  • type: MoneyTransactionType!
  • partnerName: String
  • partnerIban: BankIban
  • partnerCompanyRowId: UUID
  • amount: Float!
  • foreignCurrency: CurrencyCode
  • foreignAmount: Float
  • purpose: String
  • bookingDate: Date!
  • valueDate: Date
  • importDocumentRowId: UUID
  • moneyCategoryRowId: UUID
  • updatedAt: UpdatedTime!
  • createdAt: CreatedTime!
  • # Reads a single `MoneyAccount` that is related to this `MoneyTransaction`.
  • moneyAccountByAccountRowId: MoneyAccount!
  • # Reads a single `PartnerCompany` that is related to this `MoneyTransaction`.
  • partnerCompanyByPartnerCompanyRowId: PartnerCompany
  • # Reads a single `Document` that is related to this `MoneyTransaction`.
  • documentByImportDocumentRowId: Document
  • # Reads and enables pagination through a set of `DocumentMoneyTransaction`.
  • #
  • # 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
  • # `DocumentMoneyTransaction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • documentMoneyTransactionsByMoneyTransactionRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentMoneyTransactionsOrderBy!],
  • condition: DocumentMoneyTransactionCondition
  • ): DocumentMoneyTransactionsConnection!
  • }