CreateBillingAccount
Changed on:
8 Aug 2025
Overview
The rule creates customer’s Billing Account with billing account reference.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Creates customer's Billing Account with type {billingAccountType}, sends event {eventName} after billing account is created with billing account reference.
Accepts
- ORDER
- RETURN ORDER
Actions
- This rule produces an action that triggers a mutation which creates the Billing Account with an associated reference
Rule parameters
| Parameter | Description |
| eventName | Event name for outgoing event. |
| billingAccountType | BillingAccount type, default value = CUSTOMER. |
Event attributes
Exceptions
- if the
`retailerId/entityRef`property is not provided - if the
`order/return order/customer link`not found or invalid - if attempted against unsupported entities
Configuration example
1{
2 "name": "<ACCOUNTID>.order.CreateBillingAccount",
3 "props": {
4 "eventName": "CheckMaxSplitLimitReached",
5 "billingAccountType": "CUSTOMER"
6 }
7}