Codat.Sync.Expenses 5.2.0

dotnet add package Codat.Sync.Expenses --version 5.2.0
NuGet\Install-Package Codat.Sync.Expenses -Version 5.2.0
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="Codat.Sync.Expenses" Version="5.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codat.Sync.Expenses --version 5.2.0
#r "nuget: Codat.Sync.Expenses, 5.2.0"
#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.
// Install Codat.Sync.Expenses as a Cake Addin
#addin nuget:?package=Codat.Sync.Expenses&version=5.2.0

// Install Codat.Sync.Expenses as a Cake Tool
#tool nuget:?package=Codat.Sync.Expenses&version=5.2.0

Sync for Expenses

Embedded accounting integrations for corporate card providers.

SDK Installation

Nuget

dotnet add package Codat.Sync.Expenses

Example Usage

SDK Example Usage

Example

using Codat.Sync.Expenses;
using Codat.Sync.Expenses.Models.Shared;
using System.Collections.Generic;

var sdk = new CodatSyncExpenses(security: new Security() {
        AuthHeader = "Basic BASE_64_ENCODED(API_KEY)",
    });

CompanyRequestBody req = new CompanyRequestBody() {
    Description = "Requested early access to the new financing scheme.",
    Name = "Bank of Dave",
};

var res = await sdk.Companies.CreateAsync(req);

// handle response

Available Resources and Operations

Companies

Connections

Accounts

Customers

Suppliers

ManageData

PushOperations

  • Get - Get push operation
  • List - List push operations

Configuration

Expenses

Sync

TransactionStatus

  • Get - Get sync transaction
  • List - List sync transactions

Server Selection

Server Selection

Select Server by Index

You can override the default server globally by passing a server index to the serverIndex: number optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:

# Server Variables
0 https://api.codat.io None

Override Server URL Per-Client

The default server can also be overridden globally by passing a URL to the serverUrl: str optional parameter when initializing the SDK client instance. For example:

Authentication

Per-Client Security Schemes

This SDK supports the following security scheme globally:

Name Type Scheme
AuthHeader apiKey API key

You can set the security parameters through the security optional parameter when initializing the SDK client instance. For example:

using Codat.Sync.Expenses;
using Codat.Sync.Expenses.Models.Shared;
using System.Collections.Generic;

var sdk = new CodatSyncExpenses(security: new Security() {
        AuthHeader = "Basic BASE_64_ENCODED(API_KEY)",
    });

CompanyRequestBody req = new CompanyRequestBody() {
    Description = "Requested early access to the new financing scheme.",
    Name = "Bank of Dave",
};

var res = await sdk.Companies.CreateAsync(req);

// handle response

Support

If you encounter any challenges while utilizing our SDKs, please don't hesitate to reach out for assistance. You can raise any issues by contacting your dedicated Codat representative or reaching out to our support team. We're here to help ensure a smooth experience for you.

Library generated by Speakeasy

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
5.2.0 97 3/20/2024
5.1.0 96 2/14/2024
5.0.0 89 2/4/2024
4.0.0 1,073 12/14/2023
3.2.0 162 10/17/2023
3.1.0 98 10/4/2023
2.1.0 100 9/25/2023
1.1.0 78 9/18/2023
0.8.0 99 9/15/2023
0.7.0 119 9/14/2023
0.6.0 117 9/13/2023
0.4.0 102 9/1/2023