POST api/Toros/Timbrado

Request Information

URI Parameters

None.

Body Parameters

InvoiceToros
NameDescriptionTypeAdditional information
clientrfc

string

None.

clientName

string

None.

VoucherUse

string

None.

zipCode

string

None.

regime

string

None.

paymentMethod

string

None.

paymentForm

string

None.

total

decimal number

None.

tax

decimal number

None.

periodicity

string

None.

currency

string

None.

exchangeRate

decimal number

None.

concepts

Collection of conceptToros

None.

Request Formats

application/json, text/json

Sample:
{
  "clientrfc": "sample string 1",
  "clientName": "sample string 2",
  "VoucherUse": "sample string 3",
  "zipCode": "sample string 4",
  "regime": "sample string 5",
  "paymentMethod": "sample string 6",
  "paymentForm": "sample string 7",
  "total": 8.0,
  "tax": 9.0,
  "periodicity": "sample string 10",
  "currency": "sample string 11",
  "exchangeRate": 12.0,
  "concepts": [
    {
      "description": "sample string 1",
      "amount": 2.0,
      "quantity": 3.0,
      "price": 4.0,
      "unit": "sample string 5",
      "unitCode": "sample string 6",
      "productTypeSat": "sample string 7"
    },
    {
      "description": "sample string 1",
      "amount": 2.0,
      "quantity": 3.0,
      "price": 4.0,
      "unit": "sample string 5",
      "unitCode": "sample string 6",
      "productTypeSat": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<InvoiceToros xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AspNexus.NexusFE.Web.RestServices.Models">
  <VoucherUse>sample string 3</VoucherUse>
  <clientName>sample string 2</clientName>
  <clientrfc>sample string 1</clientrfc>
  <concepts>
    <conceptToros>
      <amount>2</amount>
      <description>sample string 1</description>
      <price>4</price>
      <productTypeSat>sample string 7</productTypeSat>
      <quantity>3</quantity>
      <unit>sample string 5</unit>
      <unitCode>sample string 6</unitCode>
    </conceptToros>
    <conceptToros>
      <amount>2</amount>
      <description>sample string 1</description>
      <price>4</price>
      <productTypeSat>sample string 7</productTypeSat>
      <quantity>3</quantity>
      <unit>sample string 5</unit>
      <unitCode>sample string 6</unitCode>
    </conceptToros>
  </concepts>
  <currency>sample string 11</currency>
  <exchangeRate>12</exchangeRate>
  <paymentForm>sample string 7</paymentForm>
  <paymentMethod>sample string 6</paymentMethod>
  <periodicity>sample string 10</periodicity>
  <regime>sample string 5</regime>
  <tax>9</tax>
  <total>8</total>
  <zipCode>sample string 4</zipCode>
</InvoiceToros>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
errorCode

integer

None.

errorDesc

string

None.

response

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errorCode": 1,
  "errorDesc": "sample string 2",
  "response": "sample string 3"
}

application/xml, text/xml

Sample:
<Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">
  <errorCode>1</errorCode>
  <errorDesc>sample string 2</errorDesc>
  <response>sample string 3</response>
</Message>