Codat.Sync.Expenses
0.6.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Codat.Sync.Expenses --version 0.6.0
NuGet\Install-Package Codat.Sync.Expenses -Version 0.6.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="0.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codat.Sync.Expenses --version 0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codat.Sync.Expenses, 0.6.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=0.6.0 // Install Codat.Sync.Expenses as a Cake Tool #tool nuget:?package=Codat.Sync.Expenses&version=0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 = "USD",
CurrentBalance = 0M,
Description = "Invoices the business has issued but has not yet collected payment on.",
FullyQualifiedCategory = "Asset.Current",
FullyQualifiedName = "Fixed Asset",
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>() {
"unde",
},
Property = "nulla",
},
},
},
CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002",
ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171",
TimeoutInMinutes = 544883,
});
// handle response
Available Resources and Operations
accounts
- Create - Create account
companies
- Create - Create company
- Delete - Delete a company
- Get - Get company
- List - List companies
- Update - Update company
configuration
- Get - Get company configuration
- GetMappingOptions - Mapping options
- Set - Set company configuration
connections
- Create - Create connection
- CreatePartnerExpenseConnection - Create Partner Expense connection
- Delete - Delete connection
- Get - Get connection
- List - List connections
- Unlink - Unlink connection
customers
expenses
- Create - Create expense transaction
- Update - Update expense-transactions
- UploadAttachment - Upload attachment
manageData
- Get - Get data status
- GetPullOperation - Get pull operation
- ListPullOperations - List pull operations
- RefreshAllDataTypes - Refresh all data
- RefreshDataType - Refresh data type
pushOperations
suppliers
sync
- Get - Get Sync status
- GetLastSuccessfulSync - Last successful sync
- GetLatestSync - Latest sync status
- InitiateSync - Initiate sync
- List - List sync statuses
transactionStatus
Library generated by Speakeasy
Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- newtonsoft.json (>= 13.0.3)
- nodatime (>= 3.1.9)
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 |
---|---|---|
7.0.0 | 94 | 11/26/2024 |
6.1.0 | 150 | 9/24/2024 |
6.0.0 | 114 | 9/13/2024 |
5.2.0 | 138 | 3/20/2024 |
5.1.0 | 140 | 2/14/2024 |
5.0.0 | 125 | 2/4/2024 |
4.0.0 | 1,182 | 12/14/2023 |
3.2.0 | 192 | 10/17/2023 |
3.1.0 | 151 | 10/4/2023 |
2.1.0 | 149 | 9/25/2023 |
1.1.0 | 130 | 9/18/2023 |
0.8.0 | 147 | 9/15/2023 |
0.7.0 | 166 | 9/14/2023 |
0.6.0 | 151 | 9/13/2023 |
0.4.0 | 148 | 9/1/2023 |