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

# Retrieve an invoice item

> Retrieve a single invoice item by id.

The item may be **invoiced** (`invoice_id` set, `tax` and `tax_rate` populated) or **pending** (`invoice_id`, `tax`, and `tax_rate` are `null`).

<Warning>
  Pending invoice items (where `invoice_id` is `null`) are **not final**. Amounts and types can still change, and Sendcloud may remove items, up until they are consolidated onto an invoice. Treat pending items as a preview, not a guarantee.
</Warning>

> [!NOTE]
>
> OAuth2 scopes required: `read:invoice`. See [Scopes for OAuth apps](https://sendcloud.dev/api/v3/scopes.md).


## OpenAPI

````yaml /.openapi/v3/invoice-items/openapi.yaml get /invoice-items/{invoice_item_id}
openapi: 3.1.0
info:
  title: Invoice Items API
  version: 3.0.0
  contact:
    name: Sendcloud API Support
    url: https://www.sendcloud.dev
    email: contact@sendcloud.com
  description: >-
    The Invoice Items API lets you retrieve the billable line items charged to
    your Sendcloud account, including pending items that have not yet been
    consolidated onto an invoice.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://panel.sendcloud.sc/api/v3
    description: Sendcloud Production
security: []
tags:
  - name: Invoice Items
    description: >-
      A single billable line — for example a parcel fee, a pickup fee, or a
      subscription charge.
paths:
  /invoice-items/{invoice_item_id}:
    parameters:
      - schema:
          type: integer
        in: path
        name: invoice_item_id
        description: The id of the invoice item.
        required: true
    get:
      tags:
        - Invoice Items
      summary: Retrieve an invoice item
      description: >-
        Retrieve a single invoice item by id.


        The item may be **invoiced** (`invoice_id` set, `tax` and `tax_rate`
        populated) or **pending** (`invoice_id`, `tax`, and `tax_rate` are
        `null`).


        <Warning>
          Pending invoice items (where `invoice_id` is `null`) are **not final**. Amounts and types can still change, and Sendcloud may remove items, up until they are consolidated onto an invoice. Treat pending items as a preview, not a guarantee.
        </Warning>
      operationId: sc-public-v3-scp-get-invoice_item
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Retrieve invoice item
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/invoice-item'
                required:
                  - data
              examples:
                RetrieveInvoiceItem:
                  summary: Retrieve an invoice item
                  value:
                    data:
                      id: 1042
                      type: shipment
                      subtype: null
                      description: Parcel 99887766 — NL → DE
                      created_at: '2026-05-14T08:21:00Z'
                      updated_at: '2026-05-14T08:21:00Z'
                      price:
                        value: '5.4209'
                        currency: EUR
                      conversion:
                        original_price:
                          value: '4.7000'
                          currency: GBP
                        exchange_rate: '1.15339153'
                        date: '2026-05-14'
                        reference_rate: '1.13077601'
                        currency_conversion_fee:
                          value: '0.1063'
                          currency: EUR
                          rate: '0.0200'
                      tax:
                        value: '1.1384'
                        currency: EUR
                      tax_rate: '0.21'
                      vat_code: NL_STANDARD
                      reference: '99887766'
                      parcel_id: 99887766
                      brand:
                        id: 3021
                        name: Acme
                      integration:
                        id: 48210
                        name: Acme Webshop
                      pickup_id: null
                      carrier_id: 17
                      from_country: NL
                      invoice_id: 5501
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
              examples:
                Unauthorized:
                  summary: Missing or invalid credentials
                  value:
                    errors:
                      - detail: Authentication credentials were not provided.
                        status: '401'
                        code: not_authenticated
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
              examples:
                NotFound:
                  summary: Invoice item not found
                  value:
                    errors:
                      - detail: Not found.
                        status: '404'
                        code: not_found
        '429':
          description: Throttled
      security:
        - HTTPBasicAuth: []
        - OAuth2ClientCreds:
            - read:invoice
components:
  schemas:
    invoice-item:
      title: InvoiceItem
      description: >-
        A single billable line on an invoice (or a pending, not-yet-invoiced
        item).
      type: object
      properties:
        id:
          type: integer
          format: int64
          minimum: 1
          description: Unique identifier of the invoice item.
        type:
          type: string
          description: The type of the invoice item.
          enum:
            - addon
            - addon_refund
            - carrier_impl_fee
            - carrier_parcel_fee
            - claim
            - coulance
            - customer_impl_fee
            - earned_credit
            - fuel_refund
            - fuel_surcharge
            - import_adm_fee
            - import_duties
            - import_vat
            - insurance
            - insurance_refund
            - invoice_check_fee
            - invoice_check_fee_refund
            - notification
            - overcharge_fee
            - parcel_cancelled
            - parcel_fee
            - parcel_fee_refund
            - pickup
            - pickup_cancelled
            - pickup_subscription
            - refund
            - shipment
            - subscription
            - subscription_refund
            - surcharge
            - surcharge_refund
            - unblock
            - validation
          example: shipment
        subtype:
          type:
            - string
            - 'null'
          description: >-
            Subtype of the invoice item, when the type is further specified. For

            `surcharge` and `surcharge_refund` items this identifies which
            surcharge was

            applied (for example `dimensional` or `drop_off_surcharge`). Null
            when the

            item has no subtype. The set of values is managed by Sendcloud and
            may

            grow over time, so treat it as an open string rather than a fixed
            list. See

            the [Invoice Items API overview](/api/v3/invoice-items) for the
            current

            list of subtypes and their meaning.
          example: dimensional
        description:
          type: string
          description: Human-readable description of the invoice item.
        created_at:
          type: string
          format: date-time
          description: Date the invoice item was created (the billing date of the item).
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Date the invoice item was last updated. Null if it has never been
            updated.
        price:
          $ref: '#/components/schemas/price'
        conversion:
          oneOf:
            - type: object
              properties:
                original_price:
                  $ref: '#/components/schemas/price'
                exchange_rate:
                  type: string
                  description: >-
                    The rate `price` was converted at: units of the billed
                    currency per 1 unit of the original currency, as a decimal
                    string with 8 decimal places. The currency conversion fee is
                    included.
                  example: '1.15339153'
                date:
                  type: string
                  format: date
                  description: >-
                    The day the conversion is dated. The [Exchange Rates
                    API](/api/v3/exchange-rates) returns the rate of this day.
                  example: '2026-05-14'
                reference_rate:
                  type:
                    - string
                    - 'null'
                  description: >-
                    The rate before the currency conversion fee, as a decimal
                    string with 8 decimal places. Null when it is not available
                    for this item.
                  example: '1.13077601'
                currency_conversion_fee:
                  oneOf:
                    - type: object
                      properties:
                        value:
                          type: string
                          description: >-
                            The part of `price` the fee adds, as a decimal
                            string with up to 4 decimal places.
                          example: '0.1063'
                        currency:
                          type: string
                          description: >-
                            ISO 4217 currency code, the same as the currency of
                            `price`.
                          example: EUR
                        rate:
                          type: string
                          description: >-
                            The currency conversion fee as a fraction, a decimal
                            string with 4 decimal places: `0.0200` is 2%.
                          example: '0.0200'
                      required:
                        - value
                        - currency
                        - rate
                    - type: 'null'
                  description: >-
                    Null when it is not available for this item. The `rate` and
                    `value` are `0.0000` when no fee applies.
              required:
                - original_price
                - exchange_rate
                - date
                - reference_rate
                - currency_conversion_fee
            - type: 'null'
          description: >-
            How `price` was converted, when the item was charged in another
            currency

            than the one you are billed in. Null when the item was charged in
            your

            billed currency.
        tax:
          oneOf:
            - $ref: '#/components/schemas/price'
            - type: 'null'
          description: >-
            Tax amount for this item. Null for pending items: the tax rate is
            only

            populated when the item is invoiced.
        tax_rate:
          type:
            - string
            - 'null'
          description: >-
            Tax rate applied to the price (e.g. '0.21' for 21%). Null until the
            item is invoiced.
          example: '0.21'
        vat_code:
          type:
            - string
            - 'null'
          description: VAT code applied to this item. Null if no VAT code applies.
        reference:
          type: string
          description: External reference for this invoice item.
        parcel_id:
          type:
            - integer
            - 'null'
          description: Identifier of the parcel this item relates to, when applicable.
        brand:
          oneOf:
            - type: object
              properties:
                id:
                  type: integer
                  description: Identifier of the brand.
                  example: 3021
                name:
                  type: string
                  description: Name of the brand at the time the parcel was announced.
                  example: Acme
              required:
                - id
                - name
            - type: 'null'
          description: >-
            The brand the parcel was announced with. All items of the parcel
            carry

            it, so you can split costs per brand. Null when the item has no
            parcel or

            no brand was recorded for the parcel.
        integration:
          oneOf:
            - type: object
              properties:
                id:
                  type: integer
                  description: Identifier of the integration (shop).
                  example: 48210
                name:
                  type: string
                  description: >-
                    Name of the integration at the time the parcel was
                    announced.
                  example: Acme Webshop
              required:
                - id
                - name
            - type: 'null'
          description: >-
            The integration (shop) the parcel was announced with. All items of
            the

            parcel carry it, so you can split costs per integration. Null when
            the

            item has no parcel or no integration was recorded for the parcel.
        pickup_id:
          type:
            - integer
            - 'null'
          description: Identifier of the pickup this item relates to, when applicable.
        carrier_id:
          type:
            - integer
            - 'null'
          description: Identifier of the carrier this item relates to, when applicable.
        from_country:
          type: string
          description: Origin country of the item, as an ISO 3166-1 alpha-2 code.
          example: NL
        invoice_id:
          type:
            - integer
            - 'null'
          description: >-
            Identifier of the invoice this item belongs to. Null for pending
            items that have not yet been invoiced.
      required:
        - id
        - type
        - subtype
        - description
        - created_at
        - updated_at
        - price
        - conversion
        - tax
        - tax_rate
        - vat_code
        - reference
        - parcel_id
        - brand
        - integration
        - pickup_id
        - carrier_id
        - from_country
        - invoice_id
    errors:
      title: Errors
      type: object
      description: A standardized format for errors in JSON:API responses.
      properties:
        errors:
          type:
            - array
            - object
          items:
            type: object
            allOf:
              - $ref: '#/components/schemas/ErrorObject'
            required:
              - status
              - code
              - detail
    price:
      title: Price
      description: >-
        A money amount exposed at full database precision (up to 4 decimal
        places).


        Note: this representation uses 4-decimal precision (unlike the canonical

        2-decimal Price model used elsewhere in the v3 API) because invoice
        items

        store amounts at the precision used by Sendcloud's billing engine.
      type: object
      properties:
        value:
          type: string
          description: Monetary amount as a decimal string, with up to 4 decimal places.
          example: '12.3456'
        currency:
          type: string
          description: ISO 4217 currency code.
          example: EUR
      required:
        - value
        - currency
    ErrorObject:
      title: Error
      type: object
      description: Error in a JSON:API error format
      properties:
        id:
          type: string
          description: A unique identifier for the error.
        links:
          type: object
          description: >-
            A set of hyperlinks that provide additional information about the
            error.
          properties:
            about:
              type: string
              description: A URL that provides additional information about the error.
        status:
          type: string
          format: int32
          description: The HTTP status code of the error.
          minLength: 1
        code:
          type: string
          description: A unique error code for the error, in snake case format.
          minLength: 1
          enum:
            - unknown_field
            - invalid
            - forbidden
            - invalid_choice
            - min_value
            - 'null'
            - not_found
            - required
            - not_a_list
            - non_field_errors
            - authentication_failed
            - validation_error
            - parcel_announcement_error
        title:
          type: string
          description: A short, human-readable summary of the error.
          minLength: 1
        detail:
          type: string
          description: A human-readable explanation of the error.
          minLength: 1
        source:
          type: object
          description: >-
            An object that identifies the source of the error within the request
            payload.
          properties:
            pointer:
              type: string
              description: >-
                A `JSON` pointer to the location of the error within the request
                payload.
            parameter:
              type: string
              description: The name of the `query` parameter that caused the error.
            header:
              type: string
              description: The name of the `header` parameter that caused the error.
        meta:
          type: object
          description: Additional metadata about the error.
  securitySchemes:
    HTTPBasicAuth:
      type: http
      description: >-
        Basic Authentication using API key and secrets is currently the main
        authentication mechanism.
      scheme: basic
    OAuth2ClientCreds:
      type: oauth2
      description: >-
        OAuth2 is a standardized protocol for authorization that allows users to
        share their private resources stored on one site with another site
        without having to provide their credentials. OAuth2 Client Credentials
        Grant workflow. This workflow is typically used for server-to-server
        interactions that require authorization to access specific resources.
      flows:
        clientCredentials:
          tokenUrl: https://account.sendcloud.com/oauth2/token/
          scopes:
            read:analytics: View your shipping analytics
            read:audit-log: View your account's audit log
            read:brand: View your brands
            write:brand: Manage your brands
            write:carrier: Configure carriers and contracts
            read:checkout: View your dynamic checkout configurations and templates
            read:event-subscription: View your event subscriptions
            write:event-subscription: Create and manage your event subscriptions
            read:integration: View your integrations
            write:integration: Connect and manage integrations
            read:invoice: View your invoices
            read:notification: View your notifications
            write:notification: Manage your notifications
            read:operational-settings: >-
              View your warehouses, shipping lanes, and other operational
              settings
            write:operational-settings: >-
              Manage your warehouses, shipping lanes, and other operational
              settings
            read:order: View your orders
            write:order: Import and process your orders
            read:organization: View organization settings
            write:organization: Change organization settings
            read:parcel: View your shipments and their tracking status
            write:parcel: Create, announce, and cancel shipments
            read:pickup: View carrier pickups and the options available for scheduling them
            write:pickup: Schedule and manage carrier pickups
            read:price: View shipping prices
            write:product: Manage your product catalog
            read:return: View your returns
            write:return: Create and manage returns
            read:return-settings: View your return settings
            write:return-settings: Configure your return settings
            read:service-point: View carrier service points
            read:shipping-method: View shipping methods, products and prices
            read:shipping-rule: View your shipping rules
            write:shipping-rule: Create and manage shipping rules
            read:support-ticket: View your support tickets
            write:support-ticket: Manage your support tickets
            read:tracking-message: View your tracking notifications
            write:tracking-message: Manage your tracking notifications
            read:tracking-page: View your tracking page
            write:tracking-page: Customize your tracking page
            read:user: Read your basic account information

````

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