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

# List Google Ads invoices

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns the billing invoices for the app's Google Ads account, newest first.

Each invoice covers a period and carries the ad spend, the service fee, the tax and the total, all in micros of the invoice currency. `billing_type` says why it was raised: on the weekly cycle, because spend crossed the account's threshold, or as a reconciliation of an earlier period.

<Warning>A refund appears here as a row with `is_refund: true`, and its `total_micros` is a positive magnitude like any other row. Use `signed_total_micros`, which is negative on a refund, whenever you total an account's billing. Summing `total_micros` counts a refund as a charge.</Warning>

An invoice Base44 is still reconciling locally is left out until it settles, so a period can be missing for a short while after it ends.

<Note>This endpoint accepts a personal API key or a workspace API key. A workspace API key acts as the workspace owner.</Note>

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/billing/invoices
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/apps/{app_id}/google-ads/billing/invoices:
    get:
      summary: List Google Ads invoices
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Returns the billing invoices for the app's Google Ads account, newest
        first.


        Each invoice covers a period and carries the ad spend, the service fee,
        the tax and the total, all in micros of the invoice currency.
        `billing_type` says why it was raised: on the weekly cycle, because
        spend crossed the account's threshold, or as a reconciliation of an
        earlier period.


        <Warning>A refund appears here as a row with `is_refund: true`, and its
        `total_micros` is a positive magnitude like any other row. Use
        `signed_total_micros`, which is negative on a refund, whenever you total
        an account's billing. Summing `total_micros` counts a refund as a
        charge.</Warning>


        An invoice Base44 is still reconciling locally is left out until it
        settles, so a period can be missing for a short while after it ends.


        <Note>This endpoint accepts a personal API key or a workspace API key. A
        workspace API key acts as the workspace owner.</Note>


        <Warning>The response includes fields beyond the ones documented here.
        Don't rely on undocumented response fields, as they can change at any
        time.</Warning>
      operationId: list_invoices_api_apps__app_id__google_ads_billing_invoices_get
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app whose Google Ads campaigns to manage.
            title: App Id
          description: ID of the app whose Google Ads campaigns to manage.
          example: 6820f3a4e7b91d003c45a1f2
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GoogleAdsInvoiceSummary'
                title: >-
                  Response 200 List Invoices Api Apps  App Id  Google Ads
                  Billing Invoices Get
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            You don't have access to this app or the app does not exist. A
            missing app and an app you cannot reach are deliberately the same
            answer. Marketing setup, campaign edits, generation and resuming
            also return `app_marketing_not_allowed` when the app's owning
            workspace has the FERPA designation. Historical reads, pausing,
            deletion and financial settlement remain available.
        '404':
          description: The app has no connected Google Ads account.
        '429':
          description: >-
            `rate_limited`: The base limit is 1,200 requests in a minute from
            your account, shared across every Google Ads read that doesn't name
            its own limit. Some workspaces have a higher limit.
            `X-RateLimit-Limit` reports the enforced limit. Retry after
            `Retry-After` seconds. The `X-RateLimit-*` headers report the budget
            left.
          content:
            application/json:
              examples:
                rate_limited:
                  summary: rate_limited
                  value:
                    error:
                      code: rate_limited
                      message: Rate limit exceeded.
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - read_only
        - WorkspaceApiKeyAuth:
            - read_only
        - WorkspaceApiKeyBearerAuth:
            - read_only
components:
  schemas:
    GoogleAdsInvoiceSummary:
      properties:
        id:
          type: string
          title: Id
          description: ID of the invoice.
          example: 68b1c0d4e7b91d003c45a1f6
        invoice_date:
          type: string
          title: Invoice Date
          description: Date the invoice was issued, as `YYYY-MM-DD`.
          example: '2026-08-25'
        period_start:
          type: string
          title: Period Start
          description: First day the invoice covers, as `YYYY-MM-DD`.
          example: '2026-08-18'
        period_end:
          type: string
          title: Period End
          description: Last day the invoice covers, as `YYYY-MM-DD`.
          example: '2026-08-24'
        status:
          type: string
          title: Status
          description: State of the invoice. Either `PENDING`, `PAID`, `FAILED`, or `VOID`.
          example: PAID
        currency_code:
          type: string
          title: Currency Code
          description: Currency of every amount on the invoice, as an ISO 4217 code.
          example: EUR
        ad_spend_micros:
          type: integer
          title: Ad Spend Micros
          description: Ad spend for the period in micros, so `248000000` is 248.00.
          example: 248000000
        service_fee_micros:
          type: integer
          title: Service Fee Micros
          description: Base44's service fee for the period, in micros.
          example: 24800000
        tax_micros:
          type: integer
          title: Tax Micros
          description: Tax charged on the invoice, in micros.
          example: 51870000
        total_micros:
          type: integer
          title: Total Micros
          description: >-
            Size of the invoice in micros, always positive. On a refund this is
            the magnitude refunded rather than an amount charged, so read
            `signed_total_micros` or `is_refund` before treating it as money
            owed.
          example: 324670000
        is_refund:
          type: boolean
          title: Is Refund
          description: Whether the row is a refund rather than a charge.
          example: false
        signed_total_micros:
          type: integer
          title: Signed Total Micros
          description: >-
            The invoice total with its direction applied: positive on a charge,
            negative on a refund. Sum this rather than `total_micros` when you
            total an account's billing.
          example: 324670000
        billing_type:
          type: string
          title: Billing Type
          description: >-
            Why the invoice was raised: `weekly` on the billing cycle,
            `threshold` when spend crossed the cap, `reconciliation` to true up
            an earlier period.
          example: weekly
      type: object
      required:
        - id
        - invoice_date
        - period_start
        - period_end
        - status
        - currency_code
        - ad_spend_micros
        - service_fee_micros
        - tax_micros
        - total_micros
        - is_refund
        - signed_total_micros
        - billing_type
      title: GoogleAdsInvoiceSummary
      description: One billing invoice for the app's Google Ads account.
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.
    WorkspaceApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >-
        Workspace API key, sent as `api_key: <key>`. Each operation that accepts
        one lists what the key needs: a permission, `read_only` or
        `full_access`, like a personal access token, or a scope. A key without
        the scope gets 403 `workspace_api_key_scope_required`.
    WorkspaceApiKeyBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Workspace API key, sent as `Authorization: Bearer <key>`. Accepted
        wherever `api_key` is, with the same permission.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.