Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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:

Include Page
V4:accounts_receivable_identifier_post
V4:accounts_receivable_identifier_post

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
titleExample 1

HTTP Method: POST

 

Request

Body

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "token": "{{token}}",
 "accounts_receivable_identifier" : {
     "number" : "ACR0000000062"
    }
}

Response

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "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-03-03T10:37:43",
            "updated_date": "2017-08-09T09:15:30",
            "updated_by_user": {
                "person_name": "CRM COM",
                "id": "1",
                "email": null,
                "username": "MPAdministrator"
            },
            "created_by_user": {
                "person_name": "p_xenopoulou",
                "id": "6D7E8CA9F3254F23A5511E20C1D92DB8",
                "username": "p_xenopoulou"
            }
        },
        "payment_preferences_set": [
            {
                "payment_preference": {
                    "alternative_code": "TC_1",
                    "name": "Custom 1",
                    "description": null,
                    "id": "4F566DD555FD4C3DAFDDF4A2B2B3692B",
                    "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": "test",
                "account_holder": null,
                "default_card": null,
                "id": "09730E87C26E47D6A577211E7B3D2FDA",
                "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": {
                "tax_reference_number": "43324",
                "registered_in_country": null,
                "number_of_employees": null,
                "annual_turnover": null,
                "profile_year": null,
                "registration_number": "dsfdsf",
                "vat_registration_number": "32432",
                "industry_sector": null,
                "industry": null,
                "established_date": null,
                "vat_registered_by": null,
                "vat_registration_date": null
            },
            "company_name": "fssdfdsf",
            "name": "fssdfdsf",
            "last_name": null,
            "id": "698EDD764CDD431E87B64877DB113A2C",
            "life_cycle_state": "MARKETING",
            "middle_name": null,
            "title": null,
            "type": "COMPANY",
            "first_name": null,
            "demographics": null
        },
        "billing_address": null,
        "primary_account": true,
        "type": "CUSTOMER",
        "udf_date_2": null,
        "udf_date_1": null,
        "udf_date_4": null,
        "udf_date_3": null,
        "number": "ACR0000000062",
        "udf_float_3": null,
        "udf_float_4": null,
        "balance": null,
        "credit_period_operator": "PLUS",
        "credit_period": 2,
        "currency": {
            "suffix_symbol": "N/A",
            "prefix_symbol": "€",
            "decimal_part_name": "cents",
            "code": "EUR",
            "integer_part_name": "euro",
            "id": "2"
        },
        "id": "ED309DAEC8AC40F9BA0E37B9355EAA1F",
        "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": [],
        "udf_string_1": null,
        "life_cycle_state": "TERMINATED",
        "classification": {
            "alternative_code": "RC",
            "name": "Fleet Company",
            "id": "622533B94C749EE89D1933FD4D1FFFF7"
        },
        "credit_limit_status": null,
        "credit_rating": {
            "code": "AAA",
            "name": "key_aaa_-_subject_to_minimal_credit_risk"
        },
        "name": "ACR0000000062 fssdfdsf",
        "outstanding_amount": null,
        "udf_string_6": null,
        "udf_string_7": null,
        "accounting_period": null,
        "access_tokens_set": [],
        "udf_string_8": null
    },
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}