Codat.Sync.Expenses 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Codat.Sync.Expenses --version 2.1.0
NuGet\Install-Package Codat.Sync.Expenses -Version 2.1.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="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codat.Sync.Expenses --version 2.1.0
#r "nuget: Codat.Sync.Expenses, 2.1.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=2.1.0

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

Sync for Expenses

Embedded accounting integrations for corporate card providers.

SDK Installation

Nuget

dotnet add package Codat.Sync.Expenses

Example Usage

using CodatSyncExpenses;
using CodatSyncExpenses.Models.Shared;
using CodatSyncExpenses.Models.Operations;

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

var res = await sdk.Accounts.CreateAsync(new CreateAccountRequest() {
    Account = new Account() {
        Currency = "EUR",
        CurrentBalance = 0M,
        Description = "Invoices the business has issued but has not yet collected payment on.",
        FullyQualifiedCategory = "Asset.Current",
        FullyQualifiedName = "Cash On Hand",
        Id = "1b6266d1-1e44-46c5-8eb5-a8f98e03124e",
        IsBankAccount = false,
        Metadata = new AccountMetadata() {
            IsDeleted = false,
        },
        ModifiedDate = "2022-10-23T00:00:00.000Z",
        Name = "Accounts Receivable",
        NominalCode = "610",
        SourceModifiedDate = "2022-10-23T00:00:00.000Z",
        Status = CodatSyncExpenses.Models.Shared.AccountStatus.Active,
        Type = CodatSyncExpenses.Models.Shared.AccountType.Asset,
        ValidDatatypeLinks = new List<AccountValidDataTypeLinks>() {
            new AccountValidDataTypeLinks() {
                Links = new List<string>() {
                    "suscipit",
                },
                Property = "iure",
            },
        },
    },
    AllowSyncOnPushComplete = false,
    CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002",
    ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171",
    TimeoutInMinutes = 297534,
});

// handle response

Available Resources and Operations

Accounts

Companies

Configuration

Connections

Customers

Expenses

ManageData

PushOperations

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

Suppliers

Sync

TransactionStatus

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

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 100 3/20/2024
5.1.0 97 2/14/2024
5.0.0 90 2/4/2024
4.0.0 1,079 12/14/2023
3.2.0 163 10/17/2023
3.1.0 99 10/4/2023
2.1.0 101 9/25/2023
1.1.0 79 9/18/2023
0.8.0 100 9/15/2023
0.7.0 120 9/14/2023
0.6.0 118 9/13/2023
0.4.0 103 9/1/2023