Type alias InvoiceRejectedEventDTO

InvoiceRejectedEventDTO: {
    eventDate: string;
    eventType: string;
    invoiceId: string;
} & {
    rejection?: {
        message?: string;
        rejectionReason: "UNSOLICITED_SERVICE" | "BAD_SERVICE" | "INCORRECT_AMOUNT";
        totalAmountAccepted: string;
    };
}

Type declaration

  • eventDate: string
  • eventType: string
  • invoiceId: string

Type declaration

  • Optional rejection?: {
        message?: string;
        rejectionReason: "UNSOLICITED_SERVICE" | "BAD_SERVICE" | "INCORRECT_AMOUNT";
        totalAmountAccepted: string;
    }

    Message sent when Requestor rejects a Debit Note or Invoice.

    • Optional message?: string
    • rejectionReason: "UNSOLICITED_SERVICE" | "BAD_SERVICE" | "INCORRECT_AMOUNT"

      Possible reasons to reject a Debit Note or Invoice.

    • totalAmountAccepted: string