POST AccountPayment/Save

Saves the specified Account Payment.

Request Information

URI Parameters

None.

Body Parameters

The Account Payment.

Account Payment
NameTypeAdditional informationDescription
ID integer

None.

AccountId integer

None.

Date date

None.

Payee string

String length: inclusive between 0 and 8000

Description string

String length: inclusive between 0 and 100

Reference string

None.

TaxTypeId integer

None.

Comments string

String length: inclusive between 0 and 8000

Exclusive decimal

None.

Tax decimal

None.

Total decimal

None.

Reconciled bool

None.

BankAccountId integer

None.

AnalysisCategoryId1 nullable integer

None.

Gets or sets the Analysis Category identifier. This needs to be a valid AnalysisCategoryId.

AnalysisCategoryId2 nullable integer

None.

Gets or sets the Analysis Category identifier. This needs to be a valid AnalysisCategoryId.

AnalysisCategoryId3 nullable integer

None.

Gets or sets the Analysis Category identifier. This needs to be a valid AnalysisCategoryId.

Accepted bool

None.

BankUniqueIdentifier string

None.

ImportTypeId nullable integer

None.

BankImportMappingId nullable integer

None.

BankAccount_CurrencyId nullable integer

None.

BankAccount_ExchangeRate nullable decimal

None.

Modified nullable date

Read Only / System Generated

Created date

Read Only / System Generated

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "AccountId": 2,
  "Date": "2024-11-15",
  "Payee": "sample string 4",
  "Description": "sample string 5",
  "Reference": "sample string 6",
  "TaxTypeId": 7,
  "Comments": "sample string 8",
  "Exclusive": 9.0,
  "Tax": 10.0,
  "Total": 11.0,
  "Reconciled": true,
  "BankAccountId": 13,
  "AnalysisCategoryId1": 1,
  "AnalysisCategoryId2": 1,
  "AnalysisCategoryId3": 1,
  "Accepted": true,
  "BankUniqueIdentifier": "sample string 15",
  "ImportTypeId": 1,
  "BankImportMappingId": 1,
  "BankAccount_CurrencyId": 1,
  "BankAccount_ExchangeRate": 1.0,
  "Modified": "2024-11-15",
  "Created": "2024-11-15",
  "$TrackingCode": "sample string 17"
}

Response Information

Resource Description

Account Payment
NameTypeAdditional informationDescription
ID integer

None.

AccountId integer

None.

Date date

None.

Payee string

String length: inclusive between 0 and 8000

Description string

String length: inclusive between 0 and 100

Reference string

None.

TaxTypeId integer

None.

Comments string

String length: inclusive between 0 and 8000

Exclusive decimal

None.

Tax decimal

None.

Total decimal

None.

Reconciled bool

None.

BankAccountId integer

None.

AnalysisCategoryId1 nullable integer

None.

Gets or sets the Analysis Category identifier. This needs to be a valid AnalysisCategoryId.

AnalysisCategoryId2 nullable integer

None.

Gets or sets the Analysis Category identifier. This needs to be a valid AnalysisCategoryId.

AnalysisCategoryId3 nullable integer

None.

Gets or sets the Analysis Category identifier. This needs to be a valid AnalysisCategoryId.

Accepted bool

None.

BankUniqueIdentifier string

None.

ImportTypeId nullable integer

None.

BankImportMappingId nullable integer

None.

BankAccount_CurrencyId nullable integer

None.

BankAccount_ExchangeRate nullable decimal

None.

Modified nullable date

Read Only / System Generated

Created date

Read Only / System Generated

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "AccountId": 2,
  "Date": "2024-11-15",
  "Payee": "sample string 4",
  "Description": "sample string 5",
  "Reference": "sample string 6",
  "TaxTypeId": 7,
  "Comments": "sample string 8",
  "Exclusive": 9.0,
  "Tax": 10.0,
  "Total": 11.0,
  "Reconciled": true,
  "BankAccountId": 13,
  "AnalysisCategoryId1": 1,
  "AnalysisCategoryId2": 1,
  "AnalysisCategoryId3": 1,
  "Accepted": true,
  "BankUniqueIdentifier": "sample string 15",
  "ImportTypeId": 1,
  "BankImportMappingId": 1,
  "BankAccount_CurrencyId": 1,
  "BankAccount_ExchangeRate": 1.0,
  "Modified": "2024-11-15",
  "Created": "2024-11-15",
  "$TrackingCode": "sample string 17"
}