{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rillet Accounting API Key Journal Entries API",
    "version": "v4.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Journal Entries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists all journal entries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rillet.com/journal-entries",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of rows to return in the page."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor to navigate through the full response."
              },
              {
                "name": "subsidiary_id",
                "value": "",
                "type": "query",
                "description": "Subsidiary to be used when filtering data"
              },
              {
                "name": "updated.gt",
                "value": "",
                "type": "query",
                "description": "Filter journal entries updated after this timestamp"
              },
              {
                "name": "date.gte",
                "value": "",
                "type": "query",
                "description": "Filter journal entries with a posting date on or after this date (inclusive)"
              },
              {
                "name": "date.lte",
                "value": "",
                "type": "query",
                "description": "Filter journal entries with a posting date on or before this date (inclusive)"
              },
              {
                "name": "account_ids",
                "value": "11111111-1111-1111-1111-111111111111,22222222-2222-2222-2222-222222222222",
                "type": "query",
                "description": "Filter journal entries that have at least one line item posting to any of these account ids (comma-separated)"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "the field the journal entries should be sorted by descending (either created or updated)"
              }
            ]
          },
          "docs": "Returns GL journal entries with rich filtering (subsidiary, account, date range, reconciliation state).\nUse entry ids with retrieve-a-journal-entry before attempting updates or deletes.\n"
        },
        {
          "info": {
            "name": "Creates a journal entry",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rillet.com/journal-entries",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Posts a balanced manual journal entry with explicit debit and credit lines, posting date, and subsidiary scope for GL corrections.\nPrefer dedicated AR or AP APIs when the business event already exists; reserve this for adjustments your automation cannot model yet.\n"
        },
        {
          "info": {
            "name": "Retrieves a journal entry",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rillet.com/journal-entries/:journal_entry_id",
            "params": [
              {
                "name": "journal_entry_id",
                "value": "",
                "type": "path",
                "description": "UUID of the journal entry to be used in this operation."
              }
            ]
          },
          "docs": "Retrieves a journal entry with every line, account reference, and reconciliation flag needed for close review or downstream edits.\nCall before update-a-journal-entry so you can merge new edits with existing lines without accidentally dropping balances.\n"
        },
        {
          "info": {
            "name": "Updates a journal entry",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.rillet.com/journal-entries/:journal_entry_id",
            "params": [
              {
                "name": "journal_entry_id",
                "value": "",
                "type": "path",
                "description": "UUID of the journal entry to be used in this operation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces the lines and header metadata on an existing manual journal entry, subject to the same balancing rules as creation.\nAlways include the complete line list retrieved beforehand because partial payloads can clear fields the API treats as optional.\n"
        },
        {
          "info": {
            "name": "Deletes a journal entry",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rillet.com/journal-entries/:journal_entry_id",
            "params": [
              {
                "name": "journal_entry_id",
                "value": "",
                "type": "path",
                "description": "UUID of the journal entry to be used in this operation."
              }
            ]
          },
          "docs": "Deletes a manual journal entry that should be excluded from the ledger, typically prior to period lock while corrections remain allowed.\nVerify dependent reconciliations or downstream consolidations no longer rely on the entry before removal.\n"
        }
      ]
    }
  ],
  "bundled": true
}