Module Values.CreateProcurementPortalPreferenceRequestSource

This 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.

Sourcetype nonrec t = {
  1. procurementPortalName : ProcurementPortalName.t;
    (*

    The name of the procurement portal.

    *)
  2. buyerDomain : BuyerDomain.t;
    (*

    The domain identifier for the buyer in the procurement portal.

    *)
  3. buyerIdentifier : BasicStringWithoutSpace.t;
    (*

    The unique identifier for the buyer in the procurement portal.

    *)
  4. supplierDomain : SupplierDomain.t;
    (*

    The domain identifier for the supplier in the procurement portal.

    *)
  5. supplierIdentifier : BasicStringWithoutSpace.t;
    (*

    The unique identifier for the supplier in the procurement portal.

    *)
  6. selector : ProcurementPortalPreferenceSelector.t option;
  7. procurementPortalSharedSecret : SensitiveBasicStringWithoutSpace.t option;
    (*

    The shared secret or authentication credential used to establish secure communication with the procurement portal. This value must be encrypted at rest.

    *)
  8. procurementPortalInstanceEndpoint : BasicStringWithoutSpace.t option;
    (*

    The endpoint URL where e-invoices will be delivered to the procurement portal. Must be a valid HTTPS URL.

    *)
  9. 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.

    *)
  10. 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.

    *)
  11. einvoiceDeliveryPreference : EinvoiceDeliveryPreference.t option;
    (*

    Specifies the e-invoice delivery configuration including document types, attachment types, and customization settings for the portal.

    *)
  12. 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.

    *)
  13. contacts : Contacts.t;
    (*

    List of contact information for portal administrators and technical contacts responsible for the e-invoice integration.

    *)
  14. resourceTags : ResourceTagList.t option;
    (*

    The tags to apply to this procurement portal preference resource. Each tag consists of a key and an optional value.

    *)
  15. clientToken : BasicStringWithoutSpace.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval 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 -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t