Module Values.EinvoiceDeliveryPreferenceSource

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

Sourcetype nonrec t = {
  1. einvoiceDeliveryDocumentTypes : EinvoiceDeliveryDocumentTypes.t;
    (*

    The types of e-invoice documents to be delivered.

    *)
  2. einvoiceDeliveryAttachmentTypes : EinvoiceDeliveryAttachmentTypes.t option;
    (*

    The types of attachments to include with the e-invoice delivery.

    *)
  3. protocol : Protocol.t;
    (*

    The communication protocol to use for e-invoice delivery.

    *)
  4. purchaseOrderDataSources : PurchaseOrderDataSources.t;
    (*

    The sources of purchase order data to use for e-invoice generation and delivery.

    *)
  5. connectionTestingMethod : ConnectionTestingMethod.t;
    (*

    The method to use for testing the connection to the procurement portal.

    *)
  6. einvoiceDeliveryActivationDate : Timestamp.t;
    (*

    The date when e-invoice delivery should be activated for this preference.

    *)
}
Sourceval context_ : string
Sourceval make : ?einvoiceDeliveryAttachmentTypes:??? -> einvoiceDeliveryDocumentTypes:EinvoiceDeliveryDocumentTypes.t -> protocol:Protocol.t -> purchaseOrderDataSources:PurchaseOrderDataSources.t -> connectionTestingMethod:ConnectionTestingMethod.t -> einvoiceDeliveryActivationDate:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `Enum of string ]) list ] list | `Timestamp of Timestamp.t ]) 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