Smaws_Client_Invoicing.Typestype nonrec validation_exception_field = {message : basic_string;The input fails to satisfy the constraints specified by an Amazon Web Services service.
*)name : basic_string;The input fails to satisfy the constraints specified by an Amazon Web Services service.
*)}The input fails to satisfy the constraints specified by an Amazon Web Services service.
type nonrec validation_exception_field_list = validation_exception_field listtype nonrec validation_exception = {field_list : validation_exception_field_list option;The input fails to satisfy the constraints specified by an Amazon Web Services service.
*)reason : validation_exception_reason option;You don't have sufficient access to perform this action.
*)resource_name : invoice_unit_arn_string option;You don't have sufficient access to perform this action.
*)message : basic_string option;}The input fails to satisfy the constraints specified by an Amazon Web Services service.
type nonrec update_procurement_portal_preference_status_response = {procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference with updated status.
*)}type nonrec update_procurement_portal_preference_status_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)purchase_order_retrieval_preference_status_reason : basic_string option;The reason for the purchase order retrieval preference status update, providing context for the change.
*)purchase_order_retrieval_preference_status : procurement_portal_preference_status
option;The updated status of the purchase order retrieval preference.
*)einvoice_delivery_preference_status_reason : basic_string option;The reason for the e-invoice delivery preference status update, providing context for the change.
*)einvoice_delivery_preference_status : procurement_portal_preference_status
option;The updated status of the e-invoice delivery preference.
*)procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference to update.
*)}The request was denied due to request throttling.
The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded.
type nonrec resource_not_found_exception = {resource_name : invoice_unit_arn_string option;The resource could not be found.
*)message : basic_string option;}The resource could not be found.
type nonrec internal_server_exception = {message : basic_string option;retry_after_seconds : Smaws_Lib.Smithy_api.Types.integer option;The processing request failed because of an unknown error, exception, or failure.
*)}The processing request failed because of an unknown error, exception, or failure.
type nonrec conflict_exception = {resource_type : basic_string option;The type of resource that caused the conflict.
*)resource_id : basic_string option;The identifier of the resource that caused the conflict.
*)message : basic_string option;}The request could not be completed due to a conflict with the current state of the resource. This exception occurs when a concurrent modification is detected during an update operation, or when attempting to create a resource that already exists.
type nonrec access_denied_exception = {resource_name : invoice_unit_arn_string option;You don't have sufficient access to perform this action.
*)message : basic_string option;}You don't have sufficient access to perform this action.
type nonrec update_invoice_unit_response = {invoice_unit_arn : invoice_unit_arn_string option;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec rule_account_id_list = account_id_string listtype nonrec invoice_unit_rule = {bill_source_accounts : rule_account_id_list option;A list of Amazon Web Services account IDs that have delegated their billing responsibility to the receiver account through transfer billing. Unlike linked accounts, these bill source accounts can be payer accounts from other organizations that have authorized billing transfer to this account.
*)linked_accounts : rule_account_id_list option;The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.
}This is used to categorize the invoice unit. Values are Amazon Web Services account IDs. Currently, the only supported rule is LINKED_ACCOUNT.
type nonrec update_invoice_unit_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)rule : invoice_unit_rule option;The InvoiceUnitRule object used to update invoice units.
tax_inheritance_disabled : tax_inheritance_disabled_flag option;Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
*)description : description_string option;The assigned description for an invoice unit. This information can't be modified or deleted.
*)invoice_unit_arn : invoice_unit_arn_string;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec resource_tag_key_list = resource_tag_key listtype nonrec untag_resource_request = {resource_tag_keys : resource_tag_key_list;Keys for the tags to be removed.
*)resource_arn : tagris_arn;The Amazon Resource Name (ARN) to untag.
*)}type nonrec test_env_preference_input = {procurement_portal_instance_endpoint : basic_string_without_space option;The endpoint URL where e-invoices will be delivered in the test environment.
*)supplier_identifier : basic_string_without_space;The unique identifier to use for the supplier in the test environment.
*)supplier_domain : supplier_domain;The domain identifier to use for the supplier in the test environment.
*)buyer_identifier : basic_string_without_space;The unique identifier to use for the buyer in the test environment.
*)buyer_domain : buyer_domain;The domain identifier to use for the buyer in the test environment.
*)}Input parameters for configuring test environment preferences for a procurement portal.
type nonrec test_env_preference = {purchase_order_retrieval_endpoint : basic_string_without_space option;The endpoint URL used for retrieving purchase orders in the test environment.
*)procurement_portal_instance_endpoint : basic_string_without_space option;The endpoint URL where e-invoices are delivered in the test environment.
*)supplier_identifier : basic_string_without_space;The unique identifier for the supplier in the test environment of the procurement portal.
*)supplier_domain : supplier_domain;The domain identifier for the supplier in the test environment of the procurement portal.
*)buyer_identifier : basic_string_without_space;The unique identifier for the buyer in the test environment of the procurement portal.
*)buyer_domain : buyer_domain;The domain identifier for the buyer in the test environment of the procurement portal.
*)}Contains configuration settings for testing the procurement portal integration in a non-production environment.
type nonrec taxes_breakdown_amount = {rate : basic_string option;The details of the tax rate.
*)amount : basic_string option;The tax amount.
*)description : basic_string option;The details of the taxes.
*)}The tax amount.
type nonrec taxes_breakdown_amount_list = taxes_breakdown_amount listtype nonrec taxes_breakdown = {total_amount : basic_string option;The total amount for your taxes.
*)breakdown : taxes_breakdown_amount_list option;A list of tax information.
*)}The details of the taxes.
type nonrec resource_tag = {value : resource_tag_value;The specific value of the resource tag.
*)key : resource_tag_key;The object key of your of your resource tag.
*)}The tag structure that contains a tag key and value.
type nonrec resource_tag_list = resource_tag listtype nonrec tag_resource_request = {resource_arn : tagris_arn;The Amazon Resource Name (ARN) of the tags.
*)}type nonrec supplemental_document = {document_url_expiration_date : Smaws_Lib.Smithy_api.Types.timestamp option;The pre-signed URL expiration date of invoice supplemental document.
*)document_url : string_without_new_line option;The pre-signed URL to download invoice supplemental document.
*)document_id : string_without_new_line option;The ID of the supplemental document.
*)document_type : supplemental_document_type option;The type of supplemental document.
*)}Supplemental document associated with the invoice.
type nonrec supplemental_documents = supplemental_document listtype nonrec seller_of_records = basic_string_without_space listtype nonrec receiver_address = {postal_code : basic_string option;The postal code associated with the address.
*)company_name : basic_string option;A unique company name.
*)country_code : basic_string option;The country code for the country the address is in.
*)state_or_region : basic_string option;The state, region, or province the address is located.
*)city : basic_string option;The city that the address is in.
*)district_or_county : basic_string option;The district or country the address is located in.
*)address_line3 : basic_string option;The third line of the address, if applicable.
*)address_line2 : basic_string option;The second line of the address, if applicable.
*)address_line1 : basic_string option;The first line of the address.
*)}The details of the address associated with the receiver.
type nonrec put_procurement_portal_preference_response = {procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the updated procurement portal preference.
*)}type nonrec invoice_unit_arns = invoice_unit_arn_string listtype nonrec procurement_portal_preference_selector = {seller_of_records : seller_of_records option;The list of seller of record IDs to which this preference applies.
*)invoice_unit_arns : invoice_unit_arns option;The Amazon Resource Name (ARN) of invoice unit identifiers to which this preference applies.
*)}Specifies criteria for selecting which invoices should be processed using a particular procurement portal preference.
type nonrec einvoice_delivery_document_types =
einvoice_delivery_document_type listtype nonrec einvoice_delivery_attachment_types =
einvoice_delivery_attachment_type listtype nonrec purchase_order_data_source = {purchase_order_data_source_type : purchase_order_data_source_type option;The type of source for purchase order data.
*)einvoice_delivery_document_type : einvoice_delivery_document_type option;The type of e-invoice document that requires purchase order data.
*)}Specifies the source configuration for retrieving purchase order data.
type nonrec purchase_order_data_sources = purchase_order_data_source listtype nonrec einvoice_delivery_preference = {einvoice_delivery_activation_date : Smaws_Lib.Smithy_api.Types.timestamp;The date when e-invoice delivery should be activated for this preference.
*)connection_testing_method : connection_testing_method;The method to use for testing the connection to the procurement portal.
*)purchase_order_data_sources : purchase_order_data_sources;The sources of purchase order data to use for e-invoice generation and delivery.
*)protocol : protocol;The communication protocol to use for e-invoice delivery.
*)einvoice_delivery_attachment_types : einvoice_delivery_attachment_types option;The types of attachments to include with the e-invoice delivery.
*)einvoice_delivery_document_types : einvoice_delivery_document_types;The types of e-invoice documents to be delivered.
*)}Specifies the preferences for e-invoice delivery, including document types, attachment types, and customization settings.
type nonrec contact = {email : email_string option;The email address of the contact person or role.
*)name : basic_string option;The name of the contact person or role.
*)}Represents contact information for a person or role associated with the procurement portal preference.
type nonrec contacts = contact listtype nonrec put_procurement_portal_preference_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)contacts : contacts;Updated list of contact information for portal administrators and technical contacts.
*)purchase_order_retrieval_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Updated flag indicating whether purchase order retrieval is enabled for this procurement portal preference.
*)einvoice_delivery_preference : einvoice_delivery_preference option;Updated e-invoice delivery configuration including document types, attachment types, and customization settings for the portal.
*)einvoice_delivery_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Updated flag indicating whether e-invoice delivery is enabled for this procurement portal preference.
*)test_env_preference : test_env_preference_input option;Updated configuration settings for the test environment of the procurement portal.
*)procurement_portal_instance_endpoint : basic_string_without_space option;The updated endpoint URL where e-invoices will be delivered to the procurement portal. Must be a valid HTTPS URL.
*)selector : procurement_portal_preference_selector option;procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference to update.
*)}type nonrec invoice_profile = {tax_registration_number : sensitive_basic_string_without_space option;Your Tax Registration Number (TRN) information.
*)issuer : basic_string_without_space option;This specifies the issuing entity of the invoice.
*)receiver_email : sensitive_basic_string_without_space option;The email address for the invoice profile receiver.
*)receiver_address : receiver_address option;The address of the receiver that will be printed on the invoice.
*)receiver_name : basic_string_without_space option;The name of the person receiving the invoice profile.
*)account_id : account_id_string option;The account ID the invoice profile is generated for.
*)}Contains high-level information about the invoice receiver.
type nonrec profile_list = invoice_profile listtype nonrec procurement_portal_preference_summary = {last_update_date : Smaws_Lib.Smithy_api.Types.timestamp;The date and time when the procurement portal preference was last updated.
*)create_date : Smaws_Lib.Smithy_api.Types.timestamp;The date and time when the procurement portal preference was created.
*)version : Smaws_Lib.Smithy_api.Types.long;The version number of the procurement portal preference configuration in this summary.
*)purchase_order_retrieval_preference_status_reason : basic_string option;The reason for the current purchase order retrieval preference status in this summary.
*)purchase_order_retrieval_preference_status : procurement_portal_preference_status
option;The current status of the purchase order retrieval preference in this summary.
*)einvoice_delivery_preference_status_reason : basic_string option;The reason for the current e-invoice delivery preference status in this summary.
*)einvoice_delivery_preference_status : procurement_portal_preference_status
option;The current status of the e-invoice delivery preference in this summary.
*)purchase_order_retrieval_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Indicates whether purchase order retrieval is enabled for this procurement portal preference.
*)einvoice_delivery_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Indicates whether e-invoice delivery is enabled for this procurement portal preference.
*)selector : procurement_portal_preference_selector option;supplier_identifier : basic_string_without_space;The unique identifier for the supplier in the procurement portal.
*)supplier_domain : supplier_domain;The domain identifier for the supplier in the procurement portal.
*)buyer_identifier : basic_string_without_space;The unique identifier for the buyer in the procurement portal.
*)buyer_domain : buyer_domain;The domain identifier for the buyer in the procurement portal.
*)procurement_portal_name : procurement_portal_name;The name of the procurement portal.
*)procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference.
*)aws_account_id : account_id_string;The Amazon Web Services account ID associated with this procurement portal preference summary.
*)}Provides a summary of a procurement portal preference, including key identifiers and status information.
type nonrec procurement_portal_preference_summaries =
procurement_portal_preference_summary listtype nonrec procurement_portal_preference = {last_update_date : Smaws_Lib.Smithy_api.Types.timestamp;The date and time when the procurement portal preference was last updated.
*)create_date : Smaws_Lib.Smithy_api.Types.timestamp;The date and time when the procurement portal preference was created.
*)version : Smaws_Lib.Smithy_api.Types.long;The version number of the procurement portal preference configuration.
*)purchase_order_retrieval_preference_status_reason : basic_string option;The reason for the current purchase order retrieval preference status.
*)purchase_order_retrieval_preference_status : procurement_portal_preference_status
option;The current status of the purchase order retrieval preference.
*)einvoice_delivery_preference_status_reason : basic_string option;The reason for the current e-invoice delivery preference status.
*)einvoice_delivery_preference_status : procurement_portal_preference_status
option;The current status of the e-invoice delivery preference.
*)contacts : contacts option;List of contact information for portal administrators and technical contacts.
*)purchase_order_retrieval_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Indicates whether purchase order retrieval is enabled for this procurement portal preference.
*)einvoice_delivery_preference : einvoice_delivery_preference option;The configuration settings that specify how e-invoices are delivered to the procurement portal.
*)einvoice_delivery_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Indicates whether e-invoice delivery is enabled for this procurement portal preference.
*)test_env_preference : test_env_preference option;Configuration on settings for the test environment of the procurement portal.
*)purchase_order_retrieval_endpoint : basic_string_without_space option;The endpoint URL used for retrieving purchase orders from the procurement portal.
*)procurement_portal_instance_endpoint : basic_string_without_space option;The endpoint URL where e-invoices are delivered to the procurement portal.
*)selector : procurement_portal_preference_selector option;supplier_identifier : basic_string_without_space;The unique identifier for the supplier in the procurement portal.
*)supplier_domain : supplier_domain;The domain identifier for the supplier in the procurement portal.
*)buyer_identifier : basic_string_without_space;The unique identifier for the buyer in the procurement portal.
*)buyer_domain : buyer_domain;The domain identifier for the buyer in the procurement portal.
*)procurement_portal_name : procurement_portal_name;The name of the procurement portal.
*)procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference.
*)aws_account_id : account_id_string;The Amazon Web Services account ID associated with this procurement portal preference.
*)}Represents the full configuration of a procurement portal preference, including settings for e-invoice delivery and purchase order retrieval.
type nonrec list_procurement_portal_preferences_response = {next_token : basic_string_without_space option;The token to use to retrieve the next set of results, or null if there are no more results.
*)procurement_portal_preferences : procurement_portal_preference_summaries option;The list of procurement portal preferences associated with the Amazon Web Services account.
*)}type nonrec list_procurement_portal_preferences_request = {max_results : max_results option;The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
*)next_token : basic_string_without_space option;The token for the next set of results. (You received this token from a previous call.)
*)}type nonrec invoice_unit = {last_modified : last_modified_timestamp option;The last time the invoice unit was updated. This is important to determine the version of invoice unit configuration used to create the invoices. Any invoice created after this modified time will use this invoice unit configuration.
*)rule : invoice_unit_rule option;An InvoiceUnitRule object used the categorize invoice units.
tax_inheritance_disabled : tax_inheritance_disabled_flag option;Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
*)description : description_string option;The assigned description for an invoice unit. This information can't be modified or deleted.
*)name : invoice_unit_name option;A unique name that is distinctive within your Amazon Web Services.
*)invoice_receiver : account_id_string option;The account that receives invoices related to the invoice unit.
*)invoice_unit_arn : invoice_unit_arn_string option;ARN to identify an invoice unit. This information can't be modified or deleted.
*)}An invoice unit is a set of mutually exclusive accounts that correspond to your business entity. Invoice units allow you separate Amazon Web Services account costs and configures your invoice for each business entity going forward.
type nonrec invoice_units = invoice_unit listtype nonrec list_invoice_units_response = {next_token : next_token_string option;The next token used to indicate where the returned list should start from.
*)invoice_units : invoice_units option;An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
*)}type nonrec invoice_unit_names = invoice_unit_name listtype nonrec account_id_list = account_id_string listtype nonrec filters = {bill_source_accounts : account_id_list option;A list of Amazon Web Services account IDs used to filter invoice units. These are payer accounts from other Organizations that have delegated their billing responsibility to the receiver account through the billing transfer feature.
*)accounts : account_id_list option;You can specify a list of Amazon Web Services account IDs inside filters to return invoice units that match only the specified accounts. If multiple accounts are provided, the result is an OR condition (match any) of the specified accounts. The specified account IDs are matched with either the receiver or the linked accounts in the rules.
invoice_receivers : account_id_list option;You can specify a list of Amazon Web Services account IDs inside filters to return invoice units that match only the specified accounts. If multiple accounts are provided, the result is an OR condition (match any) of the specified accounts. This filter only matches the specified accounts on the invoice receivers of the invoice units.
names : invoice_unit_names option;An optional input to the list API. You can specify a list of invoice unit names inside filters to return invoice units that match only the specified invoice unit names. If multiple names are provided, the result is an OR condition (match any) of the specified invoice unit names.
}An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are InvoiceReceivers, Names, and Accounts.
type nonrec list_invoice_units_request = {as_of : as_of_timestamp option;The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if the AsOf time is set to before it was deleted. If an AsOf is not provided, the default value is the current time.
max_results : max_results_integer option;The maximum number of invoice units that can be returned.
*)next_token : next_token_string option;The next token used to indicate where the returned list should start from.
*)filters : filters option;An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are InvoiceReceivers, Names, and Accounts.
}type nonrec bill_source_account_list = account_id_string listtype nonrec entity = {billing_entity : billing_entity option;Helps you identify whether your invoices are for Amazon Web Services Marketplace or for purchases of other Amazon Web Services services.
*)invoicing_entity : basic_string option;The name of the entity that issues the Amazon Web Services invoice.
*)}The organization name providing Amazon Web Services services.
The billing period for which you want to retrieve invoice-related documents.
type nonrec discounts_breakdown_amount = {rate : basic_string option;The details for the discount rate..
*)amount : basic_string option;The discounted amount.
*)description : basic_string option;The list of discounts information.
*)}The discounted amount.
type nonrec discounts_breakdown_amount_list = discounts_breakdown_amount listtype nonrec discounts_breakdown = {total_amount : basic_string option;The discount's total amount.
*)breakdown : discounts_breakdown_amount_list option;The list of discounts information.
*)}The discounts details.
type nonrec fees_breakdown_amount = {rate : basic_string option;Details about the rate amount.
*)amount : basic_string option;The fee amount.
*)description : basic_string option;The list of fees information.
*)}The fee amount.
type nonrec fees_breakdown_amount_list = fees_breakdown_amount listtype nonrec fees_breakdown = {total_amount : basic_string option;The total amount of fees.
*)breakdown : fees_breakdown_amount_list option;The list of fees information.
*)}The details of fees.
type nonrec amount_breakdown = {fees : fees_breakdown option;The fee amount.
*)taxes : taxes_breakdown option;The tax amount.
*)discounts : discounts_breakdown option;The discounted amount.
*)sub_total_amount : basic_string option;The total of a set of the breakdown.
*)}Details about how the total amount was calculated and categorized.
type nonrec currency_exchange_details = {rate : basic_string option;The currency exchange rate.
*)target_currency_code : basic_string option;The exchange target currency.
*)source_currency_code : basic_string option;The exchange source currency.
*)}The details of currency exchange.
type nonrec invoice_currency_amount = {currency_exchange_details : currency_exchange_details option;The details of currency exchange.
*)amount_breakdown : amount_breakdown option;Details about the invoice currency amount.
*)currency_code : currency_code option;The currency dominion of the invoice document.
*)total_amount_before_tax : basic_string option;Details about the invoice total amount before tax.
*)total_amount : basic_string option;The invoice currency amount.
*)}The amount charged after taxes, in the preferred currency.
type nonrec invoice_summary = {payment_currency_amount : invoice_currency_amount option;The summary with the customer configured currency.
*)tax_currency_amount : invoice_currency_amount option;The summary with the tax currency.
*)base_currency_amount : invoice_currency_amount option;The summary with the product and service currency.
*)einvoice_delivery_status : einvoice_delivery_status option;The e-invoice delivery status.
*)purchase_order_number : basic_string option;The purchase order number associated to the invoice.
*)original_invoice_id : basic_string option;The initial or original invoice ID.
*)commercial_invoice_id : basic_string option;The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice.
*)invoice_type : invoice_type option;The type of invoice.
*)bill_type : bill_type option;The type of the bill.
*)invoice_frequency : invoice_frequency option;The frequency of the invoice.
*)billing_period : billing_period option;The billing period of the invoice-related document.
*)entity : entity option;The organization name providing Amazon Web Services services.
*)receiver_role : receiver_role option;The role of the invoice receiver.
*)bill_source_accounts_total_count : Smaws_Lib.Smithy_api.Types.integer option;The total number of accounts that are the bill source of the invoice.
*)bill_source_accounts : bill_source_account_list option;The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.
*)due_date : Smaws_Lib.Smithy_api.Types.timestamp option;The invoice due date.
*)issued_date : Smaws_Lib.Smithy_api.Types.timestamp option;The issued date of the invoice.
*)invoice_id : basic_string option;The invoice ID.
*)account_id : account_id_string option;The Amazon Web Services account ID.
*)}The invoice that the API retrieved.
type nonrec invoice_summaries = invoice_summary listtype nonrec list_invoice_summaries_response = {next_token : next_token_string option;The token to use to retrieve the next set of results, or null if there are no more results.
*)invoice_summaries : invoice_summaries;List of key (summary level) invoice details without line item details.
*)}type nonrec invoice_summaries_selector = {value : string_without_new_line;The value of the query identifier.
*)resource_type : list_invoice_summaries_resource_type;The query identifier type (INVOICE_ID or ACCOUNT_ID).
}Specifies the invoice summary.
type nonrec date_interval = {end_date : Smaws_Lib.Smithy_api.Types.timestamp;The end of the time period that you want invoice-related documents for. The end date is exclusive. For example, if end is 2019-01-10, Amazon Web Services retrieves invoice-related documents from the start date up to, but not including, 2018-01-10.
start_date : Smaws_Lib.Smithy_api.Types.timestamp;The beginning of the time period that you want invoice-related documents for. The start date is inclusive. For example, if start is 2019-01-01, AWS retrieves invoices starting at 2019-01-01 up to the end date.
}The time period that you want invoice-related documents for.
type nonrec invoice_summaries_filter = {receiver_role : receiver_role option;The role of the invoice receiver to filter by.
When ReceiverRole is specified:
2025-06-01. Queries for periods before 2025-06-01 return a validation error.TimeInterval supports a time interval of up to 5 years. Without ReceiverRole, TimeInterval is limited to one month.invoicing_entity : basic_string option;The name of the entity that issues the Amazon Web Services invoice.
*)billing_period : billing_period option;The billing period associated with the invoice documents.
*)time_interval : date_interval option;The date range for invoice summary retrieval.
*)}Filters for your invoice summaries.
type nonrec list_invoice_summaries_request = {max_results : invoice_summaries_max_results option;The maximum number of invoice summaries a paginated response can contain.
*)next_token : next_token_string option;The token for the next set of results. (You received this token from a previous call.)
*)filter : invoice_summaries_filter option;Filters you can use to customize your invoice summary.
*)selector : invoice_summaries_selector;The option to retrieve details for a specific invoice by providing its unique ID. Alternatively, access information for all invoices linked to the account by providing an account ID.
*)}type nonrec get_procurement_portal_preference_response = {procurement_portal_preference : procurement_portal_preference;The detailed configuration of the requested procurement portal preference.
*)}type nonrec get_procurement_portal_preference_request = {procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference to retrieve.
*)}type nonrec get_invoice_unit_response = {last_modified : last_modified_timestamp option;The most recent date the invoice unit response was updated.
*)rule : invoice_unit_rule option;tax_inheritance_disabled : tax_inheritance_disabled_flag option;Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
*)description : description_string option;The assigned description for an invoice unit.
*)name : invoice_unit_name option;The unique name of the invoice unit that is shown on the generated invoice.
*)invoice_receiver : account_id_string option;The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
*)invoice_unit_arn : invoice_unit_arn_string option;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec get_invoice_unit_request = {as_of : as_of_timestamp option;The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if the AsOf time is set to before it was deleted. If an AsOf is not provided, the default value is the current time.
invoice_unit_arn : invoice_unit_arn_string;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec invoice_pd_f = {supplemental_documents : supplemental_documents option;List of supplemental documents associated with the invoice.
*)document_url_expiration_date : Smaws_Lib.Smithy_api.Types.timestamp option;The pre-signed URL expiration date of the invoice document.
*)document_url : string_without_new_line option;The pre-signed URL to download the invoice document.
*)invoice_id : string_without_new_line option;Your unique invoice ID.
*)}Invoice document data.
type nonrec get_invoice_pdf_response = {invoice_pd_f : invoice_pd_f option;The invoice document and supplemental documents associated with the invoice.
*)}type nonrec get_invoice_pdf_request = {invoice_id : string_without_new_line;Your unique invoice ID.
*)}type nonrec delete_procurement_portal_preference_response = {procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the deleted procurement portal preference.
*)}type nonrec delete_procurement_portal_preference_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the procurement portal preference to delete.
*)}type nonrec delete_invoice_unit_response = {invoice_unit_arn : invoice_unit_arn_string option;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec delete_invoice_unit_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)invoice_unit_arn : invoice_unit_arn_string;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec create_procurement_portal_preference_response = {procurement_portal_preference_arn : procurement_portal_preference_arn_string;The Amazon Resource Name (ARN) of the created procurement portal preference.
*)}type nonrec create_procurement_portal_preference_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)contacts : contacts;List of contact information for portal administrators and technical contacts responsible for the e-invoice integration.
*)purchase_order_retrieval_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Indicates whether purchase order retrieval is enabled for this procurement portal preference. Set to true to enable PO retrieval, false to disable.
*)einvoice_delivery_preference : einvoice_delivery_preference option;Specifies the e-invoice delivery configuration including document types, attachment types, and customization settings for the portal.
*)einvoice_delivery_enabled : Smaws_Lib.Smithy_api.Types.boolean_;Indicates whether e-invoice delivery is enabled for this procurement portal preference. Set to true to enable e-invoice delivery, false to disable.
*)test_env_preference : test_env_preference_input option;Configuration settings for the test environment of the procurement portal. Includes test credentials and endpoints that are used for validation before production deployment.
*)procurement_portal_instance_endpoint : basic_string_without_space option;The endpoint URL where e-invoices will be delivered to the procurement portal. Must be a valid HTTPS URL.
*)selector : procurement_portal_preference_selector option;supplier_identifier : basic_string_without_space;The unique identifier for the supplier in the procurement portal.
*)supplier_domain : supplier_domain;The domain identifier for the supplier in the procurement portal.
*)buyer_identifier : basic_string_without_space;The unique identifier for the buyer in the procurement portal.
*)buyer_domain : buyer_domain;The domain identifier for the buyer in the procurement portal.
*)procurement_portal_name : procurement_portal_name;The name of the procurement portal.
*)}type nonrec create_invoice_unit_response = {invoice_unit_arn : invoice_unit_arn_string option;The ARN to identify an invoice unit. This information can't be modified or deleted.
*)}type nonrec create_invoice_unit_request = {client_token : basic_string_without_space option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)rule : invoice_unit_rule;The InvoiceUnitRule object used to create invoice units.
tax_inheritance_disabled : tax_inheritance_disabled_flag option;Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
*)description : description_string option;The invoice unit's description. This can be changed at a later time.
*)invoice_receiver : account_id_string;The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
*)name : invoice_unit_name;The unique name of the invoice unit that is shown on the generated invoice. This can't be changed once it is set. To change this name, you must delete the invoice unit recreate.
*)}type nonrec batch_get_invoice_profile_response = {profiles : profile_list option;A list of invoice profiles corresponding to the requested accounts.
*)}type nonrec batch_get_invoice_profile_request = {account_ids : account_id_list;Retrieves the corresponding invoice profile data for these account IDs.
*)}