Type definitions#
Auto-generated documentation for Invoicing type annotations stubs module mypy-boto3-invoicing.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_invoicing.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime.datetime,
str,
]
InvoiceUnitRuleUnionTypeDef#
# InvoiceUnitRuleUnionTypeDef Union usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitRuleUnionTypeDef
def get_value() -> InvoiceUnitRuleUnionTypeDef:
return ...
# InvoiceUnitRuleUnionTypeDef definition
InvoiceUnitRuleUnionTypeDef = Union[
InvoiceUnitRuleTypeDef, # (1)
InvoiceUnitRuleOutputTypeDef, # (2)
]
ProcurementPortalPreferenceSelectorUnionTypeDef#
# ProcurementPortalPreferenceSelectorUnionTypeDef Union usage example
from mypy_boto3_invoicing.type_defs import ProcurementPortalPreferenceSelectorUnionTypeDef
def get_value() -> ProcurementPortalPreferenceSelectorUnionTypeDef:
return ...
# ProcurementPortalPreferenceSelectorUnionTypeDef definition
ProcurementPortalPreferenceSelectorUnionTypeDef = Union[
ProcurementPortalPreferenceSelectorTypeDef, # (1)
ProcurementPortalPreferenceSelectorOutputTypeDef, # (2)
]
EinvoiceDeliveryPreferenceUnionTypeDef#
# EinvoiceDeliveryPreferenceUnionTypeDef Union usage example
from mypy_boto3_invoicing.type_defs import EinvoiceDeliveryPreferenceUnionTypeDef
def get_value() -> EinvoiceDeliveryPreferenceUnionTypeDef:
return ...
# EinvoiceDeliveryPreferenceUnionTypeDef definition
EinvoiceDeliveryPreferenceUnionTypeDef = Union[
EinvoiceDeliveryPreferenceTypeDef, # (1)
EinvoiceDeliveryPreferenceOutputTypeDef, # (2)
]
BatchGetInvoiceProfileRequestTypeDef#
# BatchGetInvoiceProfileRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import BatchGetInvoiceProfileRequestTypeDef
def get_value() -> BatchGetInvoiceProfileRequestTypeDef:
return {
"AccountIds": ...,
}
# BatchGetInvoiceProfileRequestTypeDef definition
class BatchGetInvoiceProfileRequestTypeDef(TypedDict):
AccountIds: Sequence[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
BillingPeriodTypeDef#
# BillingPeriodTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import BillingPeriodTypeDef
def get_value() -> BillingPeriodTypeDef:
return {
"Month": ...,
}
# BillingPeriodTypeDef definition
class BillingPeriodTypeDef(TypedDict):
Month: int,
Year: int,
ContactTypeDef#
# ContactTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ContactTypeDef
def get_value() -> ContactTypeDef:
return {
"Name": ...,
}
# ContactTypeDef definition
class ContactTypeDef(TypedDict):
Name: NotRequired[str],
Email: NotRequired[str],
ResourceTagTypeDef#
# ResourceTagTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ResourceTagTypeDef
def get_value() -> ResourceTagTypeDef:
return {
"Key": ...,
}
# ResourceTagTypeDef definition
class ResourceTagTypeDef(TypedDict):
Key: str,
Value: str,
TestEnvPreferenceInputTypeDef#
# TestEnvPreferenceInputTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import TestEnvPreferenceInputTypeDef
def get_value() -> TestEnvPreferenceInputTypeDef:
return {
"BuyerDomain": ...,
}
# TestEnvPreferenceInputTypeDef definition
class TestEnvPreferenceInputTypeDef(TypedDict):
BuyerDomain: BuyerDomainType, # (1)
BuyerIdentifier: str,
SupplierDomain: SupplierDomainType, # (2)
SupplierIdentifier: str,
ProcurementPortalSharedSecret: NotRequired[str],
ProcurementPortalInstanceEndpoint: NotRequired[str],
- See BuyerDomainType
- See SupplierDomainType
CurrencyExchangeDetailsTypeDef#
# CurrencyExchangeDetailsTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CurrencyExchangeDetailsTypeDef
def get_value() -> CurrencyExchangeDetailsTypeDef:
return {
"SourceCurrencyCode": ...,
}
# CurrencyExchangeDetailsTypeDef definition
class CurrencyExchangeDetailsTypeDef(TypedDict):
SourceCurrencyCode: NotRequired[str],
TargetCurrencyCode: NotRequired[str],
Rate: NotRequired[str],
DeleteInvoiceUnitRequestTypeDef#
# DeleteInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DeleteInvoiceUnitRequestTypeDef
def get_value() -> DeleteInvoiceUnitRequestTypeDef:
return {
"InvoiceUnitArn": ...,
}
# DeleteInvoiceUnitRequestTypeDef definition
class DeleteInvoiceUnitRequestTypeDef(TypedDict):
InvoiceUnitArn: str,
DeleteProcurementPortalPreferenceRequestTypeDef#
# DeleteProcurementPortalPreferenceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DeleteProcurementPortalPreferenceRequestTypeDef
def get_value() -> DeleteProcurementPortalPreferenceRequestTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# DeleteProcurementPortalPreferenceRequestTypeDef definition
class DeleteProcurementPortalPreferenceRequestTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
DiscountsBreakdownAmountTypeDef#
# DiscountsBreakdownAmountTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DiscountsBreakdownAmountTypeDef
def get_value() -> DiscountsBreakdownAmountTypeDef:
return {
"Description": ...,
}
# DiscountsBreakdownAmountTypeDef definition
class DiscountsBreakdownAmountTypeDef(TypedDict):
Description: NotRequired[str],
Amount: NotRequired[str],
Rate: NotRequired[str],
PurchaseOrderDataSourceTypeDef#
# PurchaseOrderDataSourceTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import PurchaseOrderDataSourceTypeDef
def get_value() -> PurchaseOrderDataSourceTypeDef:
return {
"EinvoiceDeliveryDocumentType": ...,
}
# PurchaseOrderDataSourceTypeDef definition
class PurchaseOrderDataSourceTypeDef(TypedDict):
EinvoiceDeliveryDocumentType: NotRequired[EinvoiceDeliveryDocumentTypeType], # (1)
PurchaseOrderDataSourceType: NotRequired[PurchaseOrderDataSourceTypeType], # (2)
EntityTypeDef#
# EntityTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import EntityTypeDef
def get_value() -> EntityTypeDef:
return {
"InvoicingEntity": ...,
}
# EntityTypeDef definition
class EntityTypeDef(TypedDict):
InvoicingEntity: NotRequired[str],
FeesBreakdownAmountTypeDef#
# FeesBreakdownAmountTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import FeesBreakdownAmountTypeDef
def get_value() -> FeesBreakdownAmountTypeDef:
return {
"Description": ...,
}
# FeesBreakdownAmountTypeDef definition
class FeesBreakdownAmountTypeDef(TypedDict):
Description: NotRequired[str],
Amount: NotRequired[str],
Rate: NotRequired[str],
FiltersTypeDef#
# FiltersTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import FiltersTypeDef
def get_value() -> FiltersTypeDef:
return {
"Names": ...,
}
# FiltersTypeDef definition
class FiltersTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
InvoiceReceivers: NotRequired[Sequence[str]],
Accounts: NotRequired[Sequence[str]],
BillSourceAccounts: NotRequired[Sequence[str]],
GetInvoicePDFRequestTypeDef#
# GetInvoicePDFRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetInvoicePDFRequestTypeDef
def get_value() -> GetInvoicePDFRequestTypeDef:
return {
"InvoiceId": ...,
}
# GetInvoicePDFRequestTypeDef definition
class GetInvoicePDFRequestTypeDef(TypedDict):
InvoiceId: str,
InvoiceUnitRuleOutputTypeDef#
# InvoiceUnitRuleOutputTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitRuleOutputTypeDef
def get_value() -> InvoiceUnitRuleOutputTypeDef:
return {
"LinkedAccounts": ...,
}
# InvoiceUnitRuleOutputTypeDef definition
class InvoiceUnitRuleOutputTypeDef(TypedDict):
LinkedAccounts: NotRequired[list[str]],
BillSourceAccounts: NotRequired[list[str]],
GetProcurementPortalPreferenceRequestTypeDef#
# GetProcurementPortalPreferenceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetProcurementPortalPreferenceRequestTypeDef
def get_value() -> GetProcurementPortalPreferenceRequestTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# GetProcurementPortalPreferenceRequestTypeDef definition
class GetProcurementPortalPreferenceRequestTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
SupplementalDocumentTypeDef#
# SupplementalDocumentTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import SupplementalDocumentTypeDef
def get_value() -> SupplementalDocumentTypeDef:
return {
"DocumentUrl": ...,
}
# SupplementalDocumentTypeDef definition
class SupplementalDocumentTypeDef(TypedDict):
DocumentUrl: NotRequired[str],
DocumentUrlExpirationDate: NotRequired[datetime.datetime],
ReceiverAddressTypeDef#
# ReceiverAddressTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ReceiverAddressTypeDef
def get_value() -> ReceiverAddressTypeDef:
return {
"AddressLine1": ...,
}
# ReceiverAddressTypeDef definition
class ReceiverAddressTypeDef(TypedDict):
AddressLine1: NotRequired[str],
AddressLine2: NotRequired[str],
AddressLine3: NotRequired[str],
DistrictOrCounty: NotRequired[str],
City: NotRequired[str],
StateOrRegion: NotRequired[str],
CountryCode: NotRequired[str],
CompanyName: NotRequired[str],
PostalCode: NotRequired[str],
InvoiceSummariesSelectorTypeDef#
# InvoiceSummariesSelectorTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceSummariesSelectorTypeDef
def get_value() -> InvoiceSummariesSelectorTypeDef:
return {
"ResourceType": ...,
}
# InvoiceSummariesSelectorTypeDef definition
class InvoiceSummariesSelectorTypeDef(TypedDict):
ResourceType: ListInvoiceSummariesResourceTypeType, # (1)
Value: str,
InvoiceUnitRuleTypeDef#
# InvoiceUnitRuleTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitRuleTypeDef
def get_value() -> InvoiceUnitRuleTypeDef:
return {
"LinkedAccounts": ...,
}
# InvoiceUnitRuleTypeDef definition
class InvoiceUnitRuleTypeDef(TypedDict):
LinkedAccounts: NotRequired[Sequence[str]],
BillSourceAccounts: NotRequired[Sequence[str]],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListProcurementPortalPreferencesRequestTypeDef#
# ListProcurementPortalPreferencesRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListProcurementPortalPreferencesRequestTypeDef
def get_value() -> ListProcurementPortalPreferencesRequestTypeDef:
return {
"NextToken": ...,
}
# ListProcurementPortalPreferencesRequestTypeDef definition
class ListProcurementPortalPreferencesRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListTagsForResourceRequestTypeDef#
# ListTagsForResourceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListTagsForResourceRequestTypeDef
def get_value() -> ListTagsForResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# ListTagsForResourceRequestTypeDef definition
class ListTagsForResourceRequestTypeDef(TypedDict):
ResourceArn: str,
ProcurementPortalPreferenceSelectorOutputTypeDef#
# ProcurementPortalPreferenceSelectorOutputTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ProcurementPortalPreferenceSelectorOutputTypeDef
def get_value() -> ProcurementPortalPreferenceSelectorOutputTypeDef:
return {
"InvoiceUnitArns": ...,
}
# ProcurementPortalPreferenceSelectorOutputTypeDef definition
class ProcurementPortalPreferenceSelectorOutputTypeDef(TypedDict):
InvoiceUnitArns: NotRequired[list[str]],
SellerOfRecords: NotRequired[list[str]],
ProcurementPortalPreferenceSelectorTypeDef#
# ProcurementPortalPreferenceSelectorTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ProcurementPortalPreferenceSelectorTypeDef
def get_value() -> ProcurementPortalPreferenceSelectorTypeDef:
return {
"InvoiceUnitArns": ...,
}
# ProcurementPortalPreferenceSelectorTypeDef definition
class ProcurementPortalPreferenceSelectorTypeDef(TypedDict):
InvoiceUnitArns: NotRequired[Sequence[str]],
SellerOfRecords: NotRequired[Sequence[str]],
TestEnvPreferenceTypeDef#
# TestEnvPreferenceTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import TestEnvPreferenceTypeDef
def get_value() -> TestEnvPreferenceTypeDef:
return {
"BuyerDomain": ...,
}
# TestEnvPreferenceTypeDef definition
class TestEnvPreferenceTypeDef(TypedDict):
BuyerDomain: BuyerDomainType, # (1)
BuyerIdentifier: str,
SupplierDomain: SupplierDomainType, # (2)
SupplierIdentifier: str,
ProcurementPortalSharedSecret: NotRequired[str],
ProcurementPortalInstanceEndpoint: NotRequired[str],
PurchaseOrderRetrievalEndpoint: NotRequired[str],
- See BuyerDomainType
- See SupplierDomainType
TaxesBreakdownAmountTypeDef#
# TaxesBreakdownAmountTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import TaxesBreakdownAmountTypeDef
def get_value() -> TaxesBreakdownAmountTypeDef:
return {
"Description": ...,
}
# TaxesBreakdownAmountTypeDef definition
class TaxesBreakdownAmountTypeDef(TypedDict):
Description: NotRequired[str],
Amount: NotRequired[str],
Rate: NotRequired[str],
UntagResourceRequestTypeDef#
# UntagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UntagResourceRequestTypeDef
def get_value() -> UntagResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# UntagResourceRequestTypeDef definition
class UntagResourceRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTagKeys: Sequence[str],
UpdateProcurementPortalPreferenceStatusRequestTypeDef#
# UpdateProcurementPortalPreferenceStatusRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UpdateProcurementPortalPreferenceStatusRequestTypeDef
def get_value() -> UpdateProcurementPortalPreferenceStatusRequestTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# UpdateProcurementPortalPreferenceStatusRequestTypeDef definition
class UpdateProcurementPortalPreferenceStatusRequestTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
EinvoiceDeliveryPreferenceStatus: NotRequired[ProcurementPortalPreferenceStatusType], # (1)
EinvoiceDeliveryPreferenceStatusReason: NotRequired[str],
PurchaseOrderRetrievalPreferenceStatus: NotRequired[ProcurementPortalPreferenceStatusType], # (1)
PurchaseOrderRetrievalPreferenceStatusReason: NotRequired[str],
CreateInvoiceUnitResponseTypeDef#
# CreateInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CreateInvoiceUnitResponseTypeDef
def get_value() -> CreateInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# CreateInvoiceUnitResponseTypeDef definition
class CreateInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateProcurementPortalPreferenceResponseTypeDef#
# CreateProcurementPortalPreferenceResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CreateProcurementPortalPreferenceResponseTypeDef
def get_value() -> CreateProcurementPortalPreferenceResponseTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# CreateProcurementPortalPreferenceResponseTypeDef definition
class CreateProcurementPortalPreferenceResponseTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteInvoiceUnitResponseTypeDef#
# DeleteInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DeleteInvoiceUnitResponseTypeDef
def get_value() -> DeleteInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# DeleteInvoiceUnitResponseTypeDef definition
class DeleteInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteProcurementPortalPreferenceResponseTypeDef#
# DeleteProcurementPortalPreferenceResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DeleteProcurementPortalPreferenceResponseTypeDef
def get_value() -> DeleteProcurementPortalPreferenceResponseTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# DeleteProcurementPortalPreferenceResponseTypeDef definition
class DeleteProcurementPortalPreferenceResponseTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutProcurementPortalPreferenceResponseTypeDef#
# PutProcurementPortalPreferenceResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import PutProcurementPortalPreferenceResponseTypeDef
def get_value() -> PutProcurementPortalPreferenceResponseTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# PutProcurementPortalPreferenceResponseTypeDef definition
class PutProcurementPortalPreferenceResponseTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateInvoiceUnitResponseTypeDef#
# UpdateInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UpdateInvoiceUnitResponseTypeDef
def get_value() -> UpdateInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# UpdateInvoiceUnitResponseTypeDef definition
class UpdateInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateProcurementPortalPreferenceStatusResponseTypeDef#
# UpdateProcurementPortalPreferenceStatusResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UpdateProcurementPortalPreferenceStatusResponseTypeDef
def get_value() -> UpdateProcurementPortalPreferenceStatusResponseTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# UpdateProcurementPortalPreferenceStatusResponseTypeDef definition
class UpdateProcurementPortalPreferenceStatusResponseTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"ResourceTags": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
ResourceTags: list[ResourceTagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See
list[ResourceTagTypeDef] - See ResponseMetadataTypeDef
TagResourceRequestTypeDef#
# TagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import TagResourceRequestTypeDef
def get_value() -> TagResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# TagResourceRequestTypeDef definition
class TagResourceRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTags: Sequence[ResourceTagTypeDef], # (1)
- See
Sequence[ResourceTagTypeDef]
DateIntervalTypeDef#
# DateIntervalTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DateIntervalTypeDef
def get_value() -> DateIntervalTypeDef:
return {
"StartDate": ...,
}
# DateIntervalTypeDef definition
class DateIntervalTypeDef(TypedDict):
StartDate: TimestampTypeDef,
EndDate: TimestampTypeDef,
GetInvoiceUnitRequestTypeDef#
# GetInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetInvoiceUnitRequestTypeDef
def get_value() -> GetInvoiceUnitRequestTypeDef:
return {
"InvoiceUnitArn": ...,
}
# GetInvoiceUnitRequestTypeDef definition
class GetInvoiceUnitRequestTypeDef(TypedDict):
InvoiceUnitArn: str,
AsOf: NotRequired[TimestampTypeDef],
DiscountsBreakdownTypeDef#
# DiscountsBreakdownTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DiscountsBreakdownTypeDef
def get_value() -> DiscountsBreakdownTypeDef:
return {
"Breakdown": ...,
}
# DiscountsBreakdownTypeDef definition
class DiscountsBreakdownTypeDef(TypedDict):
Breakdown: NotRequired[list[DiscountsBreakdownAmountTypeDef]], # (1)
TotalAmount: NotRequired[str],
- See
list[DiscountsBreakdownAmountTypeDef]
EinvoiceDeliveryPreferenceOutputTypeDef#
# EinvoiceDeliveryPreferenceOutputTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import EinvoiceDeliveryPreferenceOutputTypeDef
def get_value() -> EinvoiceDeliveryPreferenceOutputTypeDef:
return {
"EinvoiceDeliveryDocumentTypes": ...,
}
# EinvoiceDeliveryPreferenceOutputTypeDef definition
class EinvoiceDeliveryPreferenceOutputTypeDef(TypedDict):
EinvoiceDeliveryDocumentTypes: list[EinvoiceDeliveryDocumentTypeType], # (1)
Protocol: ProtocolType, # (3)
PurchaseOrderDataSources: list[PurchaseOrderDataSourceTypeDef], # (4)
ConnectionTestingMethod: ConnectionTestingMethodType, # (5)
EinvoiceDeliveryActivationDate: datetime.datetime,
EinvoiceDeliveryAttachmentTypes: NotRequired[list[EinvoiceDeliveryAttachmentTypeType]], # (2)
- See
list[EinvoiceDeliveryDocumentTypeType] - See
list[EinvoiceDeliveryAttachmentTypeType] - See ProtocolType
- See
list[PurchaseOrderDataSourceTypeDef] - See ConnectionTestingMethodType
EinvoiceDeliveryPreferenceTypeDef#
# EinvoiceDeliveryPreferenceTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import EinvoiceDeliveryPreferenceTypeDef
def get_value() -> EinvoiceDeliveryPreferenceTypeDef:
return {
"EinvoiceDeliveryDocumentTypes": ...,
}
# EinvoiceDeliveryPreferenceTypeDef definition
class EinvoiceDeliveryPreferenceTypeDef(TypedDict):
EinvoiceDeliveryDocumentTypes: Sequence[EinvoiceDeliveryDocumentTypeType], # (1)
Protocol: ProtocolType, # (3)
PurchaseOrderDataSources: Sequence[PurchaseOrderDataSourceTypeDef], # (4)
ConnectionTestingMethod: ConnectionTestingMethodType, # (5)
EinvoiceDeliveryActivationDate: TimestampTypeDef,
EinvoiceDeliveryAttachmentTypes: NotRequired[Sequence[EinvoiceDeliveryAttachmentTypeType]], # (2)
- See
Sequence[EinvoiceDeliveryDocumentTypeType] - See
Sequence[EinvoiceDeliveryAttachmentTypeType] - See ProtocolType
- See
Sequence[PurchaseOrderDataSourceTypeDef] - See ConnectionTestingMethodType
FeesBreakdownTypeDef#
# FeesBreakdownTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import FeesBreakdownTypeDef
def get_value() -> FeesBreakdownTypeDef:
return {
"Breakdown": ...,
}
# FeesBreakdownTypeDef definition
class FeesBreakdownTypeDef(TypedDict):
Breakdown: NotRequired[list[FeesBreakdownAmountTypeDef]], # (1)
TotalAmount: NotRequired[str],
- See
list[FeesBreakdownAmountTypeDef]
ListInvoiceUnitsRequestTypeDef#
# ListInvoiceUnitsRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceUnitsRequestTypeDef
def get_value() -> ListInvoiceUnitsRequestTypeDef:
return {
"Filters": ...,
}
# ListInvoiceUnitsRequestTypeDef definition
class ListInvoiceUnitsRequestTypeDef(TypedDict):
Filters: NotRequired[FiltersTypeDef], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
AsOf: NotRequired[TimestampTypeDef],
- See FiltersTypeDef
GetInvoiceUnitResponseTypeDef#
# GetInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetInvoiceUnitResponseTypeDef
def get_value() -> GetInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# GetInvoiceUnitResponseTypeDef definition
class GetInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
InvoiceReceiver: str,
Name: str,
Description: str,
TaxInheritanceDisabled: bool,
Rule: InvoiceUnitRuleOutputTypeDef, # (1)
LastModified: datetime.datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InvoiceUnitTypeDef#
# InvoiceUnitTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitTypeDef
def get_value() -> InvoiceUnitTypeDef:
return {
"InvoiceUnitArn": ...,
}
# InvoiceUnitTypeDef definition
class InvoiceUnitTypeDef(TypedDict):
InvoiceUnitArn: NotRequired[str],
InvoiceReceiver: NotRequired[str],
Name: NotRequired[str],
Description: NotRequired[str],
TaxInheritanceDisabled: NotRequired[bool],
Rule: NotRequired[InvoiceUnitRuleOutputTypeDef], # (1)
LastModified: NotRequired[datetime.datetime],
InvoicePDFTypeDef#
# InvoicePDFTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoicePDFTypeDef
def get_value() -> InvoicePDFTypeDef:
return {
"InvoiceId": ...,
}
# InvoicePDFTypeDef definition
class InvoicePDFTypeDef(TypedDict):
InvoiceId: NotRequired[str],
DocumentUrl: NotRequired[str],
DocumentUrlExpirationDate: NotRequired[datetime.datetime],
SupplementalDocuments: NotRequired[list[SupplementalDocumentTypeDef]], # (1)
- See
list[SupplementalDocumentTypeDef]
InvoiceProfileTypeDef#
# InvoiceProfileTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceProfileTypeDef
def get_value() -> InvoiceProfileTypeDef:
return {
"AccountId": ...,
}
# InvoiceProfileTypeDef definition
class InvoiceProfileTypeDef(TypedDict):
AccountId: NotRequired[str],
ReceiverName: NotRequired[str],
ReceiverAddress: NotRequired[ReceiverAddressTypeDef], # (1)
ReceiverEmail: NotRequired[str],
Issuer: NotRequired[str],
TaxRegistrationNumber: NotRequired[str],
ListInvoiceUnitsRequestPaginateTypeDef#
# ListInvoiceUnitsRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceUnitsRequestPaginateTypeDef
def get_value() -> ListInvoiceUnitsRequestPaginateTypeDef:
return {
"Filters": ...,
}
# ListInvoiceUnitsRequestPaginateTypeDef definition
class ListInvoiceUnitsRequestPaginateTypeDef(TypedDict):
Filters: NotRequired[FiltersTypeDef], # (1)
AsOf: NotRequired[TimestampTypeDef],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FiltersTypeDef
- See PaginatorConfigTypeDef
ListProcurementPortalPreferencesRequestPaginateTypeDef#
# ListProcurementPortalPreferencesRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListProcurementPortalPreferencesRequestPaginateTypeDef
def get_value() -> ListProcurementPortalPreferencesRequestPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListProcurementPortalPreferencesRequestPaginateTypeDef definition
class ListProcurementPortalPreferencesRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ProcurementPortalPreferenceSummaryTypeDef#
# ProcurementPortalPreferenceSummaryTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ProcurementPortalPreferenceSummaryTypeDef
def get_value() -> ProcurementPortalPreferenceSummaryTypeDef:
return {
"AwsAccountId": ...,
}
# ProcurementPortalPreferenceSummaryTypeDef definition
class ProcurementPortalPreferenceSummaryTypeDef(TypedDict):
AwsAccountId: str,
ProcurementPortalPreferenceArn: str,
ProcurementPortalName: ProcurementPortalNameType, # (1)
BuyerDomain: BuyerDomainType, # (2)
BuyerIdentifier: str,
SupplierDomain: SupplierDomainType, # (3)
SupplierIdentifier: str,
EinvoiceDeliveryEnabled: bool,
PurchaseOrderRetrievalEnabled: bool,
Version: int,
CreateDate: datetime.datetime,
LastUpdateDate: datetime.datetime,
Selector: NotRequired[ProcurementPortalPreferenceSelectorOutputTypeDef], # (4)
EinvoiceDeliveryPreferenceStatus: NotRequired[ProcurementPortalPreferenceStatusType], # (5)
EinvoiceDeliveryPreferenceStatusReason: NotRequired[str],
PurchaseOrderRetrievalPreferenceStatus: NotRequired[ProcurementPortalPreferenceStatusType], # (5)
PurchaseOrderRetrievalPreferenceStatusReason: NotRequired[str],
- See ProcurementPortalNameType
- See BuyerDomainType
- See SupplierDomainType
- See ProcurementPortalPreferenceSelectorOutputTypeDef
- See ProcurementPortalPreferenceStatusType
- See ProcurementPortalPreferenceStatusType
TaxesBreakdownTypeDef#
# TaxesBreakdownTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import TaxesBreakdownTypeDef
def get_value() -> TaxesBreakdownTypeDef:
return {
"Breakdown": ...,
}
# TaxesBreakdownTypeDef definition
class TaxesBreakdownTypeDef(TypedDict):
Breakdown: NotRequired[list[TaxesBreakdownAmountTypeDef]], # (1)
TotalAmount: NotRequired[str],
- See
list[TaxesBreakdownAmountTypeDef]
InvoiceSummariesFilterTypeDef#
# InvoiceSummariesFilterTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceSummariesFilterTypeDef
def get_value() -> InvoiceSummariesFilterTypeDef:
return {
"TimeInterval": ...,
}
# InvoiceSummariesFilterTypeDef definition
class InvoiceSummariesFilterTypeDef(TypedDict):
TimeInterval: NotRequired[DateIntervalTypeDef], # (1)
BillingPeriod: NotRequired[BillingPeriodTypeDef], # (2)
InvoicingEntity: NotRequired[str],
ProcurementPortalPreferenceTypeDef#
# ProcurementPortalPreferenceTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ProcurementPortalPreferenceTypeDef
def get_value() -> ProcurementPortalPreferenceTypeDef:
return {
"AwsAccountId": ...,
}
# ProcurementPortalPreferenceTypeDef definition
class ProcurementPortalPreferenceTypeDef(TypedDict):
AwsAccountId: str,
ProcurementPortalPreferenceArn: str,
ProcurementPortalName: ProcurementPortalNameType, # (1)
BuyerDomain: BuyerDomainType, # (2)
BuyerIdentifier: str,
SupplierDomain: SupplierDomainType, # (3)
SupplierIdentifier: str,
EinvoiceDeliveryEnabled: bool,
PurchaseOrderRetrievalEnabled: bool,
Version: int,
CreateDate: datetime.datetime,
LastUpdateDate: datetime.datetime,
Selector: NotRequired[ProcurementPortalPreferenceSelectorOutputTypeDef], # (4)
ProcurementPortalSharedSecret: NotRequired[str],
ProcurementPortalInstanceEndpoint: NotRequired[str],
PurchaseOrderRetrievalEndpoint: NotRequired[str],
TestEnvPreference: NotRequired[TestEnvPreferenceTypeDef], # (5)
EinvoiceDeliveryPreference: NotRequired[EinvoiceDeliveryPreferenceOutputTypeDef], # (6)
Contacts: NotRequired[list[ContactTypeDef]], # (7)
EinvoiceDeliveryPreferenceStatus: NotRequired[ProcurementPortalPreferenceStatusType], # (8)
EinvoiceDeliveryPreferenceStatusReason: NotRequired[str],
PurchaseOrderRetrievalPreferenceStatus: NotRequired[ProcurementPortalPreferenceStatusType], # (8)
PurchaseOrderRetrievalPreferenceStatusReason: NotRequired[str],
- See ProcurementPortalNameType
- See BuyerDomainType
- See SupplierDomainType
- See ProcurementPortalPreferenceSelectorOutputTypeDef
- See TestEnvPreferenceTypeDef
- See EinvoiceDeliveryPreferenceOutputTypeDef
- See
list[ContactTypeDef] - See ProcurementPortalPreferenceStatusType
- See ProcurementPortalPreferenceStatusType
ListInvoiceUnitsResponseTypeDef#
# ListInvoiceUnitsResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceUnitsResponseTypeDef
def get_value() -> ListInvoiceUnitsResponseTypeDef:
return {
"InvoiceUnits": ...,
}
# ListInvoiceUnitsResponseTypeDef definition
class ListInvoiceUnitsResponseTypeDef(TypedDict):
InvoiceUnits: list[InvoiceUnitTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
list[InvoiceUnitTypeDef] - See ResponseMetadataTypeDef
GetInvoicePDFResponseTypeDef#
# GetInvoicePDFResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetInvoicePDFResponseTypeDef
def get_value() -> GetInvoicePDFResponseTypeDef:
return {
"InvoicePDF": ...,
}
# GetInvoicePDFResponseTypeDef definition
class GetInvoicePDFResponseTypeDef(TypedDict):
InvoicePDF: InvoicePDFTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetInvoiceProfileResponseTypeDef#
# BatchGetInvoiceProfileResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import BatchGetInvoiceProfileResponseTypeDef
def get_value() -> BatchGetInvoiceProfileResponseTypeDef:
return {
"Profiles": ...,
}
# BatchGetInvoiceProfileResponseTypeDef definition
class BatchGetInvoiceProfileResponseTypeDef(TypedDict):
Profiles: list[InvoiceProfileTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See
list[InvoiceProfileTypeDef] - See ResponseMetadataTypeDef
CreateInvoiceUnitRequestTypeDef#
# CreateInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CreateInvoiceUnitRequestTypeDef
def get_value() -> CreateInvoiceUnitRequestTypeDef:
return {
"Name": ...,
}
# CreateInvoiceUnitRequestTypeDef definition
class CreateInvoiceUnitRequestTypeDef(TypedDict):
Name: str,
InvoiceReceiver: str,
Rule: InvoiceUnitRuleUnionTypeDef, # (1)
Description: NotRequired[str],
TaxInheritanceDisabled: NotRequired[bool],
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
- See InvoiceUnitRuleUnionTypeDef
- See
Sequence[ResourceTagTypeDef]
UpdateInvoiceUnitRequestTypeDef#
# UpdateInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UpdateInvoiceUnitRequestTypeDef
def get_value() -> UpdateInvoiceUnitRequestTypeDef:
return {
"InvoiceUnitArn": ...,
}
# UpdateInvoiceUnitRequestTypeDef definition
class UpdateInvoiceUnitRequestTypeDef(TypedDict):
InvoiceUnitArn: str,
Description: NotRequired[str],
TaxInheritanceDisabled: NotRequired[bool],
Rule: NotRequired[InvoiceUnitRuleUnionTypeDef], # (1)
ListProcurementPortalPreferencesResponseTypeDef#
# ListProcurementPortalPreferencesResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListProcurementPortalPreferencesResponseTypeDef
def get_value() -> ListProcurementPortalPreferencesResponseTypeDef:
return {
"ProcurementPortalPreferences": ...,
}
# ListProcurementPortalPreferencesResponseTypeDef definition
class ListProcurementPortalPreferencesResponseTypeDef(TypedDict):
ProcurementPortalPreferences: list[ProcurementPortalPreferenceSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
list[ProcurementPortalPreferenceSummaryTypeDef] - See ResponseMetadataTypeDef
AmountBreakdownTypeDef#
# AmountBreakdownTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import AmountBreakdownTypeDef
def get_value() -> AmountBreakdownTypeDef:
return {
"SubTotalAmount": ...,
}
# AmountBreakdownTypeDef definition
class AmountBreakdownTypeDef(TypedDict):
SubTotalAmount: NotRequired[str],
Discounts: NotRequired[DiscountsBreakdownTypeDef], # (1)
Taxes: NotRequired[TaxesBreakdownTypeDef], # (2)
Fees: NotRequired[FeesBreakdownTypeDef], # (3)
ListInvoiceSummariesRequestPaginateTypeDef#
# ListInvoiceSummariesRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceSummariesRequestPaginateTypeDef
def get_value() -> ListInvoiceSummariesRequestPaginateTypeDef:
return {
"Selector": ...,
}
# ListInvoiceSummariesRequestPaginateTypeDef definition
class ListInvoiceSummariesRequestPaginateTypeDef(TypedDict):
Selector: InvoiceSummariesSelectorTypeDef, # (1)
Filter: NotRequired[InvoiceSummariesFilterTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListInvoiceSummariesRequestTypeDef#
# ListInvoiceSummariesRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceSummariesRequestTypeDef
def get_value() -> ListInvoiceSummariesRequestTypeDef:
return {
"Selector": ...,
}
# ListInvoiceSummariesRequestTypeDef definition
class ListInvoiceSummariesRequestTypeDef(TypedDict):
Selector: InvoiceSummariesSelectorTypeDef, # (1)
Filter: NotRequired[InvoiceSummariesFilterTypeDef], # (2)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
GetProcurementPortalPreferenceResponseTypeDef#
# GetProcurementPortalPreferenceResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetProcurementPortalPreferenceResponseTypeDef
def get_value() -> GetProcurementPortalPreferenceResponseTypeDef:
return {
"ProcurementPortalPreference": ...,
}
# GetProcurementPortalPreferenceResponseTypeDef definition
class GetProcurementPortalPreferenceResponseTypeDef(TypedDict):
ProcurementPortalPreference: ProcurementPortalPreferenceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateProcurementPortalPreferenceRequestTypeDef#
# CreateProcurementPortalPreferenceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CreateProcurementPortalPreferenceRequestTypeDef
def get_value() -> CreateProcurementPortalPreferenceRequestTypeDef:
return {
"ProcurementPortalName": ...,
}
# CreateProcurementPortalPreferenceRequestTypeDef definition
class CreateProcurementPortalPreferenceRequestTypeDef(TypedDict):
ProcurementPortalName: ProcurementPortalNameType, # (1)
BuyerDomain: BuyerDomainType, # (2)
BuyerIdentifier: str,
SupplierDomain: SupplierDomainType, # (3)
SupplierIdentifier: str,
EinvoiceDeliveryEnabled: bool,
PurchaseOrderRetrievalEnabled: bool,
Contacts: Sequence[ContactTypeDef], # (4)
Selector: NotRequired[ProcurementPortalPreferenceSelectorUnionTypeDef], # (5)
ProcurementPortalSharedSecret: NotRequired[str],
ProcurementPortalInstanceEndpoint: NotRequired[str],
TestEnvPreference: NotRequired[TestEnvPreferenceInputTypeDef], # (6)
EinvoiceDeliveryPreference: NotRequired[EinvoiceDeliveryPreferenceUnionTypeDef], # (7)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (8)
ClientToken: NotRequired[str],
- See ProcurementPortalNameType
- See BuyerDomainType
- See SupplierDomainType
- See
Sequence[ContactTypeDef] - See ProcurementPortalPreferenceSelectorUnionTypeDef
- See TestEnvPreferenceInputTypeDef
- See EinvoiceDeliveryPreferenceUnionTypeDef
- See
Sequence[ResourceTagTypeDef]
PutProcurementPortalPreferenceRequestTypeDef#
# PutProcurementPortalPreferenceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import PutProcurementPortalPreferenceRequestTypeDef
def get_value() -> PutProcurementPortalPreferenceRequestTypeDef:
return {
"ProcurementPortalPreferenceArn": ...,
}
# PutProcurementPortalPreferenceRequestTypeDef definition
class PutProcurementPortalPreferenceRequestTypeDef(TypedDict):
ProcurementPortalPreferenceArn: str,
EinvoiceDeliveryEnabled: bool,
PurchaseOrderRetrievalEnabled: bool,
Contacts: Sequence[ContactTypeDef], # (1)
Selector: NotRequired[ProcurementPortalPreferenceSelectorUnionTypeDef], # (2)
ProcurementPortalSharedSecret: NotRequired[str],
ProcurementPortalInstanceEndpoint: NotRequired[str],
TestEnvPreference: NotRequired[TestEnvPreferenceInputTypeDef], # (3)
EinvoiceDeliveryPreference: NotRequired[EinvoiceDeliveryPreferenceUnionTypeDef], # (4)
- See
Sequence[ContactTypeDef] - See ProcurementPortalPreferenceSelectorUnionTypeDef
- See TestEnvPreferenceInputTypeDef
- See EinvoiceDeliveryPreferenceUnionTypeDef
InvoiceCurrencyAmountTypeDef#
# InvoiceCurrencyAmountTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceCurrencyAmountTypeDef
def get_value() -> InvoiceCurrencyAmountTypeDef:
return {
"TotalAmount": ...,
}
# InvoiceCurrencyAmountTypeDef definition
class InvoiceCurrencyAmountTypeDef(TypedDict):
TotalAmount: NotRequired[str],
TotalAmountBeforeTax: NotRequired[str],
CurrencyCode: NotRequired[str],
AmountBreakdown: NotRequired[AmountBreakdownTypeDef], # (1)
CurrencyExchangeDetails: NotRequired[CurrencyExchangeDetailsTypeDef], # (2)
InvoiceSummaryTypeDef#
# InvoiceSummaryTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceSummaryTypeDef
def get_value() -> InvoiceSummaryTypeDef:
return {
"AccountId": ...,
}
# InvoiceSummaryTypeDef definition
class InvoiceSummaryTypeDef(TypedDict):
AccountId: NotRequired[str],
InvoiceId: NotRequired[str],
IssuedDate: NotRequired[datetime.datetime],
DueDate: NotRequired[datetime.datetime],
Entity: NotRequired[EntityTypeDef], # (1)
BillingPeriod: NotRequired[BillingPeriodTypeDef], # (2)
InvoiceType: NotRequired[InvoiceTypeType], # (3)
OriginalInvoiceId: NotRequired[str],
PurchaseOrderNumber: NotRequired[str],
BaseCurrencyAmount: NotRequired[InvoiceCurrencyAmountTypeDef], # (4)
TaxCurrencyAmount: NotRequired[InvoiceCurrencyAmountTypeDef], # (4)
PaymentCurrencyAmount: NotRequired[InvoiceCurrencyAmountTypeDef], # (4)
- See EntityTypeDef
- See BillingPeriodTypeDef
- See InvoiceTypeType
- See InvoiceCurrencyAmountTypeDef
- See InvoiceCurrencyAmountTypeDef
- See InvoiceCurrencyAmountTypeDef
ListInvoiceSummariesResponseTypeDef#
# ListInvoiceSummariesResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceSummariesResponseTypeDef
def get_value() -> ListInvoiceSummariesResponseTypeDef:
return {
"InvoiceSummaries": ...,
}
# ListInvoiceSummariesResponseTypeDef definition
class ListInvoiceSummariesResponseTypeDef(TypedDict):
InvoiceSummaries: list[InvoiceSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
list[InvoiceSummaryTypeDef] - See ResponseMetadataTypeDef