Tip |
---|
Available from CRM.COM R13.1.0 |
Excerpt |
---|
This method terminates an Accounts Receivable. A single Accounts Receivable is terminated by each call |
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
accounts_receivable_identifier (mandatory) | Account Receivable Identifier | The identifier of the account receivable to be terminated. The allowed account receivable 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 |
...
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request Body
Response
|
{
"data": {
"notes": null,
"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-02-25T11:05:13",
"updated_date": "2017-08-25T17:33:38",
"updated_by_user": {
"person_name": "CRM COM",
"id": "1",
"email": null,
"username": "MPAdministrator"
},
"created_by_user": {
"person_name": "MPAdministrator",
"id": "1",
"email": null,
"username": "MPAdministrator"
}
},
"payment_preferences_set": [
{
"payment_preference": {
"alternative_code": "C",
"name": "Cash Payment",
"description": null,
"id": "2",
"type": "CUSTOM1"
},
"bank_branch": null,
"bank_account_number": null,
"notes": null,
"payment_medium_brand": null,
"use_for_recurring_payments": false,
"payment_medium_type": null,
"bank": null,
"cards_set": [],
"payment_medium_identifier": null,
"account_holder": null,
"default_card": null,
"id": "D9F264F286B6406BB331FAFF91C4C043",
"bank_account_type": null
},
{
"payment_preference": {
"alternative_code": "SP",
"name": "Stripe Payment",
"description": "Stripe",
"id": "27869C712D2A4B22BB5AC35AB1E42DC7",
"type": "STRIPE_PAYMENT_GATEWAY"
},
"bank_branch": null,
"bank_account_number": null,
"notes": null,
"payment_medium_brand": null,
"use_for_recurring_payments": false,
"payment_medium_type": null,
"bank": null,
"cards_set": [
{
"expiration_year": 2018,
"card_holder_name": "23523",
"payment_gateway_reference_number": "card_17iL50E0IcJRGs11dNStljp8",
"expiration_month": 2,
"id": "808802FE8727453D9FFC7CDFA7FD6F4F",
"type": "CREDIT",
"brand": "MASTER_CARD",
"last_digits": "**** **** **** 4444"
}
],
"payment_medium_identifier": null,
"account_holder": null,
"default_card": {
"expiration_year": 2018,
"card_holder_name": "23523",
"payment_gateway_reference_number": "card_17iL50E0IcJRGs11dNStljp8",
"expiration_month": 2,
"id": "808802FE8727453D9FFC7CDFA7FD6F4F",
"type": "CREDIT",
"brand": "MASTER_CARD",
"last_digits": "**** **** **** 4444"
},
"id": "5DADC9707D944041B894DFD5B3468CD3",
"bank_account_type": null
}
],
"owned_by_group": {
"alternative_code": "MG",
"community_name": "Community",
"name": "Main Group",
"description": "Main Group",
"id": "1"
},
"description": null,
"contact_information": {
"company_profile": null,
"company_name": null,
"name": "Marios Ioannou2",
"last_name": "Ioannou2",
"id": "BE1354B4CE6E4C9C8FB4F5D4D690BF27",
"life_cycle_state": "MARKETING",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Marios",
"demographics": {
"name_day": {
"month": 11,
"day": 21
},
"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
}
},
"billing_address": {
"apartment_number": null,
"care_of": null,
"country": {
"alternative_code": "IRN",
"three_character_code": null,
"name": "IRAN (ISLAMIC REPUBLIC OF)",
"id": "231",
"two_character_code": null
},
"municipality": null,
"type": "CUSTOM2",
"udf_date_2": null,
"udf_date_1": null,
"street_name": "555",
"udf_date_4": null,
"udf_date_3": null,
"udf_float_3": null,
"udf_float_4": null,
"po_box_postal_code": null,
"udf_string_15": null,
"udf_string_16": null,
"udf_string_13": null,
"udf_string_14": null,
"udf_string_11": null,
"udf_string_12": null,
"id": "E094D5850FDA49EC9111B566023876AB",
"state": "Active",
"udf_string_10": null,
"floor": null,
"udf_float_1": null,
"udf_float_2": null,
"area": null,
"udf_string_2": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"udf_string_1": null,
"po_box": null,
"town_city": null,
"district": null,
"street_number": "555",
"postal_code": null,
"udf_string_6": null,
"udf_string_7": null,
"udf_string_8": null,
"udf_string_9": null
},
"primary_account": true,
"type": "CUSTOMER",
"udf_date_2": null,
"udf_date_1": null,
"udf_date_4": null,
"udf_date_3": null,
"number": "ACR0000000056",
"udf_float_3": null,
"udf_float_4": null,
"balance": 0,
"credit_period_operator": "PLUS",
"credit_limit": 50,
"credit_period": 2,
"currency": {
"suffix_symbol": "N/A",
"prefix_symbol": "€",
"decimal_part_name": "cents",
"code": "EUR",
"integer_part_name": "euro",
"id": "2"
},
"id": "E0623A1C29FF47C991CF544BCBE6A97F",
"opening_balance": 0,
"udf_float_1": null,
"udf_float_2": null,
"udf_string_2": null,
"opening_balance_date": null,
"udf_string_3": null,
"udf_string_4": null,
"udf_string_5": null,
"privacy_level": {
"number": "14",
"name": "PL Group A_Share_Low",
"id": "9DCEFDA9D56145978C265085CD146810",
"hierarchy_level": 1
},
"presentment_preferences_set": [
{
"presentment_method": {
"alternative_code": "F2F",
"name": "Face 2 Face",
"description": null,
"contact_information": {
"company_profile": null,
"company_name": null,
"name": "Template CRM.COM User",
"last_name": "CRM.COM User",
"id": "CRM1",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"title": null,
"type": "PERSON",
"first_name": "Template",
"demographics": {
"name_day": {
"month": null,
"day": null
},
"id_number": " ",
"gender": null,
"country_of_residence": null,
"date_of_birth": {
"month": 4,
"year": 1984,
"day": 2
},
"industry_sector": null,
"passport_number": null,
"industry": null,
"social_security_number": "47006270010",
"id_issued_by_country": null,
"passport_issued_by_country": null
}
},
"id": "4EEB94166FF278D11D4EA209EDBFD0C6",
"state": "ACTIVE",
"type": "F2F"
},
"id": "99DF2427EE764885AA65581F39F3E210",
"state": "ACTIVE"
}
],
"udf_string_1": null,
"life_cycle_state": "TERMINATED",
"classification": {
"alternative_code": "RC",
"name": "Fleet Company",
"id": "622533B94C749EE89D1933FD4D1FFFF7"
},
"usage_allowance_limits": {
"percentage_of_allowed_exceeded_usage_limit": null,
"accumulated_maximum_rated_amount_per_transaction": null,
"usage_services_allowance": [
{
"service_family": null,
"service_type": null,
"maximum_rated_amount_per_day": null,
"service": {
"code": "Exxon Unleaded",
"product_type": {
"service_type": "USAGE",
"used_for_provisioning": false,
"alternative_code": "E2",
"udr_type": {
"unit_of_measurement": {
"alternative_code": "L",
"name": "Litre",
"description": "Littres",
"id": "A588A14FFA214303BD2182BCF6E9ACCF"
},
"alternative_code": "T",
"name": "Test",
"description": null,
"id": "C72DCF90AD66467388FA0B7725A24E21"
},
"composition_method": "FLAT",
"name": "Exxon",
"description": null,
"id": "ACA2649D85044264AADC31B5DB0BC567",
"classification": "SERVICES",
"physical_good_type": null
},
"alternative_code": "EU",
"description": "Exxon Unleaded",
"id": "3F174D8E87474A2AB115A2BFD2750FBB"
},
"maximum_usage_per_transaction": null,
"maximum_rated_amount_per_month": null,
"maximum_usage_per_day": "30",
"maximum_rated_amount_per_transaction": null,
"maximum_usage_per_month": null
},
{
"service_family": null,
"service_type": null,
"maximum_rated_amount_per_day": "100",
"service": {
"code": "Exxon Petrol",
"product_type": {
"service_type": "USAGE",
"used_for_provisioning": false,
"alternative_code": "E2",
"udr_type": {
"unit_of_measurement": {
"alternative_code": "L",
"name": "Litre",
"description": "Littres",
"id": "A588A14FFA214303BD2182BCF6E9ACCF"
},
"alternative_code": "T",
"name": "Test",
"description": null,
"id": "C72DCF90AD66467388FA0B7725A24E21"
},
"composition_method": "FLAT",
"name": "Exxon",
"description": null,
"id": "ACA2649D85044264AADC31B5DB0BC567",
"classification": "SERVICES",
"physical_good_type": null
},
"alternative_code": "EP",
"description": "Petrol",
"id": "E1EB6B2EBFC444A1BEA9A030A5B4D56D"
},
"maximum_usage_per_transaction": null,
"maximum_rated_amount_per_month": null,
"maximum_usage_per_day": null,
"maximum_rated_amount_per_transaction": null,
"maximum_usage_per_month": null
}
],
"block_services_not_included_in_usage_allowance_limits_settings": 1,
"accumulated_maximum_usage_per_day": null,
"accumulated_maximum_usage_per_month": null,
"accumulated_maximum_rated_amount_per_month": null,
"currency": {
"suffix_symbol": "N/A",
"prefix_symbol": "€",
"decimal_part_name": "cents",
"code": "EUR",
"integer_part_name": "euro",
"id": "2"
},
"accumulated_maximum_rated_amount_per_day": "100",
"accumulated_maximum_usage_per_transaction": null
},
"credit_limit_status": "NOT_EXCEEDED",
"credit_rating": {
"code": "AAA",
"name": "key_aaa_-_subject_to_minimal_credit_risk"
},
"name": "ACR0000000056 Marios Ioannou2",
"outstanding_amount": 0,
"udf_string_6": null,
"udf_string_7": null,
"accounting_period": null,
"access_tokens_set": [],
"udf_string_8": null
},
"status": {
"code": "OK",
"description": "",
"message": ""
}
}