Send late notices to its client by email as PDF

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
POST /api-v1/late-notice/send-by-email

Generates late notice PDFs and sends them by email. Exactly one of the following parameters must be provided: clientContactId or salesPaymentId. These parameters are mutually exclusive.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Query parameters

  • type string Required

    Values are REMINDER or STATEMENT.

  • clientContactId integer(int64)

    Client contact ID. Required when salesPaymentId is not provided. Cannot be used together with salesPaymentId.

  • salesPaymentId integer(int64)

    Sales payment ID. Required when clientContactId is not provided. Cannot be used together with clientContactId.

  • documentTemplateId integer(int64) Required

    Document template ID for generating late notice pdf file

  • useLetterhead boolean Required

    Whether to use letterhead in generated document

  • increaseLateNoticeNumber boolean

    Not used when Type is set to STATEMENT and clientContactId is provided.

  • qr boolean

    This parameter is applicable only when Type is set to REMINDER and clientContactId is provided.

Responses

  • 200 application/json

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/late-notice/send-by-email
curl \
 --request POST 'https://wyzio.app/api-v1/late-notice/send-by-email?type=REMINDER&documentTemplateId=420018384&useLetterhead=false'
Response examples (200)
{}