# tAcuSSAocEInform

Returns advice of charge - end of call (AOC-E) information to a served user. It is referenced in the AcuSSAocInformInvoke structure returned in an AOC_INFORM operation.

#### Structure

typedef struct tAcuSSAocEInform
{
struct op_byte_field currency_id_size;/* Used only if type_of_charging */
/* is CURRENCY_UNITS */
struct op_long_field currency_amount; /* Used only if type_of_charging */
/* is CURRENCY_UNITS */
struct op_byte_field multiplier; /* Used only if type_of_charging */
/* is CURRENCY_UNITS */
struct op_byte_field billing_id; /* From ACU_SS_AOC_BILLING_ID */
/* constants */
struct acu_ss_association charge_association; /* Returns ID of charge */
/* for AOC-E after call clearing */
tRecordedUnits recorded_units; /* Used only if type_of_charging */
/* is CHARGING_UNITS */
uchar currency_id[MAX_CURRENCY_SIZE]; /* Used only if type_of_charging */
/* is CURRENCY_UNITS */
uchar type_of_charging; /* From SS_AOC_TYPE_OF_CHARGE... */
/* constants */
uchar recorded_charges; /* From SS_AOC_RECORDED_CHARGES */
/* constants */
uchar completed; /* Set to OFF if additional */
/* recorded units are queued */
pad1 /* in a subsequent message */
};

#### Fields

Field | Description
--- | ---
currency_id_size | Size of currency_id. Used only if type_of_charging is CURRENCY_UNITS.
currency_amount | This field plus multiplier indicates the currency amount. Used only if type_of_charging is CURRENCY_UNITS.
multiplier | This field plus currency_amount indicates the currency amount. From ACU_SS_AOC_MULTIPLIER constants. Used only if type_of_charging is CURRENCY_UNITS.
billing_id | From ACU_SS_AOC_BILLING_ID constants.
charge_association | Not used.
recorded_units | Used only if type_of_charging is CHARGING_UNITS.
currency_id[MAX_CURRENCY_SIZE] | Currency ID. Used only if type_of_charging is CURRENCY_UNITS.
type_of_charging | Step function (charge is incurred for the time unit, or part thereof) or continuous (charges are incurred evenly throughout). From ACU_SS_AOC_TYPE_OF_CHARGE constants.
recorded_charges | From ACU_SS_AOC_RECORDED_CHARGES constants.
completed | Set to OFF if additional recorded units are queued in a subsequent message.