Skip to content

Invoicing module#

Index > Invoicing

Auto-generated documentation for Invoicing type annotations stubs module mypy-boto3-invoicing.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and Invoicing.

From PyPI with pip#

Install boto3-stubs for Invoicing service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[invoicing]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[invoicing]'


# standalone installation
python -m pip install mypy-boto3-invoicing

How to uninstall#

python -m pip uninstall -y mypy-boto3-invoicing

Usage#

Code samples can be found in Examples.

InvoicingClient#

Type annotations and code completion for boto3.client("invoicing") as InvoicingClient boto3 documentation

# InvoicingClient usage example

from boto3.session import Session

from mypy_boto3_invoicing.client import InvoicingClient

def get_client() -> InvoicingClient:
    return Session().client("invoicing")

Paginators#

Type annotations and code completion for paginators from boto3.client("invoicing").get_paginator("...").

# ListInvoiceUnitsPaginator usage example

from boto3.session import Session

from mypy_boto3_invoicing.paginator import ListInvoiceUnitsPaginator

def get_list_invoice_units_paginator() -> ListInvoiceUnitsPaginator:
    return Session().client("invoicing").get_paginator("list_invoice_units"))

Literals#

Type annotations for literals used in methods and schema.

# ListInvoiceUnitsPaginatorName usage example

from mypy_boto3_invoicing.literals import ListInvoiceUnitsPaginatorName

def get_value() -> ListInvoiceUnitsPaginatorName:
    return "list_invoice_units"

Type definitions#

Type annotations for type definitions used in methods and schema.