Reimaginate.Orchestrator.Xero 1.1.5

dotnet add package Reimaginate.Orchestrator.Xero --version 1.1.5
                    
NuGet\Install-Package Reimaginate.Orchestrator.Xero -Version 1.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Reimaginate.Orchestrator.Xero" Version="1.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Reimaginate.Orchestrator.Xero" Version="1.1.5" />
                    
Directory.Packages.props
<PackageReference Include="Reimaginate.Orchestrator.Xero" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Reimaginate.Orchestrator.Xero --version 1.1.5
                    
#r "nuget: Reimaginate.Orchestrator.Xero, 1.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Reimaginate.Orchestrator.Xero@1.1.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Reimaginate.Orchestrator.Xero&version=1.1.5
                    
Install as a Cake Addin
#tool nuget:?package=Reimaginate.Orchestrator.Xero&version=1.1.5
                    
Install as a Cake Tool

Reimaginate.Orchestrator.Xero

Xero Accounting API workflow actions for Orchestrator hosts.

Use this package when workflows need to search, read, create, or update Xero contacts and sales invoices. The package does not own OAuth flows, token refresh, token storage, or tenant selection state. Hosts provide those concerns through IXeroWorkflowConnectionProvider.

Registration

Register the action handlers in the customer host:

services.AddXeroWorkflowActions(configuration);

If the host uses a custom workflow action resolver, scan this package's action assembly:

using Reimaginate.Orchestrator.Abstractions;
using Reimaginate.Orchestrator.Xero.Actions;

[WorkflowActionResolver]
[ScanAssembly(typeof(XeroWorkflowActionsMarker))]
public partial class WorkflowActionResolver : IWorkflowActionResolver;

Register a host-owned connection provider:

services.AddSingleton<IXeroWorkflowConnectionProvider, CustomerXeroConnectionProvider>();

IXeroWorkflowConnectionProvider receives the workflow TenantKey and returns a fresh access token plus the Xero tenant ID. Workflows should pass logical aliases such as default, au-practice, or customer-42; they should not pass OAuth tokens.

Actions

  • Xero.SearchContacts
  • Xero.GetContact
  • Xero.CreateContact
  • Xero.UpdateContact
  • Xero.SearchInvoices
  • Xero.GetInvoice
  • Xero.CreateInvoice
  • Xero.UpdateInvoice

All actions return Success and FailureReason plus action-specific result fields.

Example Workflow

do:
  - searchContact:
      call: Xero.SearchContacts
      with:
        tenantKey: default
        searchTerm: ada@example.test

  - createContact:
      call: Xero.CreateContact
      with:
        tenantKey: default
        contact:
          name: Ada Lovelace
          emailAddress: ada@example.test

  - createInvoice:
      call: Xero.CreateInvoice
      with:
        tenantKey: default
        invoice:
          contactId: ${createContact.contact.contactId}
          invoiceNumber: INV-1001
          reference: Website order 1001
          date: 2026-06-30
          dueDate: 2026-07-14
          status: AUTHORISED
          currencyCode: AUD
          lineItems:
            - description: Implementation services
              accountCode: "200"
              taxType: OUTPUT
              quantity: 1
              unitAmount: 1200.00
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.5 57 7/30/2026
1.1.4 65 7/30/2026
1.1.3-rc.6 29 7/29/2026
1.1.3-rc.5 31 7/29/2026
1.1.3-rc.4 33 7/28/2026
1.1.3-rc.3 33 7/28/2026
1.1.3-rc.2 35 7/28/2026
1.1.3-rc.1 31 7/28/2026
1.1.2 92 7/23/2026
1.1.1 53 7/20/2026
1.1.1-rc.81 61 7/8/2026
1.1.1-rc.80 54 7/8/2026
1.1.1-rc.79 61 7/4/2026
1.1.1-rc.78 59 7/3/2026
1.1.1-rc.77 51 7/3/2026
1.1.1-rc.76 55 6/30/2026