Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

GET payments/show

This method returns information related with a payment.  A single payment is returned by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Payment identifier  

The identifier of the payment that should be returned as a result. The allowed payment identifier fields are the following:

...

fields_set

(optional)

...

List of Strings, comma separated 

...

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "invoices_to_pay_set":
        [
            {
                "total_amount": 138,
                "issued_on": "2014-07-14T10:31:15",
                "life_cycle_state": "POSTED",
                "number": "I00000294",
                "due_on": "2014-08-17T10:35:57",
                "id": "176AB06AE6DBFDB103182C67C68A2A8B",
                "outstanding_amount": 0,
                "reference_number": "322",
                "posted_on": "2014-07-14T10:35:57"
            }
        ],
        "udf_float_1": null,
        "udf_float_2": null,
        "udf_float_3": null,
        "udf_float_4": null,
        "number": "96",
        "udf_string_1": null,
        "udf_string_2": null,
        "udf_string_3": null,
        "received_by_unit":
        {
            "community_name": "Main Community",
            "group_name": "Main Group",
            "name": "Admin Unit",
            "id": "48305F8849E3C18B227C5BE3A27BA6DF",
            "description": "r1",
            "alternative_code": "MG"
        },
        "udf_string_4": null,
        "udf_string_5": null,
        "udf_string_6": null,
        "udf_string_7": null,
        "udf_string_8": null,
        "accounts_receivable":
        {
            "account_owner":
            {
                "last_name": "Johnson",
                "middle_name": null,
                "company_profile": null,
                "type": "PERSON",
                "first_name": "Peter",
                "name": "Peter Johnson",
                "id": "C73D1572FEA76C37A08945ECE4DECC98",
                "company_name": null,
                "demographics":
                {
                    "gender": "MALE",
                    "passport_issued_by_country": null,
                    "passport_number": "7839023",
                    "social_security_number": "98374",
                    "country_of_residence":
                    {
                        "name": "CYPRUS",
                        "id": "181"
                    },
                    "industry_sector":
                    {
                        "name": "GOVERNMENTAL",
                        "id": "A9BDEBD4D8FAEDB0BACE40C041156D12"
                    },
                    "date_of_birth":
                    {
                        "month": 4,
                        "day": 6,
                        "year": 1985
                    },
                    "name_day":
                    {
                        "month": 6,
                        "day": 29
                    },
                    "id_number": "984783",
                    "id_issued_by_country":
                    {
                        "name": "CYPRUS",
                        "id": "181"
                    },
                    "industry": null
                }
            },
            "life_cycle_state": "ACTIVE",
            "number": "192",
            "name": "Peter Johnson Premium",
            "id": "2C5FC6F615FA9E798487AC0C293ECCE6"
        },
        "received_by_user":
        {
            "person_name": "JackH",
            "username": "JackH",
            "id": "B8650C555C4EA8C741103961276E7773",
            "email": "j_hadjicosti@crm.com"
        },
        "bills_to_pay_set":
        [
        ],
        "id": "830C6B800A1EAB42EA8D670ED6871E41",
        "posted_on": "2014-07-14T10:41:13",
        "udf_date_1": null,
        "udf_date_2": null,
        "udf_date_3": null,
        "udf_date_4": null,
        "log_information":
        {
            "updated_date": "2014-07-14T10:41:14",
            "created_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_date": "2014-07-14T10:40:29",
            "updated_by_unit":
            {
                "community_name": "Main Community",
                "group_name": "Main Group",
                "name": "Admin Unit",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "JackH",
                "username": "JackH",
                "id": "B8650C555C4EA8C741103961276E7773",
                "email": "j_hadjicosti@crm.com"
            },
            "updated_by_user":
            {
                "person_name": "JackH",
                "username": "JackH",
                "id": "B8650C555C4EA8C741103961276E7773",
                "email": "j_hadjicosti@crm.com"
            }
        },
        "payment_amount": 60,
        "issued_on": "2014-07-14T10:40:29",
        "life_cycle_state": "POSTED",
        "type":
        {
            "classification": "PAYMENT",
            "name": "Invoices Balance Payment",
            "id": "9CC46F8C0A203CCA7A40B58825E74704",
            "description": null,
            "alternative_code": "INVBALPAY"
        },
        "payment_method":
        {
            "name": "Bank Transfer",
            "id": "PM7",
            "description": "Bank Transfer",
            "alternative_code": "BT"
        },
        "back_office_code": null,
        "rejection_reason": null,
        "received_on": "2014-07-14T10:40:29",
        "reference_number": "111",
        "category": null
    }
}
Expand
titleExample 2

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "data": {
    "notes": null,
    "received_by_user": {
      "person_name": "mmay",
      "id": "969C508EE99B478EB34570A3BD9BBC13",
      "email": null,
      "username": "mmay"
    },
    "log_information": {
      "created_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "updated_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "created_date": "2016-03-17T08:30:19",
      "updated_date": "2016-03-17T08:30:41",
      "updated_by_user": {
        "person_name": "mmay",
        "id": "969C508EE99B478EB34570A3BD9BBC13",
        "email": null,
        "username": "mmay"
      },
      "created_by_user": {
        "person_name": "mmay",
        "id": "969C508EE99B478EB34570A3BD9BBC13",
        "email": null,
        "username": "mmay"
      }
    },
    "currency_rate_period": {
      "from_date": "C7D7ED57F21B47028144967E015DCBE5",
      "to_date": 2.3,
      "rate": 2.3,
      "inverse_rate": 0.23000000417232513,
      "currency": {
        "suffix_symbol": null,
        "prefix_symbol": "£",
        "decimal_part_name": null,
        "code": "GBP",
        "integer_part_name": null,
        "id": "9"
      },
      "id": "C7D7ED57F21B47028144967E015DCBE5"
    },
    "udf_date_2": null,
    "type": {
      "alternative_code": "P",
      "name": "Payment",
      "description": null,
      "id": "PAYMENT",
      "classification": "PAYMENT"
    },
    "udf_date_1": null,
    "udf_date_4": null,
    "udf_date_3": null,
    "number": "71",
    "udf_float_3": null,
    "udf_float_4": null,
    "invoices_to_pay_set": [],
    "received_by_unit": {
      "alternative_code": "adminunit",
      "group_name": "Main Group",
      "community_name": "Community",
      "name": "Admin Unit",
      "description": "admin unit",
      "id": "1"
    },
    "rejection_reason": null,
    "received_on": "2016-03-17T08:30:19",
    "id": "DC9A5F1BF6194B24A71723D721E7AAD1",
    "udf_float_1": null,
    "udf_float_2": null,
    "payment_method": {
      "alternative_code": "C",
      "name": "Cash",
      "description": "Cash",
      "id": "C"
    },
    "udf_string_2": null,
    "udf_string_3": null,
    "accounting_period_information": null,
    "udf_string_4": null,
    "udf_string_5": null,
    "udf_string_1": null,
    "bills_to_pay_set": [],
    "payment_amount": 50,
    "accounts_receivable": {
      "number": "ACR0000000083",
      "name": "ACR0000000083 Bob A",
      "id": "A124AE2BB6604E18AFDEA2B5AB0D6E2B",
      "life_cycle_state": "TERMINATED",
      "account_owner": {
        "company_profile": null,
        "company_name": null,
        "name": "Bob A",
        "last_name": "A",
        "id": "7F1E4BDCE2D4430791FCB9F00B43F1A9",
        "life_cycle_state": "MARKETING",
        "middle_name": null,
        "title": null,
        "type": "PERSON",
        "first_name": "Bob",
        "demographics": {
          "name_day": {
            "month": null,
            "day": null
          },
          "id_number": null,
          "gender": null,
          "country_of_residence": {
            "alternative_code": "IRN",
            "three_character_code": null,
            "name": "IRAN (ISLAMIC REPUBLIC OF)",
            "id": "231",
            "two_character_code": null
          },
          "date_of_birth": {
            "month": null,
            "year": null,
            "day": null
          },
          "industry_sector": null,
          "passport_number": null,
          "industry": null,
          "social_security_number": null,
          "id_issued_by_country": null,
          "passport_issued_by_country": null
        }
      }
    },
    "life_cycle_state": "POSTED",
    "reference_number": "111",
    "posted_on": "2016-03-17T08:30:40",
    "issued_on": "2016-03-17T08:30:19",
    "udf_string_6": null,
    "category": null,
    "udf_string_7": null,
    "udf_string_8": null,
    "card": null,
    "back_office_code": null
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

GET payments/list

This method returns information related with  payments. Multiple payments are returned by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Accounts receivable identifier  

The identifier of the accounts receivable in which the payments that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier

(optional)

...

The financial transaction type of the payment that should be returned as a result. The allowed financial transaction type identifier field are the following:

...

category_identifier

(optional)

...

The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:

...

payment_method_identifier

(optional)

...

The payment method of the payment that should be returned as a result. The allowed payment method identifier fields are the following:

...

number_of_results

(optional)

...

The number of results that can be retrieved through each call

Tip

Available from CRM.COM R13.0.0

...

offset

(optional)

...

Defines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number

Tip

Available from CRM.COM R13.0.0

...

fields_set

(optional)

...

List of Strings, comma separated 

...

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "life_cycle_state": "POSTED",
            "id": "830C6B800A1EAB42EA8D670ED6871E41",
            "reference_number": "111"
        },
        {
            "life_cycle_state": "POSTED",
            "id": "F29426EFD767C7F35AC5BB179B8F7669",
            "reference_number": "113"
        }
    ]
}
Expand
titleExample 2

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "data": [
    {
      "number": "193",
      "currency_rate_period": {
        "from_date": "C7D7ED57F21B47028144967E015DCBE5",
        "to_date": 2.3,
        "rate": 2.3,
        "inverse_rate": 0.23000000417232513,
        "currency": {
          "suffix_symbol": null,
          "prefix_symbol": "£",
          "decimal_part_name": null,
          "code": "GBP",
          "integer_part_name": null,
          "id": "9"
        },
        "id": "C7D7ED57F21B47028144967E015DCBE5"
      },
      "id": "903E34629A664CC5A1AEB075E900D928"
    },
    {
      "number": null,
      "currency_rate_period": null,
      "id": "47F2EFF06269489ABAC36F9BECBC959D"
    },
    {
      "number": null,
      "currency_rate_period": null,
      "id": "948D1D8A1C9A4A799B81A098D16C2616"
    },
    {
      "number": "172",
      "currency_rate_period": null,
      "id": "E95D1D226980434286FB0F4AFA394D43"
    }
  ],
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

GET payments/get_latest

This method is used to get the latest payments that were submitted against a specific accounts receivable

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Accounts receivable identifier  

The identifier of the accounts receivable in which the payments that should be returned as a result should be allocated. The allowed accounts receivable identifier fields are the following:

...

type_identifier

(optional)

...

The financial transaction type of the payment that should be returned as a result. The allowed financial transaction type identifier field are the following:

...

category_identifier

(optional)

...

The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:

...

payment_method_identifier

(optional)

...

The payment method of the payment that should be returned as a result. The allowed payment method identifier fields are the following:

...

number

(mandatory)

...

The number of payments to be retrieved, starting from the latest one

...

fields_set

(optional)

...

List of Strings, comma separated 

...

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "number": "98",
            "id": "F29426EFD767C7F35AC5BB179B8F7669",
            "reference_number": "113"
        },
        {
            "number": "96",
            "id": "830C6B800A1EAB42EA8D670ED6871E41",
            "reference_number": "111"
        }
    ]
}
Expand
titleExample 2

HTTP Method: GET

 

Request:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "data": [
    {
      "number": "205",
      "currency_rate_period": null,
      "id": "3B4264EDB4F64B3DB87B945F1A76A2AA"
    },
    {
      "number": "186",
      "currency_rate_period": {
        "from_date": "C7D7ED57F21B47028144967E015DCBE5",
        "to_date": 2.3,
        "rate": 2.3,
        "inverse_rate": 0.23000000417232513,
        "currency": {
          "suffix_symbol": null,
          "prefix_symbol": "£",
          "decimal_part_name": null,
          "code": "GBP",
          "integer_part_name": null,
          "id": "9"
        },
        "id": "C7D7ED57F21B47028144967E015DCBE5"
      },
      "id": "9E14DCB9276145CBB933D76606179DF1"
    }
  ],
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

POST payments/create

This method is creating a new payment either in Draft or Posted state

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Accounts receivable identifier  

The identifier of the accounts receivable in which the payment should be allocated to. The allowed accounts receivable identifier fields are the following:

...

type_identifier

(mandatory)

...

The financial transaction type of the payment. The allowed financial transaction type identifier field are the following:

...

life_cycle_state

(mandatory)

...

The state of the retrieved payment which can be one of the following:

DRAFT, POSTED

...

payment_method_identifier

(mandatory)

...

The payment method of the payment. The allowed payment method identifier fields are the following:

...

payment_amount

(mandatory)

...

intended_currency_identifier

(optional)

...

The currency that the user was intended to use for the payment. If specified then it is validated against the currency of the specified accounts receivable and if they don't match then an error is throw. Note that the intended currency is not saved within CRM.COM; it is just used for validation purposes. The allowed currency identifier fields are the following:

...

Tip

Available from CRM.COM R11.0.0

...

category_identifier

(optional)

...

The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:

...

received_on

(optional)

...

received_by_user_identifier

(optional)

...

The user who actually received the payment. It defaults to the issued by user if not specified. The allowed user identifier fields are the following:

...

received_by_unit_identifier

(optional)

...

card_identifier

(mandatory on conditions)

...

The card that will be charged for the amount specified on the payment, by the related payment gateway provider. The allowed payment gateway card identifier fields are the following:

...

The card is applicable and mandatory if the specified payment method is linked with a payment gateway system. Note that the retrieved cards are filtered based on the cards owned by the specified accounts receivable owner

Tip

Available from CRM.COM R5.0.0

...

accounts_receivable_payment_preference_identifier

(mandatory on conditions)

...

The accounts receivable payment preferences that will be used by generic payment gateways to process the payment. The specified accounts receivable payment preferences should belong to the specified accounts receivable. This information is applicable and mandatory only if the payment will be processed by a generic payment gateway, as denoted by the selected payment method. The allowed accounts receivable payment preference identifier fields are the following:

...

Tip

Available from CRM.COM R11.0.0

...

notes

(optional)

...

back_office_code

(optional)

...

A back office code for the payment. If specified then it should be unique

Tip

Available from CRM.COM R9.1.0

...

udf_string_1

(optional)

...

User Defined Field of type String

...

udf_string_2

(optional)

...

String

...

User Defined Field of type String

...

udf_string_3

(optional)

...

String

...

User Defined Field of type String

...

udf_string_4

(optional)

...

String

...

User Defined Field of type String

...

udf_string_5

(optional)

...

String

...

User Defined Field of type String

...

udf_string_6

(optional)

...

String

...

User Defined Field of type String

...

udf_string_7

(optional)

...

String

...

User Defined Field of type String

...

udf_string_8

(optional)

...

String

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

invoices_to_pay_set

(optional)

...

bills_to_pay_set

(optional)

...

fields_set

(optional)

...

 A list of fields that should be included in the results. If not specified then all the available fields will be returned

...

Available from CRM.COM R10.0.0

...

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token": "825D7B5BB7F62E043A7C73B0FFBF124F",
    "accounts_receivable_identifier":{"number":"200"},
    "type_identifier":{"name":"Payment 1"},
    "life_cycle_state":"POSTED",
    "payment_method_identifier":{"name":"Stripe Payment Gateway"},
    "card_identifier":{"payment_gateway_reference_number":"card_15S0w0E0IcJRGs11e6ffmDXK"},
    "payment_amount":"50",
    "received_on":"2015-03-02T09:12:54",
    "received_by_user_identifier":{"username":"mpadministrator"},
    "received_by_unit_identifier":{"name":"Admin Unit"},
    "description":"Payment",
    "notes":"Payment note",
    "udf_string_1":"udf string 1",
   "udf_string_2":"udf string 2",
   "udf_string_3":"udf string 3",
   "udf_string_4":"udf string 4",
   "udf_string_5":"udf string 5",
   "udf_string_6":"udf string 6",
   "udf_string_7":"udf string 7",
   "udf_string_8":"udf string 8",
   "udf_float_1":10,
   "udf_float_2":20,
   "udf_float_3":30,
   "udf_float_4":40,
   "udf_date_1":"2014-05-05T15:49:59",
   "udf_date_2":"2014-06-05T15:49:59",
   "udf_date_3":"2014-07-05T15:49:59",
   "udf_date_4":"2014-08-05T15:49:59",
    "bills_to_pay_set": [
    {
       "bill_identifier":{"number":"163"},
    }]
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
       "status":
       {
           "message": null,
           "description": null,
           "code": "OK"
       },
       "data":
       {
           "payment_gateway_reference_number": "ch_15S1nyE0IcJRGs11wD2c3TUn",
           "payment_amount": 50,
           "issued_on": "2015-02-03T10:12:48",
           "processed_by_payment_gateway": "STRIPE",
           "life_cycle_state": "POSTED",
           "number": "245",
           "id": "BF2392E94DB88F496656F6AFE860A673",
           "reference_number": "277",
           "posted_on": "2015-02-03T10:12:52"
       }
}
Expand
titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token": "825D7B5BB7F62E043A7C73B0FFBF124F",
    "fields_set":"number,payment_amount,id,payment_gateway_reference_number,posted_on",
    "accounts_receivable_identifier":{"name":"Dina Mika"},
    "type_identifier":{"name":"Payment 1"},
    "life_cycle_state":"POSTED",
    "payment_method_identifier":{"name":"Cash"},
    "payment_amount":"50",
    "received_on":"2016-08-06T09:12:54",
    "received_by_user_identifier":{"username":"mpadministrator"},
    "received_by_unit_identifier":{"name":"Admin Unit"},
    "description":"Payment",
    "notes":"Payment note",
    "udf_string_1":"udf string 1",
   "udf_string_2":"udf string 2",
   "udf_string_3":"udf string 3",
   "udf_string_4":"udf string 4",
   "udf_string_5":"udf string 5",
   "udf_string_6":"udf string 6",
   "udf_string_7":"udf string 7",
   "udf_string_8":"udf string 8",
   "udf_float_1":10,
   "udf_float_2":20,
   "udf_float_3":30,
   "udf_float_4":40,
   "udf_date_1":"2014-05-05T15:49:59",
   "udf_date_2":"2014-06-05T15:49:59",
   "udf_date_3":"2014-07-05T15:49:59",
   "udf_date_4":"2014-08-05T15:49:59"
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "payment_amount": 50,
    "number": "366",
    "id": "B8D20D3D27E543F18C09D66945BAF7D2",
    "posted_on": "2016-06-09T13:10:43"
  }
}
Expand
titleExample 3

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token": "825D7B5BB7F62E043A7C73B0FFBF124F",
    "accounts_receivable_identifier":{"number":"ACR0000000739"},
    "type_identifier":{"name":"Payment"},
    "life_cycle_state":"DRAFT",
    "payment_method_identifier":{"name":"Cash"},
    "payment_amount":"50",
    "intended_currency_identifier":{"code":"USD"},
    "received_on":"2016-05-09T09:12:54",
    "received_by_user_identifier":{"username":"mpadministrator"},
    "received_by_unit_identifier":{"name":"Admin Unit"},
    "description":"Payment",
    "notes":"Payment note"
 
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "status": {
    "code": "COM.CRM.EXCEPTION.INVALIDCURRENCYEXCEPTION",
    "description": "Invalid currency %1. The currency must be %2.",
    "message": "Invalid Currency USD. The Currency Must Be EUR."
  }
}

POST payments/pay_invoice

This method is creating a new payment with the intention to pay the whole outstanding amount of a specific invoice. The method can be applied on a single invoice only. The payment is created in a posted state

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Accounts receivable identifier  

The identifier of the accounts receivable in which the payment should be allocated to. The allowed accounts receivable identifier fields are the following:

...

type_identifier

(mandatory)

...

The financial transaction type of the payment. The allowed financial transaction type identifier field are the following:

...

category_identifier

(optional)

...

The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:

...

payment_method_identifier

(mandatory)

...

The payment method of the payment. The allowed payment method identifier fields are the following:

...

invoice_identifier

(mandatory)

...

The invoice to be paid. The allowed invoice identifier fields are the following:

...

received_on

(optional)

...

received_by_user_identifier

(optional)

...

The user who actually received the payment. It defaults to the issued by user if not specified. The allowed user identifier fields are the following:

...

received_by_unit_identifier

(optional)

...

card_identifier

(mandatory on conditions)

...

The card that will be charged for the amount specified on the payment, by the related payment gateway provider. The allowed payment gateway card identifier fields are the following:

...

The card is applicable and mandatory if the specified payment method is linked with a payment gateway system. Note that the retrieved cards are filtered based on the cards owned by the specified accounts receivable owner

Tip

Available from CRM.COM R5.0.0

...

accounts_receivable_payment_preference_identifier

(mandatory on conditions)

...

The accounts receivable payment preferences that will be used by generic payment gateways to process the payment. The specified accounts receivable payment preferences should belong to the specified accounts receivable. This information is applicable and mandatory only if the payment will be processed by a generic payment gateway, as denoted by the selected payment method. The allowed accounts receivable payment preference identifier fields are the following:

...

Tip

Available from CRM.COM R11.0.0

...

notes

(optional)

...

back_office_code

(optional)

...

A back office code for the payment. If specified then it should be unique

Tip

Available from CRM.COM R9.1.0

...

udf_string_1

(optional)

...

User Defined Field of type String

...

udf_string_2

(optional)

...

String

...

User Defined Field of type String

...

udf_string_3

(optional)

...

String

...

User Defined Field of type String

...

udf_string_4

(optional)

...

String

...

User Defined Field of type String

...

udf_string_5

(optional)

...

String

...

User Defined Field of type String

...

udf_string_6

(optional)

...

String

...

User Defined Field of type String

...

udf_string_7

(optional)

...

String

...

User Defined Field of type String

...

udf_string_8

(optional)

...

String

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

fields_set

(optional)

...

 A list of fields that should be included in the results. If not specified then all the available fields will be returned

Tip

Available from CRM.COM R10.0.0

 

 

 

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

...

titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
	"accounts_receivable_identifier":{"number":"192"},
	"type_identifier":{"name":"Invoices Balance Payment"},
	"payment_method_identifier":{"name":"Direct Debit"},
	"category_identifier":{"name":"Invoice Payments"},
	"invoice_identifier":{"reference_number":"328"},
	"received_on":"2014-07-14T09:12:54",
	"received_by_user_identifier":{"username":"JackH"},
	"received_by_unit_identifier":{"name":"Admin Unit"},
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "payment_amount": 225,
        "issued_on": "2014-07-14T16:49:11",
        "life_cycle_state": "POSTED",
        "number": "100",
        "id": "83DFE781350877933A6FA2A51EF0F102",
        "reference_number": "115",
        "posted_on": "2014-07-14T16:49:11"
    }
}

...

titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
    "accounts_receivable_identifier":{"name":"Dina Mika"},
    "fields_set":"number,reference_number,id,issued_on,payment_amount",
    "type_identifier":{"name":"Payment 1"},
    "payment_method_identifier":{"name":"Direct Debit"},
    "category_identifier":{"name":"Payment Category 1"},
    "invoice_identifier":{"reference_number":"2023"},
    "received_on":"2014-07-14T09:12:54",
    "received_by_user_identifier":{"username":"MPAdministrator"},
    "received_by_unit_identifier":{"name":"Admin Unit"}
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "payment_amount": 55,
    "issued_on": "2016-06-09T13:15:44",
    "number": "367",
    "id": "10303722803F4FAAAF420243C30889F9",
    "reference_number": "388"
  }
}

POST payments/pay_bill

This method is creating a new payment with the intention to pay the whole outstanding amount of a specific bill. The method can be applied on a single billonly. The payment is created in a posted state

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Accounts receivable identifier  

The identifier of the accounts receivable in which the payment should be allocated to. The allowed accounts receivable identifier fields are the following:

...

type_identifier

(mandatory)

...

The financial transaction type of the payment. The allowed financial transaction type identifier field are the following:

...

category_identifier

(optional)

...

The financial transaction category of the payment that should be returned as a result. The allowed financial transaction category identifier fields are the following:

...

payment_method_identifier

(mandatory)

...

The payment method of the payment. The allowed payment method identifier fields are the following:

...

bill_identifier

(mandatory)

...

The invoice to be paid. The allowed invoice identifier fields are the following:

...

received_on

(optional)

...

received_by_user_identifier

(optional)

...

The user who actually received the payment. It defaults to the issued by user if not specified. The allowed user identifier fields are the following:

...

received_by_unit_identifier

(optional)

...

card_identifier

(mandatory on conditions)

...

The card that will be charged for the amount specified on the payment, by the related payment gateway provider. The allowed payment gateway card identifier fields are the following:

...

The card is applicable and mandatory if the specified payment method is linked with a payment gateway system. Note that the retrieved cards are filtered based on the cards owned by the specified accounts receivable owner

Tip

Available from CRM.COM R5.0.0

...

accounts_receivable_payment_preference_identifier

(mandatory on conditions)

...

The accounts receivable payment preferences that will be used by generic payment gateways to process the payment. The specified accounts receivable payment preferences should belong to the specified accounts receivable. This information is applicable and mandatory only if the payment will be processed by a generic payment gateway, as denoted by the selected payment method. The allowed accounts receivable payment preference identifier fields are the following:

...

Tip

Available from CRM.COM R11.0.0

...

notes

(optional)

...

back_office_code

(optional)

...

A back office code for the payment. If specified then it should be unique

Tip

Available from CRM.COM R9.1.0

...

udf_string_1

(optional)

...

User Defined Field of type String

...

udf_string_2

(optional)

...

String

...

User Defined Field of type String

...

udf_string_3

(optional)

...

String

...

User Defined Field of type String

...

udf_string_4

(optional)

...

String

...

User Defined Field of type String

...

udf_string_5

(optional)

...

String

...

User Defined Field of type String

...

udf_string_6

(optional)

...

String

...

User Defined Field of type String

...

udf_string_7

(optional)

...

String

...

User Defined Field of type String

...

udf_string_8

(optional)

...

String

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

fields_set

(optional)

...

 A list of fields that should be included in the results. If not specified then all the available fields will be returned

Tip

Available from CRM.COM R10.0.0

 

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

...

titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
	"accounts_receivable_identifier":{"number":"186"},
	"type_identifier":{"name":"Invoices Balance Payment"},
	"payment_method_identifier":{"name":"Direct Debit"},
	"category_identifier":{"name":"Bill Payments"},
	"bill_identifier":{"number":"128"},
	"received_on":"2014-07-14T09:12:54",
	"received_by_user_identifier":{"username":"JackH"},
	"received_by_unit_identifier":{"name":"Admin Unit"},
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "payment_amount": 100,
        "issued_on": "2014-07-14T17:01:43",
        "life_cycle_state": "POSTED",
        "number": "101",
        "id": "B88388BA9E05BCBBB4579A2D2EBB22DC",
        "reference_number": "116",
        "posted_on": "2014-07-14T17:01:44"
    }
}

...

titleExample 2

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
    "accounts_receivable_identifier":{"name":"Dina Mika"},
    "fields_set":"number,reference_number,id,issued_on,payment_amount",
    "type_identifier":{"name":"Payment 1"},
    "payment_method_identifier":{"name":"Direct Debit"},
    "category_identifier":{"name":"Payment Category 1"},
    "bill_identifier":{"number":"BL001069"},
    "received_on":"2014-07-14T09:12:54",
    "received_by_user_identifier":{"username":"MPAdministrator"},
    "received_by_unit_identifier":{"name":"Admin Unit"}
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "payment_amount": 10.11,
    "issued_on": "2016-06-09T13:23:14",
    "number": "368",
    "id": "7AE6408C118E40D6A71BEE37186B370E",
    "reference_number": "389"
  }
}

POST payments/post

This method is used to post a payment which is in draft state.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Payment identifier  

The identifier of the payment that should be posted. Only payments in draft state can be specified.The allowed payment identifier fields are the following:

...

fields_set

(optional)

...

 A list of fields that should be included in the results. If not specified then all the available fields will be returned

Tip

Available from CRM.COM R10.0.0

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

...

titleExample 1

 HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
	"payment_identifier":{"reference_number":"117"},
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "payment_amount": 50,
        "issued_on": "2014-07-14T17:06:14",
        "life_cycle_state": "POSTED",
        "number": "102",
        "id": "4653BEFC9239043011096B329DFEF3F7",
        "reference_number": "117",
        "posted_on": "2014-07-14T17:07:13"
    }
}

 

...

titleExample 2

 HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
    "payment_identifier":{"reference_number":"366"},
    "fields_set":"number,payment_amount"
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "payment_amount": 410,
    "number": "369"
  }
}

POST payments/reject

This method is used to reject a payment which is in draft state.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Payment Identifier  

The identifier of the payment that should be posted. Only payments in draft state can be specified.The allowed payment identifier fields are the following:

...

The reason that the payment is rejected. The allowed rejection reason identifier fields are the following:

...

fields_set

(optional)

...

List of Strings, comma separated 

...

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

Examples

...

titleExample 1

 

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
	"payment_identifier":{"reference_number":"118"},
	"rejection_reason_identifier":{"name":"Reject Due to Business Request"},
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "payment_amount": 50,
        "issued_on": "2014-07-14T17:06:28",
        "life_cycle_state": "REJECTED",
        "number": null,
        "id": "0ACCC72477BA606EE3B409400069F1BB",
        "reference_number": "118",
        "posted_on": null
    }
}

POST payments/cancel

This method is used to cancel a posted payment. A payment cancellation is created and posted to cancel the specified payment

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Payment Identifier  

The identifier of the payment that should be posted. Only payments in draft state can be specified.The allowed payment identifier fields are the following:

...

type_identifier

(mandatory)

...

The financial transaction type of the payment cancellation. The allowed financial transaction type identifier field are the following:

...

category_identifier

(optional)

...

The financial transaction category of the payment cancellation. The allowed financial transaction category identifier fields are the following:

...

notes

(optional)

...

back_office_code

(optional)

...

A back office code for the payment cancellation. If specified then it should be unique

Tip

Available from CRM.COM R9.1.0

...

issue_reason

(optional)

...

udf_string_1

(optional)

...

User Defined Field of type String

...

udf_string_2

(optional)

...

String

...

User Defined Field of type String

...

udf_string_3

(optional)

...

String

...

User Defined Field of type String

...

udf_string_4

(optional)

...

String

...

User Defined Field of type String

...

udf_string_5

(optional)

...

String

...

User Defined Field of type String

...

udf_string_6

(optional)

...

String

...

User Defined Field of type String

...

udf_string_7

(optional)

...

String

...

User Defined Field of type String

...

udf_string_8

(optional)

...

String

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

fields_set

(optional)

...

List of Strings, comma separated 

...

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Name

Type

Description

payment

Payment object

The payment that was cancelled

payment_cancellationPayment cancellation objectThe payment cancellation that was created

...

Examples

...

titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
	"token": "B8D7A12E9F91AFADE914B7330AFD08CB",
	"payment_identifier":{"reference_number":"117"},
	"type_identifier":{"name":"Payment Cancellation"},
	"category_identifier":{"name":"Cancellation Because of Mistake"},
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "payment":
        {
            "payment_amount": 50,
            "issued_on": "2014-07-14T17:06:14",
            "life_cycle_state": "POSTED",
            "number": "102",
            "id": "4653BEFC9239043011096B329DFEF3F7",
            "reference_number": "117",
            "posted_on": "2014-07-14T17:07:13"
        },
        "payment_cancellation":
        {
            "payment_amount": 50,
            "issued_on": "2014-07-14T17:21:06",
            "life_cycle_state": "POSTED",
            "number": "35",
            "id": "8F3613168562A73556CECA0FEA772AFE",
            "reference_number": "26",
            "posted_on": "2014-07-14T17:21:06"
        }
    }
}

POST payments/update

Tip

Available from CRM.COM R9.1.0

This method is used to update a single Payment but only as long as it is in Draft state.

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

Payment Identifier  

The identifier of the payment that should be updated. Only payments in draft state can be specified.The allowed payment identifier fields are the following:

...

accounts_receivable_identifier

(optional)

...

The identifier of the payment's updated accounts receivable. The allowed accounts receivable identifier fields are the following:

...

type_identifier

(optional)

...

The updated financial transaction type of the payment. Only financial transaction types with Payment classification can be specified. The allowed financial transaction type identifier fields are the following:

...

category_identifier

(optional)

...

The financial transaction category of the payment. The allowed financial transaction category identifier fields are the following:

...

payment_method_identifier

(optional)

...

The updated Payment Method of the payment. The allowed payment method identifier fields are the following:

...

card_identifier

(mandatory on conditions)

...

The card that will be charged for the amount specified on the payment, by the related payment gateway provider. The allowed payment gateway card identifier fields are the following:

...

The card is applicable and mandatory if the specified payment method is linked with a payment gateway system. Note that the retrieved cards are filtered based on the cards owned by the specified accounts receivable owner

...

accounts_receivable_payment_preference_identifier

(mandatory on conditions)

...

The accounts receivable payment preferences that will be used by generic payment gateways to process the payment. The specified accounts receivable payment preferences should belong to the specified accounts receivable. This information is applicable and mandatory only if the payment will be processed by a generic payment gateway, as denoted by the selected payment method. The allowed accounts receivable payment preference identifier fields are the following:

...

Tip

Available from CRM.COM R11.0.0

...

received_by_user_identifier

(optional)

...

The user who actually received the payment. The allowed user identifier fields are the following:

...

received_by_unit_identifier

(optional)

...

received_on

(optional)

...

payment_amount

(optional)

...

intended_currency_identifier

(optional)

...

The currency that the user was intended to use for the payment. If specified then it is validated against the currency of the specified accounts receivable and if they don't match then an error is throw. Note that the intended currency is not saved within CRM.COM; it is just used for validation purposes. The allowed currency identifier fields are the following:

...

Tip

Available from CRM.COM R11.0.0

...

notes

(optional)

...

back_office_code

(optional)

...

A back office code for the payment. If specified then it should be unique

 

...

udf_string_1

(optional)

...

User Defined Field of type String

...

udf_string_2

(optional)

...

String

...

User Defined Field of type String

...

udf_string_3

(optional)

...

String

...

User Defined Field of type String

...

udf_string_4

(optional)

...

String

...

User Defined Field of type String

...

udf_string_5

(optional)

...

String

...

User Defined Field of type String

...

udf_string_6

(optional)

...

String

...

User Defined Field of type String

...

udf_string_7

(optional)

...

String

...

User Defined Field of type String

...

udf_string_8

(optional)

...

String

...

User Defined Field of type String

...

udf_float_1

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_2

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_3

(optional)

...

Float

...

User Defined Field of type Float

...

udf_float_4

(optional)

...

Float

...

User Defined Field of type Float

...

udf_date_1

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_2

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_3

(optional)

...

Date

...

User Defined Field of type Date

...

udf_date_4

(optional)

...

Date

...

User Defined Field of type Date

...

invoices_to_pay_set

(optional)

...

The invoices that are intended to be paid

...

bills_to_pay_set

(optional)

...

The bills that are intended to be paid

...

fields_set

(optional)

...

List of Strings, comma separated 

...

A list of fields that should be included in the results. If not specified then all the available fields will be returned

...

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

...

 

Examples

HTTP Method: POST

 

Request:

Body:

Expand
titleExample 1
Code Block
themeConfluence
languagejavascript
linenumberstrue
{
 "token":"35FA3612DEB94BF7A2FE2C9EC9EF406D",
  "payment_identifier":{"reference_number":"179"},
   "accounts_receivable_identifier":{"name":"Jessie01"},
   "category_identifier":{"name":"Payment Categories"},
    "received_on":"2015-03-02T09:12:54",
    "received_by_user_identifier":{"username":"mpadministrator"},
    "received_by_unit_identifier":{"name":"Admin Unit"},
    "back_office_code":"P000001",
    "notes":"Payment note",
   "udf_string_1":"udf string 1",
   "udf_string_2":"udf string 2",
   "udf_string_3":"udf string 3",
   "udf_string_4":"udf string 4",
   "udf_string_5":"udf string 5",
   "udf_string_6":"udf string 6",
   "udf_string_7":"udf string 7",
   "udf_string_8":"udf string 8",
   "udf_float_1":10,
   "udf_float_2":20,
   "udf_float_3":30,
   "udf_float_4":40,
   "udf_float_5":50,
   "udf_float_6":60,
   "udf_float_7":70,
   "udf_float_8":80,
   "udf_date_1":"2014-05-05T15:49:59",
   "udf_date_2":"2014-06-05T15:49:59",
   "udf_date_3":"2014-07-05T15:49:59",
   "udf_date_4":"2014-08-05T15:49:59",
     "bills_to_pay_set":
    [
       {
        "action":"add",
         "bill_identifier":{"number":"BL000128"}
       }
   ],
    "invoices_to_pay_set":
    [
       {
        "action":"add",
         "invoice_identifier":{"number":"I00000181"}
       }
   ]
}
   

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{ "status": { "message": "", "description": "", "code": "OK" }, "data": { "invoices_to_pay_set": [ { "issued_on": "2014-08-06T13:12:19", "total_amount": 16.5, "life_cycle_state": "POSTED", "unsettled_amount": null, "number": "I00000181", "due_on": "2014-08-05T00:00:00", "id": "3F8C3DE40431951F714C8162DBBA90BE", "reference_number": "181", "outstanding_amount": null, "posted_on": "2014-08-06T13:12:51" } ], "notes": "Panayiota Demou\t19/2/2015 11:48:47\tTest\tMarios Lannister\t4/5/2016 13:13:20\tPayment note\tMarios Lannister\t4/5/2016 13:20:34\tPayment note\tMarios Lannister\t4/5/2016 13:22:31\tPayment note\tMarios Lannister\t4/5/2016 13:24:53\tPayment note\tMarios Lannister\t4/5/2016 13:27:44\tPayment note\tMarios Lannister\t4/5/2016 13:30:03\tPayment note\tMarios Lannister\t4/5/2016 13:36:02\tPayment note\tMarios Lannister\t4/5/2016 13:36:50\tPayment note\tMarios Lannister\t4/5/2016 13:40:22\tPayment note\tMarios Lannister\t4/5/2016 13:40:43\tPayment note", "udf_float_1": 10, "udf_float_2": 20, "udf_float_3": 30, "number": null, "udf_float_4": 40, "udf_string_1": "udf string 1", "udf_string_2": "udf string 2", "udf_string_3": "udf string 3", "received_by_unit": { "community_name": "Internal Community", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "name": "Admin Unit", "group_name": "Main Group", "description": "r1 Test Description for resource request tab.Test Description for resource request tab.", "alternative_code": "MG" }, "udf_string_4": "udf string 4", "udf_string_5": "udf string 5", "card": null, "udf_string_6": "udf string 6", "udf_string_7": "udf string 7", "udf_string_8": "udf string 8", "received_by_user": { "person_name": "Marios Lannister", "username": "MPAdministrator", "id": "1", "email": "sakkascy1986@hotmail.com" }, "accounts_receivable": { "account_owner": { "last_name": "Pickman", "middle_name": "Li", "life_cycle_state": "FINANCIAL", "company_profile": null, "title": "Mr", "first_name": "Jessie", "type": "PERSON", "id": "F9A629E466B1EF473CECD46F2A4D63F3", "name": null, "company_name": null, "demographics": { "gender": "MALE", "passport_issued_by_country": { "three_character_code": "USA", "two_character_code": "US", "id": "127", "name": "UNITED STATES", "alternative_code": null }, "social_security_number": "434567", "passport_number": "54567432", "country_of_residence": { "three_character_code": "USA", "two_character_code": "US", "id": "127", "name": "UNITED STATES", "alternative_code": null }, "name_day": { "month": 4, "day": 2 }, "date_of_birth": { "month": 11, "day": 1, "year": 1988 }, "id_number": "983452", "id_issued_by_country": { "three_character_code": "USA", "two_character_code": "US", "id": "127", "name": "UNITED STATES", "alternative_code": null } } }, "life_cycle_state": "ACTIVE", "number": "170", "id": "903B55B02EAC74FE25E12F8786D44011", "name": "Jessie01" }, "bills_to_pay_set": [ { "total_amount_to_be_paid": 40.000000000000014, "to_date": null, "from_date": null, "life_cycle_state": "POSTED", "total_billed_amount": 40, "number": "BL000128", "bill_status": null, "id": "C4442CB68A6C45D2B977D13C3FDFA434" } ], "id": "FD0553CC902A7C57D6CAC9393754E346", "posted_on": null, "udf_date_1": "2014-05-05T15:49:59", "udf_date_2": "2014-06-05T15:49:59", "udf_date_3": "2014-07-05T15:49:59", "udf_date_4": "2014-08-05T15:49:59", "log_information": { "updated_date": "2016-05-04T10:40:46", "created_date": "2014-10-07T15:51:26", "created_by_unit": { "community_name": "Internal Community", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "name": "Admin Unit", "group_name": "Main Group", "description": "r1 Test Description for resource request tab.Test Description for resource request tab.", "alternative_code": "MG" }, "updated_by_unit": { "community_name": "Internal Community", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "name": "Admin Unit", "group_name": "Main Group", "description": "r1 Test Description for resource request tab.Test Description for resource request tab.", "alternative_code": "MG" }, "created_by_user": { "person_name": "persia_xenopoulou", "username": "persia_xenopoulou", "id": "2A15084589E81D3DA7ABA3C7563F805E", "email": "p_xenopoulou@crm.com" }, "updated_by_user": { "person_name": "Marios Lannister", "username": "MPAdministrator", "id": "1" } }, "payment_amount": 150, "issued_on": "2014-10-07T15:51:26", "life_cycle_state": "DRAFT", "back_office_code": "P000001", "rejection_reason": null, "payment_method": { "id": "075CC59CC7EBCD818C6311E596615337", "name": "Cash", "description": "Cash", "alternative_code": "C" }, "type": { "classification": "PAYMENT", "id": "84C4E6996B0DC91307D0D9DBBE7D325E", "name": "Payment 1", "description": "Payment 1", "alternative_code": "P1" }, "received_on": "2015-03-02T09:12:54", "reference_number": "179", "category": { "id": "6BFF031A540EB9337C70022247C7A19B", "name": "Payment Categories", "description": "Payment Categories", "code": "PC" } } } Panel
nameblue

Child pages (Children Display)
excerpttrue