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
<PackageReference Include="Reimaginate.Orchestrator.Xero" Version="1.1.5" />
<PackageVersion Include="Reimaginate.Orchestrator.Xero" Version="1.1.5" />
<PackageReference Include="Reimaginate.Orchestrator.Xero" />
paket add Reimaginate.Orchestrator.Xero --version 1.1.5
#r "nuget: Reimaginate.Orchestrator.Xero, 1.1.5"
#:package Reimaginate.Orchestrator.Xero@1.1.5
#addin nuget:?package=Reimaginate.Orchestrator.Xero&version=1.1.5
#tool nuget:?package=Reimaginate.Orchestrator.Xero&version=1.1.5
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.SearchContactsXero.GetContactXero.CreateContactXero.UpdateContactXero.SearchInvoicesXero.GetInvoiceXero.CreateInvoiceXero.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 | Versions 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. |
-
net10.0
- FluentValidation (>= 12.1.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Newtonsoft.Json (>= 13.0.4)
- Reimaginate.Mediator.Abstractions (>= 1.3.0)
- Reimaginate.Mediator.SourceGenerator (>= 1.3.0)
- Reimaginate.Orchestrator.Abstractions (>= 1.1.5)
- Xero.NetStandard.OAuth2 (>= 18.0.0)
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 |