API - Create A Credit Note -

API - Create A Credit Note -

Hello,

I'm calling the following: https://www.zoho.com/subscriptions/api/v1/credit-notes/#create-a-credit-note but I receive the following error:  { code: 12020, message: 'Item name or description is mandatory' }

Here is my call
  1.  const data = {
          customer_id: '2497000000240373',
          date: '2023-05-18',
          creditnote_number: 'CN-00008',
          ignore_auto_number_generation: false,
          line_items: [
            {
              description: 'prorated amount for items',
              code: 'au_currency',
              quantity: 1,
              price: 5
            }
          ]
        }
I can't see what I am doing wrong,