Enums
Names and values for all enumerations used in the Bunny GraphQL API.
An enum is a fixed set of values that a field or argument will accept. Each enum below lists the values it allows and what each value means.
The part of an account an activity event belongs to
| Name |
Description |
| QUOTES |
Quote events |
| SUBSCRIPTIONS |
Subscription events |
| INVOICES_PAYMENTS |
Invoice, credit note and payment events |
| ACCOUNT_TENANTS |
Account and tenant events |
Account-owned record whose activity is requested
| Name |
Description |
| SUBSCRIPTION |
|
| QUOTE |
|
| INVOICE |
|
| CREDIT_NOTE |
|
| CONTACT |
|
| DEAL |
|
| DISPUTE |
|
| EMAIL |
|
| LEAD |
|
| TENANT |
|
| Name |
Description |
| PENDING |
Pending |
| APPROVED |
Approved |
| REJECTED |
Rejected |
| Name |
Description |
| PENDING |
Link session started but not yet completed |
| ACTIVE |
Connection is live and synchronizing |
| REAUTHENTICATION_REQUIRED |
The bank link expired and must be re-authorized |
| REVOKED |
Access to the bank was withdrawn |
| Name |
Description |
| RUNNING |
Import is in progress |
| COMPLETED |
Import finished successfully |
| FAILED |
Import did not finish |
| Name |
Description |
| SCHEDULED |
Started by the nightly cron |
| MANUAL |
Started from the “Sync now” action |
| Name |
Description |
| UNMATCHED |
No invoice has been suggested for this transaction |
| SUGGESTED |
An invoice has been suggested and is awaiting approval |
| APPROVED |
A manual payment has been created for this transaction |
| IGNORED |
Transaction has been hidden as not relevant to billing |
| Name |
Description |
| SUBSCRIPTION_CANCEL |
|
| QUOTE_CHANGE_UPDATE |
|
| QUOTE_CHANGE_ADD |
|
| QUOTE_CHANGE_DELETE |
|
| Name |
Description |
| ONCE |
Billed Once |
| MONTHLY |
Billed Monthly |
| QUARTERLY |
Billed Quarterly |
| SEMI_ANNUAL |
Billed Semi_annual |
| ANNUAL |
Billed Annual |
| Name |
Description |
| ONE_TIME |
One_time charge |
| RECURRING |
Recurring charge |
| USAGE |
Usage charge |
| Name |
Description |
| PERCENTAGE |
Percentage |
| AMOUNT |
Amount |
Where a credit balance stands after the latest usage
| Name |
Description |
| OK |
Credits remain |
| LOW |
Credits remain, below the alert threshold |
| DEPLETED |
No credits remain; usage bills as overage |
| BLOCKED |
No credits remain and usage is not billed; stop serving until credits are added |
What happens to usage when a credit balance reaches zero
| Name |
Description |
| OVERAGE |
Remaining usage bills at the charge price |
| TOP_UP |
Buy more credits through the usage charge’s top-up charge |
| BLOCK |
Usage after zero is recorded but not billed, and the balance reads blocked |
| Name |
Description |
| PREPAID |
Prepaid credits |
| RECURRING |
Recurring credits |
| PROMO |
Promo credits |
| ROLLOVER |
Rollover credits |
| ADJUSTMENT |
Adjustment credits |
| Name |
Description |
| SCHEDULED |
|
| ACTIVE |
|
| DEPLETED |
|
| EXPIRED |
|
| VOIDED |
|
Whether a one-time or recurring charge grants credits, and what kind: the three choices of the charge form stored as usageCredits plus whether the charge has a feature
| Name |
Description |
| NONE |
A normal charge that grants no credits |
| UNITS |
Grants credits that prepay units of the charge’s feature |
| BALANCE |
Grants a balance in the price list currency that credits-mode usage charges draw down |
| Name |
Description |
| GRANT |
|
| ROLLOVER_IN |
|
| REVERSAL |
|
| TRANSFER_IN |
|
| DRAWDOWN |
|
| EXPIRY |
|
| VOID |
|
| ROLLOVER_OUT |
|
| TRANSFER_OUT |
|
| ADJUSTMENT |
|
| Name |
Description |
| WRITE_OFF |
Write_off credit note |
| REFUND |
Refund credit note |
| CREDIT |
Credit credit note |
| Name |
Description |
| PREPARING |
Preparing credit note |
| DRAFT |
Draft credit note |
| READY |
Ready credit note |
| PARTIALLY_APPLIED |
Partially_applied credit note |
| APPLIED |
Applied credit note |
| Name |
Description |
| fixed |
Convert to base currency via fixed conversion rate |
| lookup |
Convert to base currency using conversion rate lookup |
Kind of deal
| Name |
Description |
| NEW |
New business |
| EXISTING |
Existing business |
Origin of deal
| Name |
Description |
| SALES |
Sales |
| PORTAL |
Portal |
| SIGNUP |
Signup |
| OTHER |
Existing business |
| Name |
Description |
| OPEN |
OPEN |
| CLOSED_WON |
CLOSED_WON |
| CLOSED_LOST |
CLOSED_LOST |
| Name |
Description |
| DO_NOTHING |
Take no action on invoices when dispute is lost |
| UNPAY_AND_REFUND |
Unpay the invoice and create a refund when dispute is lost |
| CREDIT_NOTE_AND_REFUND |
Create a credit note and refund when dispute is lost |
| Name |
Description |
| OPEN |
Dispute processing is open |
| CLOSED |
Dispute processing is closed |
| Name |
Description |
| OPEN |
Dispute is open and under review |
| WON |
Dispute has been won by the merchant |
| LOST |
Dispute has been lost by the merchant |
| Name |
Description |
| DO_NOTHING |
Take no action on subscriptions when dispute is lost |
| DO_NOT_AUTO_RENEW |
Disable auto-renewal for subscriptions when dispute is lost |
| CANCEL_IMMEDIATELY |
Cancel subscriptions immediately when dispute is lost |
| Name |
Description |
| IMAGE |
Image |
| HEADING |
Heading |
| PAGEBREAK |
Pagebreak |
| PARAGRAPH |
Paragraph |
| QUOTE |
Quote |
| SEPARATOR |
Separator |
| SIGNATURES |
Signatures |
| SPACER |
Spacer |
| ENTITY |
Entity |
| ACCOUNT |
Account |
| HEADER |
Header |
| FOOTER |
Footer |
| Name |
Description |
| queued |
Email is being procesed |
| processing |
Email is being procesed |
| retrying |
Email is delayed |
| delivered |
Email was delivered successfully |
| failed |
Email delivery failed |
| disabled |
Outbound emails disabled |
| Name |
Description |
| JOB |
Written by a background job |
| REQUEST |
Written outside any job (a web request, console or script) |
| Name |
Description |
| BOOLEAN |
True or false |
| VALUE |
Takes a value when used on a plan |
| QUANTITY |
Quantity |
| GROUP |
Feature group |
| Name |
Description |
| CURRENCY |
Currency |
| INT |
Integer |
| DECIMAL |
Decimal |
| STRING |
String |
| DATE |
Date |
| TIMESTAMP |
Timestamp |
| BOOL |
Boolean |
| RELATION |
Relation |
| MANY_RELATION |
Many Relation |
| ENUM |
Enumerable |
| Name |
Description |
| earned_revenue |
Earned revenue |
| deferred_revenue |
Deferred revenue |
| accounts_receivable |
Accounts receivable |
| cpca |
CPCA |
| tax_payable |
Tax payable |
| conversion_gain |
Conversion gain |
| conversion_loss |
Conversion loss |
| banking_fees |
Banking fees |
| payments |
Payments |
| bad_debt |
Bad debt |
| customer_advances |
Customer advances |
| accounts_payable |
Accounts payable |
| Name |
Description |
| DAILY |
Monthly interval |
| MONTHLY |
Monthly interval |
| QUARTERLY |
Quarterly interval |
| SEMIANNUALLY |
Semiannually interval |
| YEARLY |
Yearly interval |
| Name |
Description |
| NOT_DUE |
Not_due invoice |
| DUE |
Due invoice |
| UNPAID |
Unpaid invoice |
| PAID |
Paid invoice |
| VOIDED |
Voided invoice |
| READY |
Ready invoice |
| FAILED |
Failed invoice |
| PREPARING |
Preparing invoice |
| PROCESSING_PAYMENT |
Processing_payment invoice |
| DRAFT |
Draft invoice |
| MERGED |
Merged invoice |
| QUEUED |
Queued invoice |
| CONSOLIDATED |
Consolidated invoice |
| Name |
Description |
| running |
Job is running |
| completed |
Job completed successfully |
| failed |
Job failed |
Account paying status
| Name |
Description |
| FREE |
Free |
| TRIAL |
Trial |
| NOT_PAYING |
Free |
| PAYING |
Free |
| CHURNED_FROM_FREE |
Free |
| CHURNED_FROM_PAYING |
Free |
| Name |
Description |
| SUCCEEDED |
Payment hold is successful |
| CANCELLED |
Payment hold is cancelled |
| Name |
Description |
| UNKNOWN |
Payment method has not ben used or unknown state |
| SUCCESS |
Payment method has been succesfully used |
| FAILED |
Payment method has failed during use |
| Name |
Description |
| SUCCEEDED |
Payment is successful |
| FAILED |
Payment is failed |
| PENDING |
Payment is pending |
| PROCESSING |
Payment is processing |
| DISPUTED |
Payment is disputed |
| Name |
Description |
| UNAPPLIED |
Payment is not yet applied |
| PARTIALLY_APPLIED |
Payment is partially applied |
| APPLIED |
Payment is applied |
| Name |
Description |
| card |
Credit or Debit Card payment |
| wire |
Wire transfer payment |
| ach |
ACH payment |
| other |
Uncategorized payment |
Pricing styles options for creating plans
| Name |
Description |
| PRICED |
Priced |
| FREE |
Free |
| CONTACT_US |
Contact us |
| Name |
Description |
| SECRET |
Secret parameter type |
| STRING |
String parameter type |
| NUMBER |
Number parameter type |
| BOOLEAN |
Boolean parameter type |
| COPY |
Copy parameter type |
| HIDDEN |
Hidden parameter type |
| DATE |
Date parameter type |
| Name |
Description |
| VALID |
Plugin is valid |
| INVALID |
Plugin is invalid |
Controls how the price adjustment is applied
| Name |
Description |
| NO_CHANGE |
No price adjustment will be applied |
| PERCENTAGE |
Price will be adjusted by a percentage |
| CATALOG |
Price will be adjusted based on catalog prices |
Controls when the price adjustment takes effect
| Name |
Description |
| AT_RENEWAL |
Price adjustment will be applied at the renewal date |
| JANUARY |
Price adjustment will be applied on January |
| FEBRUARY |
Price adjustment will be applied on February |
| MARCH |
Price adjustment will be applied on March |
| APRIL |
Price adjustment will be applied on April |
| MAY |
Price adjustment will be applied on May |
| JUNE |
Price adjustment will be applied on June |
| JULY |
Price adjustment will be applied on July |
| AUGUST |
Price adjustment will be applied on August |
| SEPTEMBER |
Price adjustment will be applied on September |
| OCTOBER |
Price adjustment will be applied on October |
| NOVEMBER |
Price adjustment will be applied on November |
| DECEMBER |
Price adjustment will be applied on December |
| Name |
Description |
| FLAT |
Flat pricing |
| TIERED |
Tiered pricing |
| VOLUME |
Volume pricing |
| BANDS |
Bands pricing |
How a product is sold
| Name |
Description |
| SUBSCRIPTION |
Sold through plans, with recurring or usage-based charges |
| ONE_TIME |
Sold as one-time charges, outside any plan |
| Name |
Description |
| SUBSCRIBE |
Subscribe quote |
| UPDATE |
Update quote |
| RENEW |
Renew quote |
| REINSTATE |
Reinstate quote |
| UNSUBSCRIBE |
Unsubscribe quote |
| ADJUSTMENT |
Adjustment quote |
| COUPON |
Coupon quote |
| DISCOUNT |
Discount quote |
| PERCENTAGE_DISCOUNT |
Percentage_discount quote |
| CREDIT |
Credit quote |
| PRICE_UPDATE |
Price_update quote |
| QUANTITY_UPDATE |
Quantity_update quote |
| FREE_PERIOD_DISCOUNT |
Free_period_discount quote |
| ACTIVATE |
Activate quote |
| ONE_TIME |
One_time quote |
| USAGE_CREDIT |
Usage paid from a usage credit grant (invoice lines only) |
| Name |
Description |
| DRAFT |
Draft quote |
| SHARED |
Shared quote |
| VIEWED |
Viewed quote |
| ACCEPTED |
Accepted quote |
| IN_APPROVAL |
In_approval quote |
| APPROVED |
Approved quote |
| REJECTED |
Rejected quote |
| APPLIED |
Applied quote |
| UNDONE |
Undone quote |
| Name |
Description |
| prompt |
prompt |
| auto |
auto |
| Name |
Description |
| ACTIVE |
Active subscription |
| TRIAL |
Trial subscription |
| CANCELED |
Cancelled subscription |
| EXPIRED |
Expired subscription |
| TRIAL_EXPIRED |
Expired trial subscription |
| PENDING |
Pending subscription |
| Name |
Description |
| GENERIC |
General tax number |
| EIN |
EIN number |
| GST |
GST number |
| VAT |
VAT number |
| Name |
Description |
| INVOICE |
Invoice transaction |
| PAYMENT |
Payment transaction |
| CREDIT_NOTE |
Credit_note transaction |
| Name |
Description |
| CANCEL |
Cancel subscription after trial expires |
| ACTIVATE |
Activate subscription after trial expires |
How a product charge is priced on a line, read from whether it has a unit label
| Name |
Description |
| FLAT |
Billed once per line |
| PER_UNIT |
Priced per unit, e.g. per day, with an editable quantity |
| Name |
Description |
| SUM |
The billing process will take the sum of quantity across all records in the billing period. |
| MAX |
The billing process will take the maximum quantity across all records in the billing period. |
| LAST |
The billing process will take the quantity of the last usage entry for the billing period. |
| AVERAGE |
The billing process will take the average quantity across all records in the billing period. |
How a usage charge bills its usage
| Name |
Description |
| POSTPAID |
Usage is aggregated and billed in arrears; credits are never touched |
| CREDITS |
Each usage record draws unit credits, then the dollar balance, as it arrives; the rest bills as overage |
A record belonging to the warren
| Name |
Description |
| APPROVER |
|
| API_CLIENT |
|
| APPROVAL_RULE |
|
| COUPON |
|
| COMPANY |
|
| ENTITY |
|
| PLAN |
|
| PLUGIN |
|
| PRICE_LIST |
|
| PRICE_LIST_CHARGE |
|
| PRODUCT |
|
| USER |
|
| WORKFLOW |
|
| Name |
Description |
| SKIPPED |
Skipped |
| INITIALIZING |
Initializing |
| RUNNING |
Running |
| COMPLETED |
Completed |