Codat.Sync.Payroll
2.2.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.Payroll --version 2.2.0
NuGet\Install-Package Codat.Sync.Payroll -Version 2.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.Payroll" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Codat.Sync.Payroll" Version="2.2.0" />
<PackageReference Include="Codat.Sync.Payroll" />
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 Codat.Sync.Payroll --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codat.Sync.Payroll, 2.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.
#addin nuget:?package=Codat.Sync.Payroll&version=2.2.0
#tool nuget:?package=Codat.Sync.Payroll&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sync for Payroll
Push payroll to accounting platforms.
SDK Installation
Nuget
dotnet add package Codat.Sync.Payroll
Example Usage
using CodatSyncPayroll;
using CodatSyncPayroll.Models.Shared;
using CodatSyncPayroll.Models.Operations;
var sdk = new CodatSyncPayrollSDK(
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 = "Cash On Hand",
Id = "1b6266d1-1e44-46c5-8eb5-a8f98e03124e",
Metadata = new AccountMetadata() {},
ModifiedDate = "2022-10-23T00:00:00.000Z",
Name = "Accounts Receivable",
NominalCode = "610",
SourceModifiedDate = "2022-10-23T00:00:00.000Z",
Status = CodatSyncPayroll.Models.Shared.AccountStatus.Active,
SupplementalData = new SupplementalData() {
Content = new Dictionary<string, Dictionary<string, object>>() {
{ "Money", new Dictionary<string, object>() {
{ "blue", "shred" },
} },
},
},
Type = CodatSyncPayroll.Models.Shared.AccountType.Asset,
ValidDatatypeLinks = new List<AccountValidDataTypeLinks>() {
new AccountValidDataTypeLinks() {
Links = new List<string>() {
"abnormally",
},
},
},
},
CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002",
ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171",
});
// handle response
Available Resources and Operations
Accounts
- Create - Create account
- Get - Get account
- GetCreateModel - Get create account model
- List - List accounts
Companies
- Create - Create company
- Delete - Delete a company
- Get - Get company
- List - List companies
- Update - Update company
CompanyInfo
- GetAccountingProfile - Get company accounting profile
Connections
- Create - Create connection
- Delete - Delete connection
- Get - Get connection
- List - List connections
- Unlink - Unlink connection
JournalEntries
- Create - Create journal entry
- Delete - Delete journal entry
- Get - Get journal entry
- GetCreateModel - Get create journal entry model
- List - List journal entries
Journals
- Create - Create journal
- Get - Get journal
- GetCreateModel - Get create journal model
- List - List journals
ManageData
- GetDataStatus - Get data status
- GetPullOperation - Get pull operation
- GetPushOperation - Get push operation
- List - List push operations
- ListPullOperations - List pull operations
- RefreshAllDataTypes - Refresh all data
- RefreshDataType - Refresh data type
TrackingCategories
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. net10.0 was computed. 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.
-
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.