{
"billableMetric": {
"aggregationType": "AGGREGATION_TYPE_UNSPECIFIED",
"code": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"deletedAt": "2019-08-24T14:15:22.123Z",
"description": "string",
"expression": "string",
"fieldName": "string",
"filters": [
{
"id": "string",
"key": "string",
"values": [
"string"
]
}
],
"hasActiveSubscriptions": true,
"hasDraftInvoices": true,
"hasPlans": true,
"hasSubscriptions": true,
"id": "string",
"integrationMappings": [
{
"billingEntityId": "string",
"externalAccountCode": "string",
"externalId": "string",
"externalName": "string",
"id": "string",
"integrationId": "string",
"mappableId": "string",
"mappableType": "MAPPABLE_TYPE_ENUM_UNSPECIFIED"
}
],
"name": "string",
"organization": {
"accessibleByCurrentSession": true,
"billingConfiguration": {
"documentLocale": "string",
"id": "string",
"invoiceFooter": "string",
"invoiceGracePeriod": 0
},
"canCreateBillingEntity": true,
"defaultCurrency": "CURRENCY_ENUM_UNSPECIFIED",
"id": "string",
"logoUrl": "string",
"name": "string",
"timezone": "TIMEZONE_UNSPECIFIED"
},
"recurring": true,
"roundingFunction": "ROUNDING_FUNCTION_UNSPECIFIED",
"roundingPrecision": 0,
"updatedAt": "2019-08-24T14:15:22.123Z",
"weightedInterval": "WEIGHTED_INTERVAL_UNSPECIFIED"
},
"billableMetricId": "string",
"code": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"deletedAt": "2019-08-24T14:15:22.123Z",
"id": "string",
"name": "string",
"subscriptionExternalId": "string",
"updatedAt": "2019-08-24T14:15:22.123Z",
"walletId": "string"
}