Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xero Node - Only Creates Single Line Invoices #13644

Open
chironaiadmin opened this issue Mar 3, 2025 · 1 comment
Open

Xero Node - Only Creates Single Line Invoices #13644

chironaiadmin opened this issue Mar 3, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@chironaiadmin
Copy link

Describe the problem/error/question

I am trying to create a workflow to create invoices from pdf files using open ai and xero nodes. I can get xero to create an invoice, but it will only create the invoice with one item line, which doesnt really help as a lot of the purchase orders i receive are multi-line (from 1-20 items)

What is the error message (if any)?

Please share your workflow/screenshots/recording

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

{
  "nodes": [
    {
      "parameters": {
        "organizationId": "fc11f50a-9283-4c39-8f2c-59f51e73c9a1",
        "type": "ACCREC",
        "contactId": "={{ $json.ContactID }}",
        "lineItemsUi": {
          "lineItemsValues": [
            {
              "description": "={{ $json.Description }}",
              "quantity": "={{ $json.Quantity }}",
              "unitAmount": "={{ $json.UnitAmount }}",
              "itemCode": "={{ $json.ItemCode }}",
              "accountCode": "200",
              "taxType": "OUTPUT"
            }
          ]
        },
        "additionalFields": {
          "dueDate": "={{ $json.DueDate }}",
          "reference": "={{ $json.Reference }}"
        }
      },
      "type": "n8n-nodes-base.xero",
      "typeVersion": 1,
      "position": [
        3560,
        -120
      ],
      "id": "97ee2e25-0962-4eef-83cb-bdb9fc44adc7",
      "name": "Xero1",
      "credentials": {
        "xeroOAuth2Api": {
          "id": "9f7NKEcLZLaazJBj",
          "name": "Xero account 2"
        }
      }
    }
  ],
  "connections": {
    "Xero1": {
      "main": [
        []
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateId": "2614",
    "templateCredsSetupCompleted": true,
    "instanceId": "76a3d05bae46328f1b4fce054a797218a756ee138faa26a6490ce915e40cb99f"
  }
}

## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->


## Debug info

### core

- n8nVersion: 1.80.3
- platform: docker (cloud)
- nodeJsVersion: 20.18.2
- database: sqlite
- executionMode: regular
- concurrency: 5
- license: community

### storage

- success: all
- error: all
- progress: false
- manual: true
- binaryMode: filesystem

### pruning

- enabled: true
- maxAge: 168 hours
- maxCount: 2500 executions

### client

- userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/133.0.0.0 safari/537.36
- isTouchDevice: false

Generated at: 2025-02-26T15:46:51.258Z}
@Joffcom
Copy link
Member

Joffcom commented Mar 3, 2025

Hey @chironaiadmin,

We have created an internal ticket to look into this which we will be tracking as "GHC-1031"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants