Skip to content

ReceiveMoneyTxn

Return, update, create and delete Receive Money transactions

Released
Updated
URLSupports
/{cf_uri}/Banking/ReceiveMoneyTxn
GETPUTPOSTDELETE

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
UID
Required
Guid (36)Unique guid identifier created for a receive money transaction. ONLY required for updating an existing recieve money. NOT required when creating a new receive money.
DepositTo
Required
StringIf allocating a banking account for the payment specify Account If using undeposited funds specify UndepositedFunds What are undeposited funds?
AccountobjectThe following set of information pulls through details for the DepositTo Account
Account.UID
Required
Guid (36)Please note: Passing the Account UID is optional if you are assigning UndepositedFunds , if allocating a bank account the UID is required. Foreign Key : Unique identifier for the account in the form of a guid.
Account.Name
Read-only
String (30)Account name belonging to the account record.
Account.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100 { 'DisplayID': '1-1100' }
Account.URI
Read-only
StringUniform resource identifier associated with the account object.
ContactobjectThe following set of information pulls through details for the contact card.
Contact.TypeString (8)Card type of the contact record, can be either Customer , Supplier , Employee or Personal .
Contact.UID
Required
Guid (36)Note: Contact is optional and can be left null. Foreign Key : Unique guid identifier belonging to the contact card assigned to the money received.
Contact.Name
Read-only
String (30)Name of the contact.
Contact.DisplayIDString (15)Contact Card ID, can also be used as a unique contact identifier.
Contact.URI
Read-only
StringUniform resource identifier associated with the contact card object.
ReceiptNumberString (13)ID No of payment transaction, if left blank on POST will auto increment based upon last recorded #
Date
Required
DateTimeTransaction date entry, format YYYY-MM-DD HH:MM:SS { 'Date': '2013-08-11 13:33:02' }
AmountReceived
Read-only
Decimal (13.2)Total of all amounts received.
IsTaxInclusiveBooleanTrue indicates the transaction is set to tax inclusive with the Amount inclusive of tax. False indicates the transaction is not tax inclusive with the Amount value tax exclusive.
TotalTax
Read-only
Decimal (13.2)Total of all tax amounts applicable to the receive money.
PaymentMethodPaymentMethodPayment methods must exist in company file, default methods consist of the following: (Users can add new methods through AccountRight UI) American Express Bank Card Barter Card Cash Cheque Diners Club EFTPOS MasterCard Money Order Other Visa
Memo
Required
String (255)Memo text describing the receive money transaction. Note must contain at least 1 character " " is an invalid string
CategoryobjectThe following outlines category information for the receive money transction..
Category.UIDGUID (36)Foreign Key : Unique guid identifier belonging to the category assigned to the receive money.
Category.Name
Read-only
String (30)Name of the category
Category.DisplayID
Read-only
String (15)Display id for the category
Category.URI
Read-only
StringUniform resource identifier associated with the category object
LinesarrayAn array of receive money line information
Lines.RowIdIntegerSequence of the entry within the receive money set. REQUIRED only when passing the RowVersion for updating an existing receive money line.
Lines.AccountobjectThe following set of information pulls through details for an account
Lines.Account.UID
Required
Guid (36)Foreign Key : Unique identifier for the account in the form of a guid.
Lines.Account.Name
Read-only
String (30)Account name belonging to the account record.
Lines.Account.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100 { 'DisplayID': '1-1100' }
Lines.Account.URI
Read-only
StringUniform resource identifier associated with the account object.
Lines.JobobjectThe following set of information pulls through the details for a job
Lines.Job.UIDGUID (36)Foreign Key : Unique guid identifier belonging to the job for the line.
Lines.Job.Number
Read-only
String (30)Number assigned to the job
Lines.Job.Name
Read-only
String (30)Name assigned to the job
Lines.Job.URI
Read-only
StringUniform resource identifier associated with the job object
Lines.TaxCodeobjectThe following set of information pulls through details for the Tax Code
Lines.TaxCode.UID
Required
GUID (36)Foreign Key : Unique tax code identifier in the form of a guid
Lines.TaxCode.Code
Read-only
String (3)3 digit code assigned to the tax code.
Lines.TaxCode.URI
Read-only
StringUniform resource identifier associated with the tax code object.
Lines.MemoString (1000)Memo text describing the transaction line,
Lines.Amount
Required
Decimal (13.2)Amount to be allocated to the account.
Lines.UnitCountDecimal (19.6)Quantity value of the receive money transaction.
Lines.RowVersion
Required
StringONLY required on PUT for updating an existing receive money line. NOT required when creating a new receive money transaction.
ForeignCurrencyobjectNull if no foreign currency is set.
ForeignCurrency.UID
Read-only
Guid (36)Foreign Key : Unique identifier for the currency in the form of a guid.
ForeignCurrency.Code
Read-only
String (3)The currency code.
ForeignCurrency.CurrencyName
Read-only
StringThe full name of the currency
ForeignCurrency.URI
Read-only
StringUniform resource identifier associated with the currency object.
URI
Read-only
StringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersion
Required
StringNumber value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing receieve money. NOT required when creating a new receive money.

Example json GET response

Example

json
{
  "UID": "e4f75785-bfc2-4194-a6f4-1321b0f0c6bf",
  "DepositTo": "UndepositedFunds",
  "Account": {
    "UID": "a1497def-797c-4f05-bfd8-12c73b177251",
    "Name": "Undeposited Funds Account",
    "DisplayID": "1-1210",
    "URI": "{cf_uri}/GeneralLedger/Account/a1497def-797c-4f05-bfd8-12c73b177251"
  },
  "Contact": {
    "UID": "9420225c-ce2d-4cb9-a098-3f52fae1caa7",
    "Name": "Contact 1",
    "Type": "Customer",
    "DisplayID": "*None",
    "URI": "{cf_uri}/Contact/Customer/9420225c-ce2d-4cb9-a098-3f52fae1caa7"
  },
  "ReceiptNumber": "CR000001",
  "Date": "2020-09-22T00:00:00",
  "AmountReceived": "37.690000",
  "IsTaxInclusive": "true",
  "TotalTax": "3.420000",
  "PaymentMethod": "Visa",
  "Memo": "Contact 1",
  "Category": "null",
  "Lines": {
    "RowID": "50",
    "Account": {
      "UID": "74dba974-5e30-474a-b8cd-2374f9d297a4",
      "Name": "Late Fees Collected",
      "DisplayID": "4-3000",
      "URI": "{cf_uri}/GeneralLedger/Account/74dba974-5e30-474a-b8cd-2374f9d297a4"
    },
    "Job": {
      "UID": "65287c98-2070-49c1-9df8-a8a311eab2f8",
      "Number": "ABC",
      "Name": "New Job",
      "URI": "{cf_uri}/GeneralLedger/Job/65287c98-2070-49c1-9df8-a8a311eab2f8"
    },
    "TaxCode": {
      "UID": "e6d18c77-9fce-412a-9f60-9a3ad29bd4d6",
      "Code": "GST",
      "URI": "{cf_uri}/GeneralLedger/TaxCode/e6d18c77-9fce-412a-9f60-9a3ad29bd4d6"
    },
    "Memo": "part payment",
    "Amount": "37.690000",
    "UnitCount": "null",
    "RowVersion": "1591180242368593920"
  },
  "ForeignCurrency": {
    "UID": "f6f43810-c06d-45d9-8ab0-6abd5f433154",
    "Code": "AED",
    "Name": "Emirati Dirham",
    "URI": "{cf_uri}/GeneralLedger/Currency/f6f43810-c06d-45d9-8ab0-6abd5f433154"
  },
  "URI": "{cf_uri}/Banking/ReceiveMoneyTxn/e4f75785-bfc2-4194-a6f4-1321b0f0c6bf",
  "RowVersion": "1519122648330665984"
}

The {cf_uri} is provided by the businessId parameter as described here.