POST SalesInvoiceSettings/SalesInvoiceSettings_Update

Request Information

URI Parameters

None.

Body Parameters

SalesInvoiceSettings
NameDescriptionTypeAdditional information
FromAccountNo

string

None.

ToAccountNo

string

None.

TaxAccountNo

string

None.

TaxPurchasesAccountNo

string

None.

ExtraCharge

string

None.

CashAccount

string

None.

PurchaseAccount

string

None.

SalesAccount

string

None.

AccountNoReceivable

string

None.

AccountNoPayable

string

None.

ItemSalesAccount

string

None.

ItemPurchasAccount

string

None.

ItemReturnSalesAccount

string

None.

ItemReturnPurchasAccount

string

None.

FromAccountNoId

integer

None.

ToAccountNoId

integer

None.

TaxAccountNoId

integer

None.

TaxPurchasesAccountNoId

integer

None.

ExtraChargeId

integer

None.

CashAccountId

integer

None.

PurchaseAccountId

integer

None.

SalesAccountId

integer

None.

AccountNoReceivableId

integer

None.

AccountNoPayableId

integer

None.

ItemSalesAccountId

integer

None.

ItemPurchasAccountId

integer

None.

ItemReturnSalesAccountId

integer

None.

ItemReturnPurchasAccountId

integer

None.

CompanyId

integer

None.

Branch

integer

None.

FromAccountNoName

string

None.

ToAccountNoName

string

None.

TaxAccountNoName

string

None.

TaxPurchasesAccountNoName

string

None.

ExtraChargeName

string

None.

CashAccountName

string

None.

PurchaseAccountName

string

None.

SalesAccountName

string

None.

AccountNoReceivableName

string

None.

AccountNoPayableName

string

None.

ItemSalesAccountName

string

None.

ItemPurchasAccountName

string

None.

ItemReturnSalesAccountName

string

None.

ItemReturnPurchasAccountName

string

None.

ShowCostCenter

boolean

None.

ShowUnit

boolean

None.

DiscountType

boolean

None.

ShowCustomersAndVendorsOnChartOfAccounts

boolean

None.

POSCustomer

string

None.

EvaluationType

integer

None.

ShowFinancialDimensions

boolean

None.

IsIntegrationDynamic365

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FromAccountNo": "sample string 1",
  "ToAccountNo": "sample string 2",
  "TaxAccountNo": "sample string 3",
  "TaxPurchasesAccountNo": "sample string 4",
  "ExtraCharge": "sample string 5",
  "CashAccount": "sample string 6",
  "PurchaseAccount": "sample string 7",
  "SalesAccount": "sample string 8",
  "AccountNoReceivable": "sample string 9",
  "AccountNoPayable": "sample string 10",
  "ItemSalesAccount": "sample string 11",
  "ItemPurchasAccount": "sample string 12",
  "ItemReturnSalesAccount": "sample string 13",
  "ItemReturnPurchasAccount": "sample string 14",
  "FromAccountNoId": 15,
  "ToAccountNoId": 16,
  "TaxAccountNoId": 17,
  "TaxPurchasesAccountNoId": 18,
  "ExtraChargeId": 19,
  "CashAccountId": 20,
  "PurchaseAccountId": 21,
  "SalesAccountId": 22,
  "AccountNoReceivableId": 23,
  "AccountNoPayableId": 24,
  "ItemSalesAccountId": 25,
  "ItemPurchasAccountId": 26,
  "ItemReturnSalesAccountId": 27,
  "ItemReturnPurchasAccountId": 28,
  "CompanyId": 29,
  "Branch": 30,
  "FromAccountNoName": "sample string 31",
  "ToAccountNoName": "sample string 32",
  "TaxAccountNoName": "sample string 33",
  "TaxPurchasesAccountNoName": "sample string 34",
  "ExtraChargeName": "sample string 35",
  "CashAccountName": "sample string 36",
  "PurchaseAccountName": "sample string 37",
  "SalesAccountName": "sample string 38",
  "AccountNoReceivableName": "sample string 39",
  "AccountNoPayableName": "sample string 40",
  "ItemSalesAccountName": "sample string 41",
  "ItemPurchasAccountName": "sample string 42",
  "ItemReturnSalesAccountName": "sample string 43",
  "ItemReturnPurchasAccountName": "sample string 44",
  "ShowCostCenter": true,
  "ShowUnit": true,
  "DiscountType": true,
  "ShowCustomersAndVendorsOnChartOfAccounts": true,
  "POSCustomer": "sample string 49",
  "EvaluationType": 50,
  "ShowFinancialDimensions": true,
  "IsIntegrationDynamic365": true
}

application/xml, text/xml

Sample:
<SalesInvoiceSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <AccountNoPayable>sample string 10</AccountNoPayable>
  <AccountNoPayableId>24</AccountNoPayableId>
  <AccountNoPayableName>sample string 40</AccountNoPayableName>
  <AccountNoReceivable>sample string 9</AccountNoReceivable>
  <AccountNoReceivableId>23</AccountNoReceivableId>
  <AccountNoReceivableName>sample string 39</AccountNoReceivableName>
  <Branch>30</Branch>
  <CashAccount>sample string 6</CashAccount>
  <CashAccountId>20</CashAccountId>
  <CashAccountName>sample string 36</CashAccountName>
  <CompanyId>29</CompanyId>
  <DiscountType>true</DiscountType>
  <EvaluationType>50</EvaluationType>
  <ExtraCharge>sample string 5</ExtraCharge>
  <ExtraChargeId>19</ExtraChargeId>
  <ExtraChargeName>sample string 35</ExtraChargeName>
  <FromAccountNo>sample string 1</FromAccountNo>
  <FromAccountNoId>15</FromAccountNoId>
  <FromAccountNoName>sample string 31</FromAccountNoName>
  <IsIntegrationDynamic365>true</IsIntegrationDynamic365>
  <ItemPurchasAccount>sample string 12</ItemPurchasAccount>
  <ItemPurchasAccountId>26</ItemPurchasAccountId>
  <ItemPurchasAccountName>sample string 42</ItemPurchasAccountName>
  <ItemReturnPurchasAccount>sample string 14</ItemReturnPurchasAccount>
  <ItemReturnPurchasAccountId>28</ItemReturnPurchasAccountId>
  <ItemReturnPurchasAccountName>sample string 44</ItemReturnPurchasAccountName>
  <ItemReturnSalesAccount>sample string 13</ItemReturnSalesAccount>
  <ItemReturnSalesAccountId>27</ItemReturnSalesAccountId>
  <ItemReturnSalesAccountName>sample string 43</ItemReturnSalesAccountName>
  <ItemSalesAccount>sample string 11</ItemSalesAccount>
  <ItemSalesAccountId>25</ItemSalesAccountId>
  <ItemSalesAccountName>sample string 41</ItemSalesAccountName>
  <POSCustomer>sample string 49</POSCustomer>
  <PurchaseAccount>sample string 7</PurchaseAccount>
  <PurchaseAccountId>21</PurchaseAccountId>
  <PurchaseAccountName>sample string 37</PurchaseAccountName>
  <SalesAccount>sample string 8</SalesAccount>
  <SalesAccountId>22</SalesAccountId>
  <SalesAccountName>sample string 38</SalesAccountName>
  <ShowCostCenter>true</ShowCostCenter>
  <ShowCustomersAndVendorsOnChartOfAccounts>true</ShowCustomersAndVendorsOnChartOfAccounts>
  <ShowFinancialDimensions>true</ShowFinancialDimensions>
  <ShowUnit>true</ShowUnit>
  <TaxAccountNo>sample string 3</TaxAccountNo>
  <TaxAccountNoId>17</TaxAccountNoId>
  <TaxAccountNoName>sample string 33</TaxAccountNoName>
  <TaxPurchasesAccountNo>sample string 4</TaxPurchasesAccountNo>
  <TaxPurchasesAccountNoId>18</TaxPurchasesAccountNoId>
  <TaxPurchasesAccountNoName>sample string 34</TaxPurchasesAccountNoName>
  <ToAccountNo>sample string 2</ToAccountNo>
  <ToAccountNoId>16</ToAccountNoId>
  <ToAccountNoName>sample string 32</ToAccountNoName>
</SalesInvoiceSettings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>