> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Billing allocation overrides

> Override specific fee allocations within a billing profile to customize pricing for individual acceptor applications.

For more advanced billing configurations, you can override specific allocations within a billing profile. This allows you to customize fees for specific transaction types while maintaining the overall structure of your chosen billing profile.<br /><br />

However, say we wanted to override the above allocation to charge a flat fee for associated allocation. Our example input would look like the following:

<Callout icon="clapperboard-play" color="#6938EF" type="scenario">
  **Scenario**

  Clearpath Payments has negotiated a flat fee of \$8.00 for Monthly Maintenance for Maple Street Coffee instead of the \$10.00 fee in the standard billing profile. They use allocation overrides to implement this custom pricing while keeping the rest of the billing profile unchanged.
</Callout>

<Info>
  Allocation overrides allow you to customize specific fees within a billing profile. Use the
  allocation ID from your billing profile query to override the feeAmount, rate, or other parameters
  for that specific allocation.
</Info>

<RequestExample>
  ```graphql Operation lines theme={null}
  mutation AcceptorApplicationCreate($input: AcceptorApplicationCreateInput!) {
    createAcceptorApplication(input: $input) {
      acceptorApplication {
        id
        applicationStatus
        billingProfile {
          billingProfileId
          name
        }
      }
    }
  }
  ```

  ```json Variables lines expandable theme={null}
  {
    "input": {
      "applicationIdentity": {
        "businessName": "Maple Street Coffee"
      },
      "billingAndFunding": {
        "billingProfileId": "bda72262-0efd-4a24-91de-26e2dcd0c576",
        "acceptorCutoffTime": "08:30",
        "timezone": "AMERICA_DENVER",
        "allocationOverrides": [
          {
            "allocationId": "e3f4b5c6-d7e8-f9a0-b1c2-d3e4f5a6b7c8",
            "feeAmount": "8.00"
          }
        ]
      }
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines theme={null}
  {
    "data": {
      "createAcceptorApplication": {
        "acceptorApplication": {
          "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
          "applicationStatus": "CREATED",
          "billingProfile": {
            "billingProfileId": "bda72262-0efd-4a24-91de-26e2dcd0c576",
            "name": "Standard Interchange Plus"
          }
        }
      }
    }
  }
  ```
</ResponseExample>

<Info>
  Billing profiles are a critical component of your acceptor application. Make
  sure to review the fee structures and terms carefully before making your
  selection. If you have questions about which billing profile is most
  appropriate for your business, contact your Tesouro representative.
</Info>
