Smaws_Client_InvoicingInvoicing client library built on EIO.
module Types : sig ... endval make_validation_exception_field :
message:Types.basic_string ->
name:Types.basic_string ->
unit ->
Types.validation_exception_fieldval make_update_procurement_portal_preference_status_response :
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.update_procurement_portal_preference_status_responseval make_update_procurement_portal_preference_status_request :
?client_token:Types.basic_string_without_space ->
?purchase_order_retrieval_preference_status_reason:Types.basic_string ->
?purchase_order_retrieval_preference_status:
Types.procurement_portal_preference_status ->
?einvoice_delivery_preference_status_reason:Types.basic_string ->
?einvoice_delivery_preference_status:
Types.procurement_portal_preference_status ->
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.update_procurement_portal_preference_status_requestval make_update_invoice_unit_response :
?invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.update_invoice_unit_responseval make_invoice_unit_rule :
?bill_source_accounts:Types.rule_account_id_list ->
?linked_accounts:Types.rule_account_id_list ->
unit ->
Types.invoice_unit_ruleval make_update_invoice_unit_request :
?client_token:Types.basic_string_without_space ->
?rule:Types.invoice_unit_rule ->
?tax_inheritance_disabled:Types.tax_inheritance_disabled_flag ->
?description:Types.description_string ->
invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.update_invoice_unit_requestval make_untag_resource_request :
resource_tag_keys:Types.resource_tag_key_list ->
resource_arn:Types.tagris_arn ->
unit ->
Types.untag_resource_requestval make_test_env_preference_input :
?procurement_portal_instance_endpoint:Types.basic_string_without_space ->
?procurement_portal_shared_secret:Types.basic_string_without_space ->
supplier_identifier:Types.basic_string_without_space ->
supplier_domain:Types.supplier_domain ->
buyer_identifier:Types.basic_string_without_space ->
buyer_domain:Types.buyer_domain ->
unit ->
Types.test_env_preference_inputval make_test_env_preference :
?purchase_order_retrieval_endpoint:Types.basic_string_without_space ->
?procurement_portal_instance_endpoint:Types.basic_string_without_space ->
?procurement_portal_shared_secret:Types.basic_string_without_space ->
supplier_identifier:Types.basic_string_without_space ->
supplier_domain:Types.supplier_domain ->
buyer_identifier:Types.basic_string_without_space ->
buyer_domain:Types.buyer_domain ->
unit ->
Types.test_env_preferenceval make_taxes_breakdown_amount :
?rate:Types.basic_string ->
?amount:Types.basic_string ->
?description:Types.basic_string ->
unit ->
Types.taxes_breakdown_amountval make_taxes_breakdown :
?total_amount:Types.basic_string ->
?breakdown:Types.taxes_breakdown_amount_list ->
unit ->
Types.taxes_breakdownval make_resource_tag :
value:Types.resource_tag_value ->
key:Types.resource_tag_key ->
unit ->
Types.resource_tagval make_tag_resource_request :
resource_tags:Types.resource_tag_list ->
resource_arn:Types.tagris_arn ->
unit ->
Types.tag_resource_requestval make_supplemental_document :
?document_url_expiration_date:Smaws_Lib.Smithy_api.Types.timestamp ->
?document_url:Types.string_without_new_line ->
?document_id:Types.string_without_new_line ->
?document_type:Types.supplemental_document_type ->
unit ->
Types.supplemental_documentval make_receiver_address :
?postal_code:Types.basic_string ->
?company_name:Types.basic_string ->
?country_code:Types.basic_string ->
?state_or_region:Types.basic_string ->
?city:Types.basic_string ->
?district_or_county:Types.basic_string ->
?address_line3:Types.basic_string ->
?address_line2:Types.basic_string ->
?address_line1:Types.basic_string ->
unit ->
Types.receiver_addressval make_put_procurement_portal_preference_response :
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.put_procurement_portal_preference_responseval make_procurement_portal_preference_selector :
?seller_of_records:Types.seller_of_records ->
?invoice_unit_arns:Types.invoice_unit_arns ->
unit ->
Types.procurement_portal_preference_selectorval make_purchase_order_data_source :
?purchase_order_data_source_type:Types.purchase_order_data_source_type ->
?einvoice_delivery_document_type:Types.einvoice_delivery_document_type ->
unit ->
Types.purchase_order_data_sourceval make_einvoice_delivery_preference :
?einvoice_delivery_attachment_types:Types.einvoice_delivery_attachment_types ->
einvoice_delivery_activation_date:Smaws_Lib.Smithy_api.Types.timestamp ->
connection_testing_method:Types.connection_testing_method ->
purchase_order_data_sources:Types.purchase_order_data_sources ->
protocol:Types.protocol ->
einvoice_delivery_document_types:Types.einvoice_delivery_document_types ->
unit ->
Types.einvoice_delivery_preferenceval make_contact :
?email:Types.email_string ->
?name:Types.basic_string ->
unit ->
Types.contactval make_put_procurement_portal_preference_request :
?client_token:Types.basic_string_without_space ->
?einvoice_delivery_preference:Types.einvoice_delivery_preference ->
?test_env_preference:Types.test_env_preference_input ->
?procurement_portal_instance_endpoint:Types.basic_string_without_space ->
?procurement_portal_shared_secret:Types.sensitive_basic_string_without_space ->
?selector:Types.procurement_portal_preference_selector ->
contacts:Types.contacts ->
purchase_order_retrieval_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
einvoice_delivery_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.put_procurement_portal_preference_requestval make_invoice_profile :
?tax_registration_number:Types.sensitive_basic_string_without_space ->
?issuer:Types.basic_string_without_space ->
?receiver_email:Types.sensitive_basic_string_without_space ->
?receiver_address:Types.receiver_address ->
?receiver_name:Types.basic_string_without_space ->
?account_id:Types.account_id_string ->
unit ->
Types.invoice_profileval make_procurement_portal_preference_summary :
?purchase_order_retrieval_preference_status_reason:Types.basic_string ->
?purchase_order_retrieval_preference_status:
Types.procurement_portal_preference_status ->
?einvoice_delivery_preference_status_reason:Types.basic_string ->
?einvoice_delivery_preference_status:
Types.procurement_portal_preference_status ->
?selector:Types.procurement_portal_preference_selector ->
last_update_date:Smaws_Lib.Smithy_api.Types.timestamp ->
create_date:Smaws_Lib.Smithy_api.Types.timestamp ->
version:Smaws_Lib.Smithy_api.Types.long ->
purchase_order_retrieval_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
einvoice_delivery_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
supplier_identifier:Types.basic_string_without_space ->
supplier_domain:Types.supplier_domain ->
buyer_identifier:Types.basic_string_without_space ->
buyer_domain:Types.buyer_domain ->
procurement_portal_name:Types.procurement_portal_name ->
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
aws_account_id:Types.account_id_string ->
unit ->
Types.procurement_portal_preference_summaryval make_procurement_portal_preference :
?purchase_order_retrieval_preference_status_reason:Types.basic_string ->
?purchase_order_retrieval_preference_status:
Types.procurement_portal_preference_status ->
?einvoice_delivery_preference_status_reason:Types.basic_string ->
?einvoice_delivery_preference_status:
Types.procurement_portal_preference_status ->
?contacts:Types.contacts ->
?einvoice_delivery_preference:Types.einvoice_delivery_preference ->
?test_env_preference:Types.test_env_preference ->
?purchase_order_retrieval_endpoint:Types.basic_string_without_space ->
?procurement_portal_instance_endpoint:Types.basic_string_without_space ->
?procurement_portal_shared_secret:Types.basic_string_without_space ->
?selector:Types.procurement_portal_preference_selector ->
last_update_date:Smaws_Lib.Smithy_api.Types.timestamp ->
create_date:Smaws_Lib.Smithy_api.Types.timestamp ->
version:Smaws_Lib.Smithy_api.Types.long ->
purchase_order_retrieval_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
einvoice_delivery_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
supplier_identifier:Types.basic_string_without_space ->
supplier_domain:Types.supplier_domain ->
buyer_identifier:Types.basic_string_without_space ->
buyer_domain:Types.buyer_domain ->
procurement_portal_name:Types.procurement_portal_name ->
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
aws_account_id:Types.account_id_string ->
unit ->
Types.procurement_portal_preferenceval make_list_tags_for_resource_response :
?resource_tags:Types.resource_tag_list ->
unit ->
Types.list_tags_for_resource_responseval make_list_tags_for_resource_request :
resource_arn:Types.tagris_arn ->
unit ->
Types.list_tags_for_resource_requestval make_list_procurement_portal_preferences_response :
?next_token:Types.basic_string_without_space ->
?procurement_portal_preferences:Types.procurement_portal_preference_summaries ->
unit ->
Types.list_procurement_portal_preferences_responseval make_list_procurement_portal_preferences_request :
?max_results:Types.max_results ->
?next_token:Types.basic_string_without_space ->
unit ->
Types.list_procurement_portal_preferences_requestval make_invoice_unit :
?last_modified:Types.last_modified_timestamp ->
?rule:Types.invoice_unit_rule ->
?tax_inheritance_disabled:Types.tax_inheritance_disabled_flag ->
?description:Types.description_string ->
?name:Types.invoice_unit_name ->
?invoice_receiver:Types.account_id_string ->
?invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.invoice_unitval make_list_invoice_units_response :
?next_token:Types.next_token_string ->
?invoice_units:Types.invoice_units ->
unit ->
Types.list_invoice_units_responseval make_filters :
?bill_source_accounts:Types.account_id_list ->
?accounts:Types.account_id_list ->
?invoice_receivers:Types.account_id_list ->
?names:Types.invoice_unit_names ->
unit ->
Types.filtersval make_list_invoice_units_request :
?as_of:Types.as_of_timestamp ->
?max_results:Types.max_results_integer ->
?next_token:Types.next_token_string ->
?filters:Types.filters ->
unit ->
Types.list_invoice_units_requestval make_entity :
?billing_entity:Types.billing_entity ->
?invoicing_entity:Types.basic_string ->
unit ->
Types.entityval make_billing_period :
year:Types.year ->
month:Types.month ->
unit ->
Types.billing_periodval make_discounts_breakdown_amount :
?rate:Types.basic_string ->
?amount:Types.basic_string ->
?description:Types.basic_string ->
unit ->
Types.discounts_breakdown_amountval make_discounts_breakdown :
?total_amount:Types.basic_string ->
?breakdown:Types.discounts_breakdown_amount_list ->
unit ->
Types.discounts_breakdownval make_fees_breakdown_amount :
?rate:Types.basic_string ->
?amount:Types.basic_string ->
?description:Types.basic_string ->
unit ->
Types.fees_breakdown_amountval make_fees_breakdown :
?total_amount:Types.basic_string ->
?breakdown:Types.fees_breakdown_amount_list ->
unit ->
Types.fees_breakdownval make_amount_breakdown :
?fees:Types.fees_breakdown ->
?taxes:Types.taxes_breakdown ->
?discounts:Types.discounts_breakdown ->
?sub_total_amount:Types.basic_string ->
unit ->
Types.amount_breakdownval make_currency_exchange_details :
?rate:Types.basic_string ->
?target_currency_code:Types.basic_string ->
?source_currency_code:Types.basic_string ->
unit ->
Types.currency_exchange_detailsval make_invoice_currency_amount :
?currency_exchange_details:Types.currency_exchange_details ->
?amount_breakdown:Types.amount_breakdown ->
?currency_code:Types.currency_code ->
?total_amount_before_tax:Types.basic_string ->
?total_amount:Types.basic_string ->
unit ->
Types.invoice_currency_amountval make_invoice_summary :
?payment_currency_amount:Types.invoice_currency_amount ->
?tax_currency_amount:Types.invoice_currency_amount ->
?base_currency_amount:Types.invoice_currency_amount ->
?tax_authority_status:Types.tax_authority_status ->
?einvoice_delivery_status:Types.einvoice_delivery_status ->
?purchase_order_number:Types.basic_string ->
?original_invoice_id:Types.basic_string ->
?commercial_invoice_id:Types.basic_string ->
?invoice_type:Types.invoice_type ->
?bill_type:Types.bill_type ->
?invoice_frequency:Types.invoice_frequency ->
?billing_period:Types.billing_period ->
?entity:Types.entity ->
?receiver_role:Types.receiver_role ->
?bill_source_accounts_total_count:Smaws_Lib.Smithy_api.Types.integer ->
?bill_source_accounts:Types.bill_source_account_list ->
?due_date:Smaws_Lib.Smithy_api.Types.timestamp ->
?issued_date:Smaws_Lib.Smithy_api.Types.timestamp ->
?invoice_id:Types.basic_string ->
?account_id:Types.account_id_string ->
unit ->
Types.invoice_summaryval make_list_invoice_summaries_response :
?next_token:Types.next_token_string ->
invoice_summaries:Types.invoice_summaries ->
unit ->
Types.list_invoice_summaries_responseval make_invoice_summaries_selector :
value:Types.string_without_new_line ->
resource_type:Types.list_invoice_summaries_resource_type ->
unit ->
Types.invoice_summaries_selectorval make_date_interval :
end_date:Smaws_Lib.Smithy_api.Types.timestamp ->
start_date:Smaws_Lib.Smithy_api.Types.timestamp ->
unit ->
Types.date_intervalval make_invoice_summaries_filter :
?receiver_role:Types.receiver_role ->
?invoicing_entity:Types.basic_string ->
?billing_period:Types.billing_period ->
?time_interval:Types.date_interval ->
unit ->
Types.invoice_summaries_filterval make_list_invoice_summaries_request :
?max_results:Types.invoice_summaries_max_results ->
?next_token:Types.next_token_string ->
?filter:Types.invoice_summaries_filter ->
selector:Types.invoice_summaries_selector ->
unit ->
Types.list_invoice_summaries_requestval make_get_procurement_portal_preference_response :
procurement_portal_preference:Types.procurement_portal_preference ->
unit ->
Types.get_procurement_portal_preference_responseval make_get_procurement_portal_preference_request :
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.get_procurement_portal_preference_requestval make_get_invoice_unit_response :
?last_modified:Types.last_modified_timestamp ->
?rule:Types.invoice_unit_rule ->
?tax_inheritance_disabled:Types.tax_inheritance_disabled_flag ->
?description:Types.description_string ->
?name:Types.invoice_unit_name ->
?invoice_receiver:Types.account_id_string ->
?invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.get_invoice_unit_responseval make_get_invoice_unit_request :
?as_of:Types.as_of_timestamp ->
invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.get_invoice_unit_requestval make_invoice_pd_f :
?supplemental_documents:Types.supplemental_documents ->
?document_url_expiration_date:Smaws_Lib.Smithy_api.Types.timestamp ->
?document_url:Types.string_without_new_line ->
?invoice_id:Types.string_without_new_line ->
unit ->
Types.invoice_pd_fval make_get_invoice_pdf_response :
?invoice_pd_f:Types.invoice_pd_f ->
unit ->
Types.get_invoice_pdf_responseval make_get_invoice_pdf_request :
invoice_id:Types.string_without_new_line ->
unit ->
Types.get_invoice_pdf_requestval make_delete_procurement_portal_preference_response :
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.delete_procurement_portal_preference_responseval make_delete_procurement_portal_preference_request :
?client_token:Types.basic_string_without_space ->
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.delete_procurement_portal_preference_requestval make_delete_invoice_unit_response :
?invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.delete_invoice_unit_responseval make_delete_invoice_unit_request :
?client_token:Types.basic_string_without_space ->
invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.delete_invoice_unit_requestval make_create_procurement_portal_preference_response :
procurement_portal_preference_arn:
Types.procurement_portal_preference_arn_string ->
unit ->
Types.create_procurement_portal_preference_responseval make_create_procurement_portal_preference_request :
?client_token:Types.basic_string_without_space ->
?resource_tags:Types.resource_tag_list ->
?einvoice_delivery_preference:Types.einvoice_delivery_preference ->
?test_env_preference:Types.test_env_preference_input ->
?procurement_portal_instance_endpoint:Types.basic_string_without_space ->
?procurement_portal_shared_secret:Types.sensitive_basic_string_without_space ->
?selector:Types.procurement_portal_preference_selector ->
contacts:Types.contacts ->
purchase_order_retrieval_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
einvoice_delivery_enabled:Smaws_Lib.Smithy_api.Types.boolean_ ->
supplier_identifier:Types.basic_string_without_space ->
supplier_domain:Types.supplier_domain ->
buyer_identifier:Types.basic_string_without_space ->
buyer_domain:Types.buyer_domain ->
procurement_portal_name:Types.procurement_portal_name ->
unit ->
Types.create_procurement_portal_preference_requestval make_create_invoice_unit_response :
?invoice_unit_arn:Types.invoice_unit_arn_string ->
unit ->
Types.create_invoice_unit_responseval make_create_invoice_unit_request :
?client_token:Types.basic_string_without_space ->
?resource_tags:Types.resource_tag_list ->
?tax_inheritance_disabled:Types.tax_inheritance_disabled_flag ->
?description:Types.description_string ->
rule:Types.invoice_unit_rule ->
invoice_receiver:Types.account_id_string ->
name:Types.invoice_unit_name ->
unit ->
Types.create_invoice_unit_requestval make_batch_get_invoice_profile_response :
?profiles:Types.profile_list ->
unit ->
Types.batch_get_invoice_profile_responseval make_batch_get_invoice_profile_request :
account_ids:Types.account_id_list ->
unit ->
Types.batch_get_invoice_profile_requestOperations
module BatchGetInvoiceProfile : sig ... endThis gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization.
module CreateInvoiceUnit : sig ... endThis creates a new invoice unit with the provided definition.
module CreateProcurementPortalPreference : sig ... endThis feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).
module DeleteInvoiceUnit : sig ... endThis deletes an invoice unit with the provided invoice unit ARN.
module DeleteProcurementPortalPreference : sig ... endThis feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).
module GetInvoicePDF : sig ... endReturns a URL to download the invoice document and supplemental documents associated with an invoice. The URLs are pre-signed and have expiration time. For special cases like Brazil, where Amazon Web Services generated invoice identifiers and government provided identifiers do not match, use the Amazon Web Services generated invoice identifier when making API requests. To grant IAM permission to use this operation, the caller needs the invoicing:GetInvoicePDF policy action.
module GetInvoiceUnit : sig ... endThis retrieves the invoice unit definition.
module GetProcurementPortalPreference : sig ... endThis feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).
module ListInvoiceSummaries : sig ... endRetrieves your invoice details programmatically, without line item details.
module ListInvoiceUnits : sig ... endThis fetches a list of all invoice unit definitions for a given account, as of the provided AsOf date.
module ListProcurementPortalPreferences : sig ... endThis feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).
module ListTagsForResource : sig ... endLists the tags for a resource.
module PutProcurementPortalPreference : sig ... endThis feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).
module TagResource : sig ... endAdds a tag to a resource.
module UntagResource : sig ... endRemoves a tag from a resource.
module UpdateInvoiceUnit : sig ... endYou can update the invoice unit configuration at any time, and Amazon Web Services will use the latest configuration at the end of the month.
module UpdateProcurementPortalPreferenceStatus : sig ... endmodule Json_serializers : sig ... endmodule Json_deserializers : sig ... end