GET api/Invoice/Defaults/{GrantorTaxId}/{CustomerTaxId}/{DocumentTypeId}
Valores por defecto para emisión
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GrantorTaxId |
RFC de la empresa |
string |
Required |
| CustomerTaxId |
RFC del cliente |
string |
Required |
| DocumentTypeId |
Tipo de documento |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseModelApiOfInvoiceDefaultsModelApi| Name | Description | Type | Additional information |
|---|---|---|---|
| success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
| message |
Mensaje de la solicitud |
string |
None. |
| messageDetail |
Lista de mensajes |
Collection of string |
None. |
| failureCode |
Código de error en caso de existir |
string |
None. |
| data |
Layout de respuesta de la solicitud |
InvoiceDefaultsModelApi |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"messageDetail": [
"sample string 1",
"sample string 2"
],
"failureCode": "sample string 3",
"data": {
"PaymentCondition": 1,
"ContactInfo": "08de22c4-95b0-66e6-522b-6e0020f15363",
"ContactInfoValue": "sample string 1",
"BranchId": 1,
"BranchValue": "sample string 2",
"BranchZipCode": "sample string 3",
"SellerId": "08de22c4-95b0-8df5-522b-6e0020f15364",
"SellerValue": "sample string 4",
"Partiality": {
"PartialityNumber": 1,
"Frequency": "sample string 1",
"FrequencyId": 1,
"Interest": 1
},
"PaymentMethod": "sample string 5",
"PaymentWay": "sample string 6",
"CFDIUse": "sample string 7",
"RelatedTypeId": "sample string 8",
"CurrencyId": 9
}
}
application/xml, text/xml
Sample:
<ResponseModelApiOfInvoiceDefaultsModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<success>true</success>
<message>sample string 2</message>
<messageDetail>
<string>sample string 1</string>
<string>sample string 2</string>
</messageDetail>
<failureCode>sample string 3</failureCode>
<data>
<PaymentCondition>1</PaymentCondition>
<ContactInfo>08de22c4-95b0-66e6-522b-6e0020f15363</ContactInfo>
<ContactInfoValue>sample string 1</ContactInfoValue>
<BranchId>1</BranchId>
<BranchValue>sample string 2</BranchValue>
<BranchZipCode>sample string 3</BranchZipCode>
<SellerId>08de22c4-95b0-8df5-522b-6e0020f15364</SellerId>
<SellerValue>sample string 4</SellerValue>
<Partiality>
<PartialityNumber>1</PartialityNumber>
<Frequency>sample string 1</Frequency>
<FrequencyId>1</FrequencyId>
<Interest>1</Interest>
</Partiality>
<PaymentMethod>sample string 5</PaymentMethod>
<PaymentWay>sample string 6</PaymentWay>
<CFDIUse>sample string 7</CFDIUse>
<RelatedTypeId>sample string 8</RelatedTypeId>
<CurrencyId>9</CurrencyId>
</data>
</ResponseModelApiOfInvoiceDefaultsModelApi>