Customizing Billing Processes

You can use the iBatchCallback global interface to hook into PSA billing processes such as:

  • Clear
  • Combine
  • Generate
  • Invoice
  • Recalc
  • Release
  • Remove

These interface hooks are called during PSA billing processes and each method is called even when a process is executed inline rather than as a batch. To use these hooks, you must write classes that implement the iBatchCallback interface. Once you have written a class to handle a billing process, you must instruct PSA to use it. To do this, add a value containing the name of your class to the appropriate billing Interface configuration option in the Billing configuration group. For information about configuring PSA to use a custom billing class, see:

For information about creating custom Salesforce billing classes for PSA billing processes, see the PSA API Developer's Reference. For more information, see Documentation in Certinia Community.

Note:

The APIBillingService.defaultBillingReleaseHandler and APIBillingService.defaultBillingGenerateHandler classes already exist for the Release and Generate processes.