# Rates

The '*Rates*' screen allows you to configure manual rates for services that do not have a rate provided with their data source. Services must have at least have a default *Global Rate* and may also have optional customer-specific rates.

Rate types can be configured as either *manual* or *automatic.* In both cases the rate is applied per unit of consumption.&#x20;

*Automatic* services obtain the rate (and/or interval value) from a column you specify, whereas *manual* services allow a rate to be explicitly specified. If proration is enabled, the charge on the cost reports is reduced based on the number of days in the month that the service was used.

By default each service has a *global* rate configured. This will be applicable to all accounts that consume this service unless a customer-specific rate has been configured for that account, in which case it will take precedence over the global rate.

## Edit global rate for a manual service

A ***manual*** service can have up to 3 rate-related values that can be changed: the ***unit*** rate, the charge ***interval*** value and the ***COGS*** rate. To change these values, go to the **Services** > **Rates** screen and click on the **service** name for which you want to change the global rate value:

![](https://1141395848-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHEKskLK6aXinV75Knl%2F-MeUdwEfhB4XSoeg4BOD%2F-MeUgF5s92g_Np35RDcP%2Fimage.png?alt=media\&token=4843b2ef-5ac7-48e6-a140-64bb41237b10)

To change the rate values of this service, consider the following:

1. *Effective date* is the date from when this rate is applied to the service. A service can have one or multiple revisions. You may add new rate revisions by using the ***Add Revision*** button. Existing rate revision dates can be changed using the ***Change Date*** option
2. The ***Per Unit*** rate value is the value that the service charged for, every (portion of) configured interval service. In this example, if this would be a *daily* service that is charged 1 euro per Gigabyte of database usage, and each day a 100 GB database is consumed, a value of € 100 will be charged per day (and € 3100 if used for the entire month of December)
3. It is possible to configure a ***COGS*** rate for this service. This is applied the same way as the ***Per Unit*** rate
4. To delete an invalid or wrong revision, use the ***Remove Revision*** button. Do bear in mind you cannot delete the last rate revision for a service
5. To save your changes, which will also initiate a re-preparation of the data, click the ***Save Revision*** button *(see* [*defining reports* ](https://github.com/exivity/docs/tree/4455d34021b8c3e12ce1b09914544d96f4a3b270/gui/reports/defining_reports/README.md#preparing-a-report-definition) *to learn more about report preparation)*
6. If you are planning to make more changes to other services in the same report definition, use the ***Save Revision*** > ***Without Preparing*** option. This will avoid running the re-preparation several times, and allows you to start the re-preparation only after you've made all of the required rate changes.
