GET api/vouchers/invoice?saleID={saleID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
saleID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
VoucherDeepDataName | Description | Type | Additional information |
---|---|---|---|
VoucherItems | Collection of VoucherItemData |
None. |
|
PaymentList | Collection of TransactionPaymentData |
None. |
|
IVAExcentoAmount | decimal number |
None. |
|
IVA025Amount | decimal number |
None. |
|
IVA05Amount | decimal number |
None. |
|
IVA105Amount | decimal number |
None. |
|
IVA21Amount | decimal number |
None. |
|
IVA27Amount | decimal number |
None. |
|
SaleID | integer |
None. |
|
SalePointID | integer |
None. |
|
SalePointNumber | integer |
None. |
|
VoucherTypeID | integer |
None. |
|
VoucherAfipCodeEnum | VoucherAfipCodeEnum |
None. |
|
Date | date |
None. |
|
Number | integer |
None. |
|
ClientID | integer |
None. |
|
ClientName | string |
None. |
|
CityName | string |
None. |
|
ProvinceName | string |
None. |
|
StreenNameAndNumber | string |
None. |
|
IdentificationDocumentTypeID | integer |
None. |
|
IdentificationDocumentTypeCode | string |
None. |
|
IdentificationDocumentValue | string |
None. |
|
ResponsibleTypeAfipCode | integer |
None. |
|
ResponsibleTypeName | string |
None. |
|
NetoGravado | decimal number |
None. |
|
NetoExcento | decimal number |
None. |
|
Discount | decimal number |
None. |
|
TotalWithoutTax | decimal number |
None. |
|
IVAAmount | decimal number |
None. |
|
IIBBAlicuota | decimal number |
None. |
|
IIBBPerception | decimal number |
None. |
|
Total | decimal number |
None. |
|
Comment | string |
None. |
|
AFIPValidated | boolean |
None. |
|
DateOfAFIPValidate | date |
None. |
|
DateOfCAEExpire | date |
None. |
|
CAE | string |
None. |
|
ResponseOfAFIP | string |
None. |
|
VoucherTypeToStr | string |
None. |
|
SalePointNumberToStr | string |
None. |
|
NumberToStr | string |
None. |
|
IsElectronic | boolean |
None. |
|
HasElectronicBarCode | boolean |
None. |
|
DateToStr | string |
None. |
|
TimeToStr | string |
None. |
|
NetoGravadoWithSign | decimal number |
None. |
|
NetoExcentoWithSign | decimal number |
None. |
|
TotalWithSign | decimal number |
None. |
|
IVAAmountVoucherType | decimal number |
None. |
|
Subtotal_VoucherA | decimal number |
None. |
|
Subtotal_VoucherBoC | decimal number |
None. |
|
TaxITCAmount | decimal number |
None. |
|
TaxIDCAmount | decimal number |
None. |
|
RG5329Alicuota | decimal number |
None. |
|
RG5329Ammount | decimal number |
None. |
|
TaxPerRetGanancias | decimal number |
None. |
|
TaxPerRetIIBB | decimal number |
None. |
|
TaxPerRetIVA | decimal number |
None. |
|
TaxInternals | decimal number |
None. |
|
TaxMunicipales | decimal number |
None. |
|
TotalOtherTaxs_VoucherA | decimal number |
None. |
|
TotalOtherTaxs_VoucherBoC | decimal number |
None. |
|
ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "VoucherItems": [ { "VoucherID": 1, "Code": "sample string 1", "Description": "sample string 2", "Lote": "sample string 3", "ExpirationDate": "2025-08-02T19:24:06.3752473+00:00", "Quantity": 1.0, "Price": 1.0, "SubTotal": 1.0, "PercentageDiscount": 1.0, "AmountDiscount": 1.0, "IVAAlicuota": 1.0, "IVAAmount": 1.0, "TaxITCAmount": 1.0, "TaxIDCAmount": 1.0, "Total": 1.0, "ConceptCode": "sample string 4", "BarCode": "sample string 5", "TotalAmountByUnit": 1.0, "PriceWithDiscount": 0.0, "UnitNetPrice_VoucherA": 1.99, "TotalNetPriceWithDiscount": -2.0, "TotalConIVASinOtrosImpuestos": -1.0, "ID": 1 }, { "VoucherID": 1, "Code": "sample string 1", "Description": "sample string 2", "Lote": "sample string 3", "ExpirationDate": "2025-08-02T19:24:06.3752473+00:00", "Quantity": 1.0, "Price": 1.0, "SubTotal": 1.0, "PercentageDiscount": 1.0, "AmountDiscount": 1.0, "IVAAlicuota": 1.0, "IVAAmount": 1.0, "TaxITCAmount": 1.0, "TaxIDCAmount": 1.0, "Total": 1.0, "ConceptCode": "sample string 4", "BarCode": "sample string 5", "TotalAmountByUnit": 1.0, "PriceWithDiscount": 0.0, "UnitNetPrice_VoucherA": 1.99, "TotalNetPriceWithDiscount": -2.0, "TotalConIVASinOtrosImpuestos": -1.0, "ID": 1 } ], "PaymentList": [ { "SaleID": 1, "PurchaseID": 1, "MethodOfPayment": 0, "Date": "2025-08-02T19:24:06.3752473+00:00", "CurrencyCode": 0, "Ammount": 3.0, "ConvertionRatio": 1.0, "Description": "sample string 1", "Comment": "sample string 2", "AmmountToDecimal": 3.0, "AmmountInPesosToDecimal": 3.0, "AmmountToStr": "3,00", "ID": 1 }, { "SaleID": 1, "PurchaseID": 1, "MethodOfPayment": 0, "Date": "2025-08-02T19:24:06.3752473+00:00", "CurrencyCode": 0, "Ammount": 3.0, "ConvertionRatio": 1.0, "Description": "sample string 1", "Comment": "sample string 2", "AmmountToDecimal": 3.0, "AmmountInPesosToDecimal": 3.0, "AmmountToStr": "3,00", "ID": 1 } ], "IVAExcentoAmount": 0.0, "IVA025Amount": 0.0, "IVA05Amount": 0.0, "IVA105Amount": 0.0, "IVA21Amount": 0.0, "IVA27Amount": 0.0, "SaleID": 1, "SalePointID": 1, "SalePointNumber": 1, "VoucherTypeID": 1, "VoucherAfipCodeEnum": 1, "Date": "2025-08-02T19:24:06.3752473+00:00", "Number": 1, "ClientID": 1, "ClientName": "sample string 1", "CityName": "sample string 2", "ProvinceName": "sample string 3", "StreenNameAndNumber": "sample string 4", "IdentificationDocumentTypeID": 1, "IdentificationDocumentTypeCode": "sample string 5", "IdentificationDocumentValue": "sample string 6", "ResponsibleTypeAfipCode": 7, "ResponsibleTypeName": "sample string 8", "NetoGravado": 1.0, "NetoExcento": 1.0, "Discount": 1.0, "TotalWithoutTax": 1.0, "IVAAmount": 1.0, "IIBBAlicuota": 1.0, "IIBBPerception": 1.0, "Total": 1.0, "Comment": "sample string 9", "AFIPValidated": true, "DateOfAFIPValidate": "2025-08-02T19:24:06.3752473+00:00", "DateOfCAEExpire": "2025-08-02T19:24:06.3752473+00:00", "CAE": "sample string 10", "ResponseOfAFIP": "sample string 11", "VoucherTypeToStr": "Factura A", "SalePointNumberToStr": "00001", "NumberToStr": "00000001", "IsElectronic": true, "HasElectronicBarCode": true, "DateToStr": "02/08/2025", "TimeToStr": "19:24", "NetoGravadoWithSign": 1.0, "NetoExcentoWithSign": 1.0, "TotalWithSign": 1.0, "IVAAmountVoucherType": 1.0, "Subtotal_VoucherA": 0.0, "Subtotal_VoucherBoC": 5.0, "TaxITCAmount": 1.0, "TaxIDCAmount": 1.0, "RG5329Alicuota": 1.0, "RG5329Ammount": 1.0, "TaxPerRetGanancias": 1.0, "TaxPerRetIIBB": 1.0, "TaxPerRetIVA": 1.0, "TaxInternals": 1.0, "TaxMunicipales": 1.0, "TotalOtherTaxs_VoucherA": 8.0, "TotalOtherTaxs_VoucherBoC": 5.0, "ID": 1 }
text/xml
Sample:
<VoucherDeepData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data"> <ID>1</ID> <AFIPValidated>true</AFIPValidated> <CAE>sample string 10</CAE> <CityName>sample string 2</CityName> <ClientID>1</ClientID> <ClientName>sample string 1</ClientName> <Comment>sample string 9</Comment> <Date>2025-08-02T19:24:06.3752473+00:00</Date> <DateOfAFIPValidate>2025-08-02T19:24:06.3752473+00:00</DateOfAFIPValidate> <DateOfCAEExpire>2025-08-02T19:24:06.3752473+00:00</DateOfCAEExpire> <Discount>1</Discount> <IIBBAlicuota>1</IIBBAlicuota> <IIBBPerception>1</IIBBPerception> <IVAAmount>1</IVAAmount> <IdentificationDocumentTypeCode>sample string 5</IdentificationDocumentTypeCode> <IdentificationDocumentTypeID>1</IdentificationDocumentTypeID> <IdentificationDocumentValue>sample string 6</IdentificationDocumentValue> <NetoExcento>1</NetoExcento> <NetoGravado>1</NetoGravado> <Number>1</Number> <ProvinceName>sample string 3</ProvinceName> <RG5329Alicuota>1</RG5329Alicuota> <RG5329Ammount>1</RG5329Ammount> <ResponseOfAFIP>sample string 11</ResponseOfAFIP> <ResponsibleTypeAfipCode>7</ResponsibleTypeAfipCode> <ResponsibleTypeName>sample string 8</ResponsibleTypeName> <SaleID>1</SaleID> <SalePointID>1</SalePointID> <SalePointNumber>1</SalePointNumber> <StreenNameAndNumber>sample string 4</StreenNameAndNumber> <TaxIDCAmount>1</TaxIDCAmount> <TaxITCAmount>1</TaxITCAmount> <TaxInternals>1</TaxInternals> <TaxMunicipales>1</TaxMunicipales> <TaxPerRetGanancias>1</TaxPerRetGanancias> <TaxPerRetIIBB>1</TaxPerRetIIBB> <TaxPerRetIVA>1</TaxPerRetIVA> <Total>1</Total> <TotalWithoutTax>1</TotalWithoutTax> <VoucherAfipCodeEnum>FacturaA</VoucherAfipCodeEnum> <VoucherTypeID>1</VoucherTypeID> <PaymentList> <TransactionPaymentData> <ID>1</ID> <Ammount>3</Ammount> <AmmountToDecimal>3</AmmountToDecimal> <Comment>sample string 2</Comment> <ConvertionRatio>1</ConvertionRatio> <CurrencyCode>ARS</CurrencyCode> <Date>2025-08-02T19:24:06.3752473+00:00</Date> <Description>sample string 1</Description> <MethodOfPayment>EFECTIVO</MethodOfPayment> <PurchaseID>1</PurchaseID> <SaleID>1</SaleID> </TransactionPaymentData> <TransactionPaymentData> <ID>1</ID> <Ammount>3</Ammount> <AmmountToDecimal>3</AmmountToDecimal> <Comment>sample string 2</Comment> <ConvertionRatio>1</ConvertionRatio> <CurrencyCode>ARS</CurrencyCode> <Date>2025-08-02T19:24:06.3752473+00:00</Date> <Description>sample string 1</Description> <MethodOfPayment>EFECTIVO</MethodOfPayment> <PurchaseID>1</PurchaseID> <SaleID>1</SaleID> </TransactionPaymentData> </PaymentList> <VoucherItems> <VoucherItemData> <ID>1</ID> <AmountDiscount>1</AmountDiscount> <BarCode>sample string 5</BarCode> <Code>sample string 1</Code> <ConceptCode>sample string 4</ConceptCode> <Description>sample string 2</Description> <ExpirationDate>2025-08-02T19:24:06.3752473+00:00</ExpirationDate> <IVAAlicuota>1</IVAAlicuota> <IVAAmount>1</IVAAmount> <Lote>sample string 3</Lote> <PercentageDiscount>1</PercentageDiscount> <Price>1</Price> <Quantity>1</Quantity> <SubTotal>1</SubTotal> <TaxIDCAmount>1</TaxIDCAmount> <TaxITCAmount>1</TaxITCAmount> <Total>1</Total> <VoucherID>1</VoucherID> </VoucherItemData> <VoucherItemData> <ID>1</ID> <AmountDiscount>1</AmountDiscount> <BarCode>sample string 5</BarCode> <Code>sample string 1</Code> <ConceptCode>sample string 4</ConceptCode> <Description>sample string 2</Description> <ExpirationDate>2025-08-02T19:24:06.3752473+00:00</ExpirationDate> <IVAAlicuota>1</IVAAlicuota> <IVAAmount>1</IVAAmount> <Lote>sample string 3</Lote> <PercentageDiscount>1</PercentageDiscount> <Price>1</Price> <Quantity>1</Quantity> <SubTotal>1</SubTotal> <TaxIDCAmount>1</TaxIDCAmount> <TaxITCAmount>1</TaxITCAmount> <Total>1</Total> <VoucherID>1</VoucherID> </VoucherItemData> </VoucherItems> </VoucherDeepData>