Contract

A contract is a type of accounting record representing a legally binding agreement between two or more parties that outlines the terms for a specific transaction.

  • amount
    Type: number · Amount
    required
  • currencyCode
    Type: string · Currencycode
    required
  • date
    Type: string · DateFormat: date
    required

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • status
    Type: string · ContractStatusenum
    required
    values
    • draft
    • signed
    • terminated
  • customFields
    Type: object · CustomFieldsnullable

    The additional fields related to an accounting record. Custom fields are used to attach custom metadata to the objects to ingest into the system. Custom fields can be any valid JSON object.

    • propertyName
      Type: anything
  • description
    Type: string · Descriptionnullable
  • endDate
    Type: string · EnddateFormat: datenullable

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • exchangeRates
    Type: array object[] | null · Exchangeratesnullable
    • currencyCode
      Type: string · Currencycode
      required
    • rate
      Type: number · Rate
      required
  • signedDate
    Type: string · SigneddateFormat: datenullable

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • startDate
    Type: string · StartdateFormat: datenullable

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • terminatedDate
    Type: string · TerminateddateFormat: datenullable

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21