/**
 * @example
 *     {
 *         isDebugMode: true,
 *         runAsync: true,
 *         appliedDate: new Date("2024-01-15T09:30:00.000Z"),
 *         appliedAmount: "applied_amount"
 *     }
 */
export interface ApplyCreditNoteRequest {
    /** Whether to include debug fields (such as log file links) in the response. */
    isDebugMode?: boolean;
    /** Whether or not third-party updates should be run asynchronously. */
    runAsync?: boolean;
    /** The invoice to apply the credit note to. */
    invoice?: string;
    /** Date that the credit note is applied to the invoice. */
    appliedDate: Date;
    /** The amount of credit applied to the invoice. */
    appliedAmount: string;
}
