Magidoc

FinancePaymentTerm
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

glCompanyId

Company attribution for this term, recorded against the GL companies that provisioning will introduce. Nothing provisions them yet, so this is null on every term today — it is written from the first write rather than backfilled onto a live ledger later.

externalService

externalId

name

Non-null

active

Non-null

type

dueDays

discountDays

discountPercent

dayOfMonthDue

dueNextMonthDays

discountDayOfMonth

locallyEditedAt

When this term was last edited in Hive. Its presence is what stops an accounting sync overwriting the term: the importers refresh terms they own and skip one carrying this. Null on a term no one has edited here, including every term an import created.

createdAt

Non-null

createdBy

ID !
Non-null

modifiedAt

Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field getFinancePaymentTerms from Query
  • Field createFinancePaymentTerm from Mutation
  • Field updateFinancePaymentTerm from Mutation