POST api/SDInvoice/GetCalculatedCharges/{ignoreTax}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ignoreTax

boolean

Default value is False

Body Parameters

InvoiceCalcInput
NameDescriptionTypeAdditional information
BillingCodeType

string

None.

ServiceType

string

None.

InvoiceNum

string

None.

SolutionCode

string

None.

PriceCode

string

None.

TaxCode

string

None.

LaborType

string

None.

UseTax

boolean

None.

UnitCost

decimal number

None.

Quantity

decimal number

None.

IsTaxable

boolean

None.

IsDiscountSpecified

boolean

None.

Discount

decimal number

None.

IsSalesTaxSpecified

boolean

None.

SalesTax

decimal number

None.

IsRetailPriceSpecified

boolean

None.

RetailPrice

decimal number

None.

IsUseTaxAmountSpecified

boolean

None.

UseTaxAmount

decimal number

None.

IsCreatingFromSolutionCode

boolean

None.

IsCreatingFromContract

boolean

None.

TechClass

string

None.

BillByTechClass

boolean

None.

TechNum

string

None.

ItemEntrySource

string

None.

IsMobile

boolean

None.

IsFromInvoice

boolean

None.

CategoryId

string

None.

QuoteNum

string

None.

_QuoteNum

string

None.

IsUnitSalesPriceSpecified

boolean

None.

UnitSalesPrice

decimal number

None.

ApplyMakeAmountZeroCondition

boolean

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BillingCodeType": "sample string 1",
  "ServiceType": "sample string 2",
  "InvoiceNum": "sample string 3",
  "SolutionCode": "sample string 4",
  "PriceCode": "sample string 5",
  "TaxCode": "sample string 6",
  "LaborType": "sample string 7",
  "UseTax": true,
  "UnitCost": 9.0,
  "Quantity": 10.0,
  "IsTaxable": true,
  "IsDiscountSpecified": true,
  "Discount": 13.0,
  "IsSalesTaxSpecified": true,
  "SalesTax": 15.0,
  "IsRetailPriceSpecified": true,
  "RetailPrice": 17.0,
  "IsUseTaxAmountSpecified": true,
  "UseTaxAmount": 19.0,
  "IsCreatingFromSolutionCode": true,
  "IsCreatingFromContract": true,
  "TechClass": "sample string 20",
  "BillByTechClass": true,
  "TechNum": "sample string 21",
  "ItemEntrySource": "sample string 22",
  "IsMobile": true,
  "IsFromInvoice": true,
  "CategoryId": "sample string 25",
  "QuoteNum": "sample string 26",
  "_QuoteNum": "sample string 27",
  "IsUnitSalesPriceSpecified": true,
  "UnitSalesPrice": 29.0,
  "ApplyMakeAmountZeroCondition": true,
  "AccountId": 31,
  "CompanyId": "sample string 32",
  "CreatedBy": "sample string 33",
  "CreatedOn": "2025-12-16T21:54:38.0971888+00:00"
}

application/xml, text/xml

Sample:
<InvoiceCalcInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD.Invoice">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">31</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 32</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 33</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T21:54:38.0971888+00:00</CreatedOn>
  <ApplyMakeAmountZeroCondition>true</ApplyMakeAmountZeroCondition>
  <BillByTechClass>true</BillByTechClass>
  <BillingCodeType>sample string 1</BillingCodeType>
  <CategoryId>sample string 25</CategoryId>
  <Discount>13</Discount>
  <InvoiceNum>sample string 3</InvoiceNum>
  <IsCreatingFromContract>true</IsCreatingFromContract>
  <IsCreatingFromSolutionCode>true</IsCreatingFromSolutionCode>
  <IsDiscountSpecified>true</IsDiscountSpecified>
  <IsFromInvoice>true</IsFromInvoice>
  <IsMobile>true</IsMobile>
  <IsRetailPriceSpecified>true</IsRetailPriceSpecified>
  <IsSalesTaxSpecified>true</IsSalesTaxSpecified>
  <IsTaxable>true</IsTaxable>
  <IsUnitSalesPriceSpecified>true</IsUnitSalesPriceSpecified>
  <IsUseTaxAmountSpecified>true</IsUseTaxAmountSpecified>
  <ItemEntrySource>sample string 22</ItemEntrySource>
  <LaborType>sample string 7</LaborType>
  <PriceCode>sample string 5</PriceCode>
  <Quantity>10</Quantity>
  <QuoteNum>sample string 26</QuoteNum>
  <RetailPrice>17</RetailPrice>
  <SalesTax>15</SalesTax>
  <ServiceType>sample string 2</ServiceType>
  <SolutionCode>sample string 4</SolutionCode>
  <TaxCode>sample string 6</TaxCode>
  <TechClass>sample string 20</TechClass>
  <TechNum>sample string 21</TechNum>
  <UnitCost>9</UnitCost>
  <UnitSalesPrice>29</UnitSalesPrice>
  <UseTax>true</UseTax>
  <UseTaxAmount>19</UseTaxAmount>
  <_QuoteNum>sample string 27</_QuoteNum>
</InvoiceCalcInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />