API reference
All operations
COMPANY

Gets a company AR record

GET/api/v2/companies/ar

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentialsAPI key

Parameters

accountNoquerystring

The company's account number. Send this or companyId.

companyIdqueryinteger · int32

The company's ID. Send this or accountNo.

Responses

AR record found.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

dataCompanyArDto
  • assignedIdinteger · int32
  • companyIdinteger · int32
  • accountNostring
  • aged30number · double
  • aged60number · double
  • aged90number · double
  • aged120number · double
  • over120number · double
  • futureBalancenumber · double
  • totalOutstandingnumber · double
  • creditLimitnumber · double
  • creditTermsstring
  • arAgencyDefaultstring
  • averagePaymentDaysinteger · int32
  • highestBalancenumber · double
  • highestBalanceDatestring · datenullable
  • lastInvoicestring · datenullable
  • lastPaymentstring · datenullable
  • commentsstring
  • enteredstring · date-time

    When the AR record was first saved (UTC).

  • lastModifiedstring · date-time

    When the AR record was last saved (UTC).