v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-033223581.2 MB
OrganizationConfig

Retrieve OrganizationConfig

Retrieve the Organization-wide configuration details.

get/organizations/{orgId}/organizationconfig

Path parameters

orgIdstring required

UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.

Response

Return the Organization configuration

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
timezonestring

The timezone for the Organization.

yearEpochstring

The first bill date (in ISO-8601 format) for yearly billing periods.

monthEpochstring

The first bill date (in ISO-8601 format) for monthly billing periods.

weekEpochstring

The first bill date (in ISO-8601 format) for weekly billing periods.

dayEpochstring

The first bill date (in ISO-8601 format) for daily billing periods.

currencystring

The currency code for the currency used in this Organization. For example: USD, GBP, or EUR.

daysBeforeBillDueinteger

The number of days after the Bill generation date shown on Bills as the due date.

scheduledBillIntervalnumber double

Specifies the required interval for updating bills.

  • For portions of an hour (minutes). Two options: 0.25 (15 minutes) and 0.5 (30 minutes).
  • For full hours. Eight possible values: 1, 2, 3, 4, 6, 8, 12, or 24.
  • Default. The default is 0, which disables scheduling.
standingChargeBillInAdvanceboolean

Specifies whether the standing charge is billed in advance at the start of each billing period, or billed in arrears at the end of each billing period.

  • TRUE - bill in advance (start of each billing period).
  • FALSE - bill in arrears (end of each billing period).
commitmentFeeBillInAdvanceboolean

Specifies whether commitments (prepayments) are billed in advance at the start of each billing period, or billed in arrears at the end of each billing period.

  • TRUE - bill in advance (start of each billing period).
  • FALSE - bill in arrears (end of each billing period).
minimumSpendBillInAdvanceboolean

Specifies whether minimum spend amounts are billed in advance at the start of each billing period, or billed in arrears at the end of each billing period.

  • TRUE - bill in advance (start of each billing period).
  • FALSE - bill in arrears (end of each billing period).
autoApproveBillsGracePeriodinteger

Grace period before bills are auto-approved. Used in combination with the field autoApproveBillsGracePeriodUnit.

autoApproveBillsGracePeriodUnit'MINUTES' | 'HOURS' | 'DAYS'

Time unit of grace period before bills are auto-approved. Used in combination with the field autoApproveBillsGracePeriod.

externalInvoiceDate'LAST_DAY_OF_ARREARS' | 'FIRST_DAY_OF_NEXT_PERIOD'

The date to use for the invoice date.

suppressedEmptyBillsboolean

Specifies whether to supress generating bills that have no line items.

  • TRUE - prevents generating bills with no line items.
  • FALSE - bills are still generated even when they have no line items.
consolidateBillsboolean

Specifies whether to consolidate different billing frequencies onto the same bill.

  • TRUE - consolidate different billing frequencies onto the same bill.
  • FALSE - bills are not consolidated.
defaultStatementDefinitionIdstring

Organization level default statementDefinitionId to be used when there is no statement definition linked to the account.

Statement definitions are used to generate bill statements, which are informative backing sheets to invoices.

billPrefixstring

Prefix to be used for sequential invoice numbers. This will be combined with the sequenceStartNumber.

sequenceStartNumberinteger

The starting number to be used for sequential invoice numbers. This will be combined with the billPrefix.

autoGenerateStatementMode'NONE' | 'JSON' | 'JSON_AND_CSV'

Specify whether to auto-generate statements once Bills are approved or locked. It will not auto-generate if a bill is in pending state.

The default value is None.

  • None. Statements will not be auto-generated.
  • JSON. Statements are auto-generated in JSON format.
  • JSON and CSV. Statements are auto-generated in both JSON and CSV formats.
creditApplicationOrderBillCreditType[]

The order in which any Prepayment or Balance credit amounts on Accounts are to be drawn-down against for billing. Four options:

  • "PREPAYMENT","BALANCE". Draw-down against Prepayment credit before Balance credit.
  • "BALANCE","PREPAYMENT". Draw-down against Balance credit before Prepayment credit.
  • "PREPAYMENT". Only draw-down against Prepayment credit.
  • "BALANCE". Only draw-down against Balance credit.
allowNegativeBalancesboolean

Allow balance amounts to fall below zero. This feature is enabled on request. Please get in touch with m3ter Support or your m3ter contact if you would like it enabling for your organization(s).

allowOverlappingPlansboolean

Allows plans to overlap time periods for different contracts.

dtCreatedstring date-time

The DateTime when the organization config was created (in ISO-8601 format).

dtLastModifiedstring date-time

The DateTime when the organization config was last modified (in ISO-8601 format).

createdBystring

The id of the user who created this organization config.

lastModifiedBystring

The id of the user who last modified this organization config.

Example response

{
  "timezone": "UTC",
  "yearEpoch": "2022-01-01",
  "monthEpoch": "2022-01-01",
  "weekEpoch": "2022-01-04",
  "dayEpoch": "2022-01-01",
  "currencyConversions": [
    {
      "from": "EUR",
      "to": "USD",
      "multiplier": 1.12
    }
  ]
}