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 previews the bill for an Accounts Receivable

...

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. 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 separatedA 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: GET

 

Request

Response

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "data": {
        "bill_preview": {
            "total_vat_amount": 8.95 0,
            "total_vat_amount_of_member": 0,
            "from_date": "2017-0802-01T00:00:00",
            "to_date": "2017-09-01T00:00:00",
            "total_taxbilled_amount_of_member": 01713.6,
            "currencytotal_amount_to_be_paid_by_member": {4087.67,
                "suffix_symbol"total_tax_amount": "N/A",
   0,
            "prefix_symbolcurrency": "€",{
                "decimalsuffix_part_namesymbol": "cents"null,
                "codeprefix_symbol": "EUR£",
                "integerdecimal_part_name": "euro"null,
                "idcode": "2GBP",
            },    "integer_part_name": null,
                "total_billed_amountid": 40.3,"9"
            },
            "total_billed_amount": 1713.6,
            "total_amount_to_be_paid": 04087.67,
            "product_set": [
                {
                    "product": {
                        "code": "Gold",
                        "product_type": {
                            "service_type": "TERMED",
                            "used_for_provisioning": true,
                            "alternative_code": "Main Packages",
                            "composition_method": "FLAT",
                            "name": "Main Packages",
                            "description": null,
                            "id": "E186E293AAAB49EE86A729540A4287FE",
                            "classification": "SERVICES",
                            "physical_good_type": null
                        },
                        "alternative_code": "G",
                        "description": "Gold",
                        "id": "D1EB074DFD904E54A0C67CAB9DC7E010"
                    },
                    "from_date": "2017-02-01T00:00:00",
                    "to_date": "2017-09-01T00:00:00",
                    "total_amount": 294,
                    "applied_additive_discounts_set": []
                },
                {
                    "product": {
                        "code": "Gold",
                        "product_type": {
                            "service_type": "TERMED",
                            "used_for_provisioning": true,
                            "alternative_code": "Main Packages",
                            "composition_method": "FLAT",
                            "name": "Main Packages",
                            "description": null,
                            "id": "E186E293AAAB49EE86A729540A4287FE",
                            "classification": "SERVICES",
                            "physical_good_type": null
                        },
                        "alternative_code": "G",
                        "description": "Gold",
                        "id": "D1EB074DFD904E54A0C67CAB9DC7E010"
                    },
                    "from_date": "2017-02-01T00:00:00",
                    "to_date": "2017-09-01T00:00:00",
                    "total_amount": 294,
                    "applied_additive_discounts_set": []
                },
                {
                    "product": {
                        "code": "SilverVOD & PPV Base",
                        "product_type": {
                            "service_type": "TERMED",
                            "used_for_provisioning": truefalse,
                            "alternative_code": "Main PackagesV&P",
                            "composition_method": "FLAT",
                            "name": "MainVOD & PackagesPPV",
                            "description": "To be used for termed non provisioning services as a base for ordering VOD and "descriptionPPV": null,
                            "id": "E186E293AAAB49EE86A729540A4287FECE2024C589D34244A1D29CDDE3B88127",
                            "classification": "SERVICES",
                            "physical_good_type": null
                        },
                        "alternative_code": "SLVV&PB",
                        "description": "SILVERVOD & PPV Base",
                        "id": "AF390B58BCE646D485EAC39D44C2C81CF7286EF7D017405E8357FF8614A3EA24"
                    },
                    "from_date": "2017-0802-01T00:00:00",
                    "to_date": "2017-09-01T00:00:00",
                    "total_amount": 9890.34,
                    "applied_additive_discounts_set": []
                },
                {
                    "product": {
                        "code": "Movies 1Bronze",
                        "product_type": {
                            "service_type": "TERMED",
                            "used_for_provisioning": true,
                            "alternative_code": "ASMain Packages",
                            "composition_method": "FLAT",
                            "name": "AdditionalMain ServicesPackages",
                            "description": null,
                            "id": "C8321F0BCA8A4051857BC35CEEE41555E186E293AAAB49EE86A729540A4287FE",
                            "classification": "SERVICES",
                            "physical_good_type": null
                        },
                        "alternative_code": "M1B",
                        "description": "Movies 1Bronze",
                        "id": "571C10876AF840088372A94A14D0A02CF50CC52934BD4F119B6E18E215A4FC55"
                    },
                    "from_date": "2017-0802-01T00:00:00",
                    "to_date": "2017-09-01T00:00:00",
                    "total_amount": 31235.2,
                    "applied_additive_discounts_set": []
                }
            ]
        }
    },
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}