Do we have sample request structure for creating a...
# ask-stanley-ai
h
Do we have sample request structure for creating advanced intercompany journal entry using rest api
c
AI generated answer (using internal Slack threads):
Yes, there is a sample request structure for creating an Advanced Intercompany Journal Entry using REST API. Here is the sample request structure:
Copy code
json
{
  "trandate": "2025-01-16",
  "subsidiary": { "id": "1" },
  "currency": { "id": "1" },
  "memo": "testmemo",
  "lines": [
    {
      "account": { "id": "552" },
      "entity": { "id": "322" },
      "debit": 10.00,
      "eliminate": true,
      "lineSubsidiary": { "id": "3" },
      "department": { "id": "1" }
    },
    {
      "account": { "id": "482" },
      "entity": { "id": "1440" },
      "credit": 1000,
      "eliminate": true,
      "lineSubsidiary": { "id": "3" },
      "department": { "id": "1" }
    },
    {
      "account": { "id": "111" },
      "entity": { "id": "1440" },
      "debit": 1000,
      "eliminate": true,
      "lineSubsidiary": { "id": "6" },
      "department": { "id": "1" }
    },
    {
      "account": { "id": "551" },
      "entity": { "id": "319" },
      "credit": 1000,
      "eliminate": true,
      "lineSubsidiary": { "id": "6" },
      "department": { "id": "1" }
    }
  ]
}
Please note that you need to replace the
id
values with your actual account, entity, subsidiary, and department IDs. Also, ensure that the
eliminate
field is set to
true
for all lines. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.830890179
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827875793
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821530282
Please provide your feedback on this answer.