{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ApplyCreditNoteRequest", "title": "ApplyCreditNoteRequest", "type": "object", "properties": { "invoice": { "type": [ "string", "null" ], "format": "uuid", "description": "The invoice to apply the credit note to." }, "applied_date": { "type": "string", "format": "date-time", "description": "Date that the credit note is applied to the invoice." }, "applied_amount": { "type": "string", "format": "decimal", "description": "The amount of credit applied to the invoice." } }, "required": [ "invoice", "applied_date", "applied_amount" ] }