Values.CreateProcurementPortalPreferenceRequestSourceThis feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews). Creates a procurement portal preference configuration for e-invoice delivery and purchase order retrieval. This preference defines how invoices are delivered to a procurement portal and how purchase orders are retrieved.
type nonrec t = {procurementPortalName : ProcurementPortalName.t;The name of the procurement portal.
*)buyerDomain : BuyerDomain.t;The domain identifier for the buyer in the procurement portal.
*)buyerIdentifier : BasicStringWithoutSpace.t;The unique identifier for the buyer in the procurement portal.
*)supplierDomain : SupplierDomain.t;The domain identifier for the supplier in the procurement portal.
*)supplierIdentifier : BasicStringWithoutSpace.t;The unique identifier for the supplier in the procurement portal.
*)selector : ProcurementPortalPreferenceSelector.t option;procurementPortalInstanceEndpoint : BasicStringWithoutSpace.t option;The endpoint URL where e-invoices will be delivered to the procurement portal. Must be a valid HTTPS URL.
*)testEnvPreference : TestEnvPreferenceInput.t option;Configuration settings for the test environment of the procurement portal. Includes test credentials and endpoints that are used for validation before production deployment.
*)einvoiceDeliveryEnabled : Boolean.t;Indicates whether e-invoice delivery is enabled for this procurement portal preference. Set to true to enable e-invoice delivery, false to disable.
*)einvoiceDeliveryPreference : EinvoiceDeliveryPreference.t option;Specifies the e-invoice delivery configuration including document types, attachment types, and customization settings for the portal.
*)purchaseOrderRetrievalEnabled : Boolean.t;Indicates whether purchase order retrieval is enabled for this procurement portal preference. Set to true to enable PO retrieval, false to disable.
*)contacts : Contacts.t;List of contact information for portal administrators and technical contacts responsible for the e-invoice integration.
*)resourceTags : ResourceTagList.t option;The tags to apply to this procurement portal preference resource. Each tag consists of a key and an optional value.
*)clientToken : BasicStringWithoutSpace.t option;A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
*)}val make :
?selector:??? ->
?procurementPortalSharedSecret:??? ->
?procurementPortalInstanceEndpoint:??? ->
?testEnvPreference:??? ->
?einvoiceDeliveryPreference:??? ->
?resourceTags:??? ->
?clientToken:??? ->
procurementPortalName:ProcurementPortalName.t ->
buyerDomain:BuyerDomain.t ->
buyerIdentifier:BasicStringWithoutSpace.t ->
supplierDomain:SupplierDomain.t ->
supplierIdentifier:BasicStringWithoutSpace.t ->
einvoiceDeliveryEnabled:Boolean.t ->
purchaseOrderRetrievalEnabled:Boolean.t ->
contacts:Contacts.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Structure of (string * [> `String of BasicString.t ]) list ]
list
| `String of BasicStringWithoutSpace.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Enum of string
| `String of InvoiceUnitArnString.t
| `Structure of (string * [> `Enum of string ]) list ]
list
| `String of BasicStringWithoutSpace.t
| `Timestamp of Timestamp.t ])
list ])
list ]