POST api/Documents/CreateARInvoice
Request Information
URI Parameters
None.
Body Parameters
ARInvoiceObjectName | Description | Type | Additional information |
---|---|---|---|
ARInvoiceLinesList | Collection of ARInvoiceLineModel |
None. |
|
ARInvoiceLinesMovList | Collection of ARInvoiceLinesMovList |
None. |
|
Id | integer |
None. |
|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
CardCode | string |
None. |
|
WhsCode | string |
Required String length: inclusive between 0 and 1 |
|
CardName | string |
None. |
|
U_NombreClienteFE | string |
Required String length: inclusive between 0 and 100 |
|
U_TipoIdentificacion | string |
Required |
|
U_NumIdentFE | string |
Required String length: inclusive between 0 and 20 |
|
U_CorreoFE | string |
Required |
|
U_Provincia | string |
Required String length: inclusive between 0 and 1 |
|
U_Canton | string |
Required String length: inclusive between 0 and 2 |
|
U_Distrito | string |
Required String length: inclusive between 0 and 2 |
|
U_Barrio | string |
String length: inclusive between 0 and 2 |
|
U_OtrasSenas | string |
String length: inclusive between 0 and 250 |
|
U_CodigoPais | integer |
None. |
|
U_NumTelefono | string |
None. |
|
U_CodigoPaisFax | integer |
None. |
|
U_NumFax | string |
None. |
|
U_ObservacionesFE | string |
String length: inclusive between 0 and 1000 |
|
DocType | integer |
None. |
|
DocDate | date |
Required |
|
Currency | string |
Required String length: inclusive between 0 and 3 |
|
U_DiscPrcnt | decimal number |
None. |
|
Status | integer |
None. |
|
StatusDetails | string |
None. |
|
DBCode | string |
None. |
|
NumDocRJ | integer |
None. |
|
U_TC | decimal number |
Range: inclusive between 0 and 1.79769313486232E+308 |
|
U_Aduana | string |
String length: inclusive between 0 and 50 |
|
U_Bultos | integer |
Range: inclusive between 0 and 2147483647 |
|
U_Peso | decimal number |
Required Range: inclusive between 0 and 1.79769313486232E+308 |
|
U_TipoTramite | string |
String length: inclusive between 0 and 50 |
|
U_DUA | string |
String length: inclusive between 0 and 10 |
|
U_NumBL | string |
String length: inclusive between 0 and 30 |
|
U_ValorAduanero | decimal number |
Range: inclusive between 0 and 1.79769313486232E+308 |
|
U_ImpAduaneros | decimal number |
Required Range: inclusive between 0 and 1.79769313486232E+308 |
|
U_MontoAdelanto | decimal number |
Range: inclusive between 0 and 1.79769313486232E+308 |
Request Formats
application/json, text/json
{ "ARInvoiceLinesList": [ { "ItemCode": "sample string 1", "Price": 2.1, "Quantity": 3.1, "TaxCode": "sample string 4", "U_CodProveedor": "sample string 5", "U_NombreProveedor": "sample string 6", "U_Exonerada": "sample string 7", "U_TasaExoneracion": 8.1, "U_TipoExoneracion": "sample string 9", "U_DocExoneracion": "sample string 10", "U_FechaDocExoneracion": "2025-04-03T21:41:50.9631087-06:00" }, { "ItemCode": "sample string 1", "Price": 2.1, "Quantity": 3.1, "TaxCode": "sample string 4", "U_CodProveedor": "sample string 5", "U_NombreProveedor": "sample string 6", "U_Exonerada": "sample string 7", "U_TasaExoneracion": 8.1, "U_TipoExoneracion": "sample string 9", "U_DocExoneracion": "sample string 10", "U_FechaDocExoneracion": "2025-04-03T21:41:50.9631087-06:00" } ], "ARInvoiceLinesMovList": [ { "U_Mercancia": "sample string 1", "U_MovInv": "sample string 2", "U_Bultos": 3.1, "U_Peso": 4.1, "U_Contenedor": "sample string 5", "U_Ingreso": "2025-04-03T21:41:50.9631087-06:00", "U_Salida": "2025-04-03T21:41:50.9631087-06:00", "U_Dias": 8, "U_HorasCE": 9.1, "U_Marca": "sample string 10", "U_Modelo": "sample string 11", "U_VIN": "sample string 12" }, { "U_Mercancia": "sample string 1", "U_MovInv": "sample string 2", "U_Bultos": 3.1, "U_Peso": 4.1, "U_Contenedor": "sample string 5", "U_Ingreso": "2025-04-03T21:41:50.9631087-06:00", "U_Salida": "2025-04-03T21:41:50.9631087-06:00", "U_Dias": 8, "U_HorasCE": 9.1, "U_Marca": "sample string 10", "U_Modelo": "sample string 11", "U_VIN": "sample string 12" } ], "Id": 1, "DocEntry": 2, "DocNum": 3, "CardCode": "sample string 4", "WhsCode": "sample string 5", "CardName": "sample string 6", "U_NombreClienteFE": "sample string 7", "U_TipoIdentificacion": "sample string 8", "U_NumIdentFE": "sample string 9", "U_CorreoFE": "sample string 10", "U_Provincia": "sample string 11", "U_Canton": "sample string 12", "U_Distrito": "sample string 13", "U_Barrio": "sample string 14", "U_OtrasSenas": "sample string 15", "U_CodigoPais": 16, "U_NumTelefono": "sample string 17", "U_CodigoPaisFax": 18, "U_NumFax": "sample string 19", "U_ObservacionesFE": "sample string 20", "DocType": 21, "DocDate": "2025-04-03T21:41:50.9631087-06:00", "Currency": "sample string 23", "U_DiscPrcnt": 24.1, "Status": 25, "StatusDetails": "sample string 26", "DBCode": "sample string 27", "NumDocRJ": 28, "U_TC": 29.1, "U_Aduana": "sample string 30", "U_Bultos": 1, "U_Peso": 31.1, "U_TipoTramite": "sample string 32", "U_DUA": "sample string 33", "U_NumBL": "sample string 34", "U_ValorAduanero": 35.1, "U_ImpAduaneros": 36.1, "U_MontoAdelanto": 1.1 }
application/xml, text/xml
<ARInvoiceObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISLO.MODELS"> <CardCode>sample string 4</CardCode> <CardName>sample string 6</CardName> <Currency>sample string 23</Currency> <DBCode>sample string 27</DBCode> <DocDate>2025-04-03T21:41:50.9631087-06:00</DocDate> <DocEntry>2</DocEntry> <DocNum>3</DocNum> <DocType>21</DocType> <Id>1</Id> <NumDocRJ>28</NumDocRJ> <Status>25</Status> <StatusDetails>sample string 26</StatusDetails> <U_Aduana>sample string 30</U_Aduana> <U_Barrio>sample string 14</U_Barrio> <U_Bultos>1</U_Bultos> <U_Canton>sample string 12</U_Canton> <U_CodigoPais>16</U_CodigoPais> <U_CodigoPaisFax>18</U_CodigoPaisFax> <U_CorreoFE>sample string 10</U_CorreoFE> <U_DUA>sample string 33</U_DUA> <U_DiscPrcnt>24.1</U_DiscPrcnt> <U_Distrito>sample string 13</U_Distrito> <U_ImpAduaneros>36.1</U_ImpAduaneros> <U_MontoAdelanto>1.1</U_MontoAdelanto> <U_NombreClienteFE>sample string 7</U_NombreClienteFE> <U_NumBL>sample string 34</U_NumBL> <U_NumFax>sample string 19</U_NumFax> <U_NumIdentFE>sample string 9</U_NumIdentFE> <U_NumTelefono>sample string 17</U_NumTelefono> <U_ObservacionesFE>sample string 20</U_ObservacionesFE> <U_OtrasSenas>sample string 15</U_OtrasSenas> <U_Peso>31.1</U_Peso> <U_Provincia>sample string 11</U_Provincia> <U_TC>29.1</U_TC> <U_TipoIdentificacion>sample string 8</U_TipoIdentificacion> <U_TipoTramite>sample string 32</U_TipoTramite> <U_ValorAduanero>35.1</U_ValorAduanero> <WhsCode>sample string 5</WhsCode> <ARInvoiceLinesList> <ARInvoiceLineModel> <ItemCode>sample string 1</ItemCode> <Price>2.1</Price> <Quantity>3.1</Quantity> <TaxCode>sample string 4</TaxCode> <U_CodProveedor>sample string 5</U_CodProveedor> <U_DocExoneracion>sample string 10</U_DocExoneracion> <U_Exonerada>sample string 7</U_Exonerada> <U_FechaDocExoneracion>2025-04-03T21:41:50.9631087-06:00</U_FechaDocExoneracion> <U_NombreProveedor>sample string 6</U_NombreProveedor> <U_TasaExoneracion>8.1</U_TasaExoneracion> <U_TipoExoneracion>sample string 9</U_TipoExoneracion> </ARInvoiceLineModel> <ARInvoiceLineModel> <ItemCode>sample string 1</ItemCode> <Price>2.1</Price> <Quantity>3.1</Quantity> <TaxCode>sample string 4</TaxCode> <U_CodProveedor>sample string 5</U_CodProveedor> <U_DocExoneracion>sample string 10</U_DocExoneracion> <U_Exonerada>sample string 7</U_Exonerada> <U_FechaDocExoneracion>2025-04-03T21:41:50.9631087-06:00</U_FechaDocExoneracion> <U_NombreProveedor>sample string 6</U_NombreProveedor> <U_TasaExoneracion>8.1</U_TasaExoneracion> <U_TipoExoneracion>sample string 9</U_TipoExoneracion> </ARInvoiceLineModel> </ARInvoiceLinesList> <ARInvoiceLinesMovList> <ARInvoiceLinesMovList> <U_Bultos>3.1</U_Bultos> <U_Contenedor>sample string 5</U_Contenedor> <U_Dias>8</U_Dias> <U_HorasCE>9.1</U_HorasCE> <U_Ingreso>2025-04-03T21:41:50.9631087-06:00</U_Ingreso> <U_Marca>sample string 10</U_Marca> <U_Mercancia>sample string 1</U_Mercancia> <U_Modelo>sample string 11</U_Modelo> <U_MovInv>sample string 2</U_MovInv> <U_Peso>4.1</U_Peso> <U_Salida>2025-04-03T21:41:50.9631087-06:00</U_Salida> <U_VIN>sample string 12</U_VIN> </ARInvoiceLinesMovList> <ARInvoiceLinesMovList> <U_Bultos>3.1</U_Bultos> <U_Contenedor>sample string 5</U_Contenedor> <U_Dias>8</U_Dias> <U_HorasCE>9.1</U_HorasCE> <U_Ingreso>2025-04-03T21:41:50.9631087-06:00</U_Ingreso> <U_Marca>sample string 10</U_Marca> <U_Mercancia>sample string 1</U_Mercancia> <U_Modelo>sample string 11</U_Modelo> <U_MovInv>sample string 2</U_MovInv> <U_Peso>4.1</U_Peso> <U_Salida>2025-04-03T21:41:50.9631087-06:00</U_Salida> <U_VIN>sample string 12</U_VIN> </ARInvoiceLinesMovList> </ARInvoiceLinesMovList> </ARInvoiceObject>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |