Fees

The fee objects describe one-off charges or groups of one-off charges. They might or might not be connected to a specific plan, but they must have their own name and price.

You can retrieve individual fee as well as query all the fees by location, company or member.

Here is the list of all properties the fee object has:

Fee

PropertyTypeRequiredDescription
namestringtrueThe name of the charge. It will appear in the invoice line item.
pricenumbertrueThe unit price of the item described by the fee.
quantitynumberfalseThe quantity described by the one-off charge. If omitted, 1 is assumed.
invoice.statusstringfalseThe status of the fee in terms of billing.
Possible values: not_paid, paid, waived, invoiced.
invoice._idstringfalseAppears, if a fee has been invoiced. Fees should be invoiced only through the UI.
invoice.creditNotestringfalseAppears, if a fee was credited. Fees should be credited only through the UI.
teamCompanyfalseReference to the company (required if no member).
memberMemberfalseReference to the company (required if no team).
officeLocationtrueA reference to the location the fee is issued for.
planPlanfalseA reference to the price plan assigned to the fee. It is used to determine the sales account when generating an invoice.
refundablebooleanfalseIf true, the one-off charge is counted as deposit and can be refunded later on.
billInAdvancebooleanfalseIf true, the one-off charge is billed in advance (respecting its date). By default one-off charges are billed in arears.
shouldUseValueCreditsbooleanfalseIn order for a fee to use coins you need to set this to true. By default it's set to false.
isPersonalbooleanfalseIf true, the one-off charge is billed to the assigned member and not to the company.
sourcestringfalseThe origin/source of the fee.
createdAtdatereadonlyThe date when the fee has been created.
createdByidreadonlyThe user that created the fee.
modifiedAtdatereadonlyThe user that did the last modification to the fee. If no update is made this field will match the createdBy field.
modifiedByidreadonlyThe user that did the last modification to the fee. Before the first modification, this field equals to the createdBy field.