Create Recurring Journal Entry Quickbooks Online with Custom API Call

I am using a Custom API call to (hopefully) create recurring Journal Entry. I’ve created a recurring Invoice, so I’m certain it can be done. I can’t find any examples, but I’ve reviewed the QB API and I think I used the correct property names.

Here is the JSON I used.

{
  "JournalEntry": {},
  "Line": [
    {
      "Amount": 100,
      "Entity": "Customer",
      "EntityRef": "7121",
      "AccountRef": "333",
      "Description": "post revenue DEBIT",
      "PostingType": "Debit"
    },
    {
      "Amount": 100,
      "Entity": "Customer",
      "EntityRef": "7121",
      "AccountRef": "333",
      "Description": "desciption for CREDIT",
      "PostingType": "Credit"
    }
  ],
  "RecurringInfo": {
    "RecurType": "Automated",
    "Active": true,
    "ScheduleInfo": {
      "StartDate": "2024-07-03",
      "MaxOccurences": 10,
      "IntervalType": "Monthly",
      "DaysBefore": 2,
      "NumInterval": 1,
      "DayofMonth": 1
    },
    "Name": "Monthly Journal Entry"
  },
  "DocNumber": "JE_Test",
  "PrivateNote": "To spread payments",
  "TxnTaxDetail": {}
}

Here is the error.

1 Like