Type alias DebitNoteRejectedEventDTO

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

Type declaration

  • debitNoteId: string
  • eventDate: string
  • eventType: 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