PERSONA NATURAL#
Grupo de campos para informar los datos de un adquiriente tipo persona natural.
1. From (PERSONA NATURAL)
Si el Adquiriente es de tipo natural LegalType= Natural
{
"CustomerParty": {
"Identification": {
"DocumentNumber": "123456789",
"DocumentType": "CitizenshipCard",
"CountryCode": "CO"
}
}
}
Si el Adquiriente es persona natural= 2
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyTaxScheme>
<cbc:CompanyID schemeName="13"
schemeAgencyID="195"
schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)">123456789</cbc:CompanyID>
<cac:Country>
<cbc:IdentificationCode>CO</cbc:IdentificationCode>
<cbc:Namelanguage ID="es">Colombia</cbc:Namelanguage>
</cac:Country>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingCustomerParty>
DocumentNumber: Número de documento del adquiriente.
Rechazo: NIT no autorizado a facturar electrónicamente.
Rechazo: Nit o Documento de Identificación informado No corresponde al registrado en el RUT con respecto a la razón social o nombre comercial suministrado.
DocumentType: Tipo de documento, el listado de los tipos de DocumentType están disponibles en el método del WEB API de Saphety: DocumentType
CheckDigit: DV del NIT del Adquiriente.
CountryCode: Código identificador del país, el listado de los tipos de CountryCode están disponibles en el método del WEB API de Saphety: CountryCode.
2. From (PERSONA NATURAL)
Si el Adquiriente es de tipo natural LegalType= Natural
{
"CustomerParty": {
"LegalType": "Natural",
"Person": {
"FirstName": "FirstName",
"MiddleName": "MiddleName",
"FamilyName": "FamilyName"
}
}
}
Si el Adquiriente es persona natural= 2
<cac:AccountingCustomerParty>
<cbc:AdditionalAccountID schemeAgencyID="195">2 </cbc:AdditionalAccountID>
<cac:Party>
<cac:PartyName>
<cbc:Name>FirstName MiddleName FamilyName</cbc:Name>
</cac:PartyName>
</cac:Party>
</cac:AccountingCustomerParty>
LegalType: Los tipos de personas legales LegalTypes están disponibles en el método del WEB API de Saphety: LegalTypes.
Name: Nombre o razón social del adquiriente que está registrado en el RUT.
DTO PERSONA NATURAL#
JSON (DTO) - PERSONA NATURAL
{
"Currency": "COP",
"SeriePrefix": "SETP",
"SerieNumber": "990053146",
"IssueDate": "2023-11-27T12:12:12",
"DueDate": "2023-11-27T12:12:12",
"DeliveryDate": "2023-11-27T12:12:12",
"CorrelationDocumentId": "POSTMAN-{{$timestamp}}",
"SerieExternalKey": "{{serieexternalkeyFV}}",
"IssuerParty": {
"Identification": {
"DocumentNumber": "{{nit}}",
"DocumentType": "NIT",
"CountryCode": "CO",
"CheckDigit": "{{digitoverificacion}}"
}
},
"PaymentMeans": [
{
"Code": "20",
"Mean": "1",
"DueDate": "2023-11-27"
}
],
"CustomerParty": {
"LegalType": "Natural", /// Persona natural
"Email": "correo@sovos.com",
"TaxScheme": "ZZ", /// Persona natural
"ResponsabilityTypes": [
"R-99-PN" /// Persona natural
],
"Identification": {
"DocumentNumber": "80888999", /// Persona natural
"DocumentType": "CitizenshipCard", /// Persona natural
"CountryCode": "CO"
},
"Person": { /// Persona natural
"FirstName": "Pepito", /// Persona natural
"MiddleName": "Perez", /// Persona natural
"FamilyName": "Amado" /// Persona natural
},
"Address": {
"DepartmentCode": "11",
"CityCode": "11001",
"AddressLine": "Calle 97a No. 9 - 45",
"Country": "CO"
}
},
"Lines": [
{
"Number": "1",
"Quantity": "1",
"QuantityUnitOfMeasure": "NAR",
"TaxSubTotals": [
{
"TaxCategory": "01",
"TaxPercentage": "19.00",
"TaxableAmount": "115000.00",
"TaxAmount": "21850.00"
}
],
"TaxTotals": [
{
"TaxCategory": "01",
"TaxAmount": "21850.00"
}
],
"UnitPrice": "115000.00",
"GrossAmount": "115000.00",
"NetAmount": "115000.00",
"Item": {
"Gtin": "987654321",
"Description": "Descripcion del producto o servicio"
}
}
],
"TaxSubTotals": [
{
"TaxCategory": "01",
"TaxPercentage": "19.00",
"TaxableAmount": "115000.00",
"TaxAmount": "21850.00"
}
],
"TaxTotals": [
{
"TaxCategory": "01",
"TaxAmount": "21850.00"
}
],
"Total": {
"GrossAmount": "115000.00",
"TotalBillableAmount": "136850.00",
"PayableAmount": "136850.00",
"TaxableAmount": "115000.00"
}
}