Invoicing / Client / update_procurement_portal_preference_status

update_procurement_portal_preference_status

Invoicing.Client.update_procurement_portal_preference_status(**kwargs)

Updates the status of a procurement portal preference, including the activation state of e-invoice delivery and purchase order retrieval features.

See also: AWS API Documentation

Request Syntax

response = client.update_procurement_portal_preference_status(
    ProcurementPortalPreferenceArn='string',
    EinvoiceDeliveryPreferenceStatus='PENDING_VERIFICATION'|'TEST_INITIALIZED'|'TEST_INITIALIZATION_FAILED'|'TEST_FAILED'|'ACTIVE'|'SUSPENDED',
    EinvoiceDeliveryPreferenceStatusReason='string',
    PurchaseOrderRetrievalPreferenceStatus='PENDING_VERIFICATION'|'TEST_INITIALIZED'|'TEST_INITIALIZATION_FAILED'|'TEST_FAILED'|'ACTIVE'|'SUSPENDED',
    PurchaseOrderRetrievalPreferenceStatusReason='string'
)
Parameters:
  • ProcurementPortalPreferenceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the procurement portal preference to update.

  • EinvoiceDeliveryPreferenceStatus (string) – The updated status of the e-invoice delivery preference.

  • EinvoiceDeliveryPreferenceStatusReason (string) – The reason for the e-invoice delivery preference status update, providing context for the change.

  • PurchaseOrderRetrievalPreferenceStatus (string) – The updated status of the purchase order retrieval preference.

  • PurchaseOrderRetrievalPreferenceStatusReason (string) – The reason for the purchase order retrieval preference status update, providing context for the change.

Return type:

dict

Returns:

Response Syntax

{
    'ProcurementPortalPreferenceArn': 'string'
}

Response Structure

  • (dict) –

    • ProcurementPortalPreferenceArn (string) –

      The Amazon Resource Name (ARN) of the procurement portal preference with updated status.

Exceptions

  • Invoicing.Client.exceptions.ResourceNotFoundException

  • Invoicing.Client.exceptions.ConflictException

  • Invoicing.Client.exceptions.ValidationException

  • Invoicing.Client.exceptions.InternalServerException

  • Invoicing.Client.exceptions.ServiceQuotaExceededException

  • Invoicing.Client.exceptions.ThrottlingException

  • Invoicing.Client.exceptions.AccessDeniedException