# Billing

> Advertiser Billing

## Update Billing

`POST https://api.leadspedia.com/core/v2/advertisers/updateBilling.do`

### Parameters

- `advertiserID` (integer, required)

- `billingCycle` (enum, optional)
  Allowed values: `Monthly`, `BiMonthly`, `Weekly`, `Two Months`, `Quarterly`, `Manual`, `Other`.

- `taxID` (string, optional)

- `taxClass` (string, optional)


## Generate Invoices

`POST https://api.leadspedia.com/core/v2/advertisers/generateInvoices.do`

### Parameters

- `advertiserID` (integer, required)

- `startDate` (date, required)
  Format: `YYYY-MM-DD`.

- `endDate` (date, required)
  Format: `YYYY-MM-DD`.

- `autoCalculateItems` (enum, optional)
  Allowed values: `Yes`, `No`.

- `approveInvoice` (enum, optional)
  Allowed values: `Yes`, `No`.

- `forceBilling` (enum, optional)
  Allowed values: `Yes`, `No`.

- `forceGenerate` (enum, optional)
  Allowed values: `Yes`, `No`.

- `internalNote` (string, optional)

- `externalNote` (string, optional)
