POST api/Cart/GetTaxes
Request Information
URI Parameters
None.
Body Parameters
TaxesParamName | Description | Type | Additional information |
---|---|---|---|
Cotizacion | decimal number |
None. |
|
AccessToken | string |
None. |
|
TipoDeRetiroId | integer |
None. |
|
RetiroId | integer |
None. |
|
CuponId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Cotizacion": 1.0, "AccessToken": "sample string 2", "TipoDeRetiroId": 3, "RetiroId": 4, "CuponId": 1 }
application/xml, text/xml
Sample:
<TaxesParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <AccessToken>sample string 2</AccessToken> <Cotizacion>1</Cotizacion> <CuponId>1</CuponId> <RetiroId>4</RetiroId> <TipoDeRetiroId>3</TipoDeRetiroId> </TaxesParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
TaxesResultName | Description | Type | Additional information |
---|---|---|---|
IVALoc | decimal number |
None. |
|
PercLoc | decimal number |
None. |
|
IVAExt | decimal number |
None. |
|
PercExt | decimal number |
None. |
|
IVADet | Collection of TaxesIVADet |
None. |
|
PercDet | Collection of TaxesPercDet |
None. |
|
ImpTotalCF | decimal number |
None. |
|
Letra | string |
None. |
|
CondFiscal | integer |
None. |
|
HayError | boolean |
None. |
|
Errors | APIErrors |
None. |
Response Formats
application/json, text/json
Sample:
{ "IVALoc": 1.0, "PercLoc": 2.0, "IVAExt": 3.0, "PercExt": 4.0, "IVADet": [ { "AlicuotaId": 1, "Porcentaje": 2.0, "Descripcion": "sample string 3", "ImporteLoc": 4.0, "ImporteExt": 5.0 }, { "AlicuotaId": 1, "Porcentaje": 2.0, "Descripcion": "sample string 3", "ImporteLoc": 4.0, "ImporteExt": 5.0 } ], "PercDet": [ { "Descripcion": "sample string 1", "ImportePercepcion": 2.0 }, { "Descripcion": "sample string 1", "ImportePercepcion": 2.0 } ], "ImpTotalCF": 5.0, "Letra": "sample string 6", "CondFiscal": 1, "HayError": true, "Errors": { "HasErrors": true, "ErrorList": [ { "Message": "sample string 1", "Source": "sample string 2" }, { "Message": "sample string 1", "Source": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<TaxesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <Errors xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <ErrorList> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> </ErrorList> <HasErrors>true</HasErrors> </Errors> <CondFiscal>1</CondFiscal> <HayError>true</HayError> <IVADet> <TaxesIVADet> <AlicuotaId>1</AlicuotaId> <Descripcion>sample string 3</Descripcion> <ImporteExt>5</ImporteExt> <ImporteLoc>4</ImporteLoc> <Porcentaje>2</Porcentaje> </TaxesIVADet> <TaxesIVADet> <AlicuotaId>1</AlicuotaId> <Descripcion>sample string 3</Descripcion> <ImporteExt>5</ImporteExt> <ImporteLoc>4</ImporteLoc> <Porcentaje>2</Porcentaje> </TaxesIVADet> </IVADet> <IVAExt>3</IVAExt> <IVALoc>1</IVALoc> <ImpTotalCF>5</ImpTotalCF> <Letra>sample string 6</Letra> <PercDet> <TaxesPercDet> <Descripcion>sample string 1</Descripcion> <ImportePercepcion>2</ImportePercepcion> </TaxesPercDet> <TaxesPercDet> <Descripcion>sample string 1</Descripcion> <ImportePercepcion>2</ImportePercepcion> </TaxesPercDet> </PercDet> <PercExt>4</PercExt> <PercLoc>2</PercLoc> </TaxesResult>