MANDATO#
Grupo de campos donde el mandato comercial es un contrato por el cual, una parte se obliga a celebrar o a ejecutar uno o más actos de comercio por cuenta de otra y puede o no conllevar la representación del mandante, y es obligatorio si la venta de bienes o la prestación de servicios la realiza el FE a nombre de este tercero, y se debe informar a nivel de línea.
1. OperationType (MANDATO)
Invoice.OperationType
/Invoice/cbc:CustomizationID
Un documento de venta será reconocido como MANDATO si el valor del OperationType es igual a “11”.
2. MandateIncomePurposeCode (MANDATO)
Invoice.Lines.MandateIncomePurposeCode
/Invoice/cac:InvoiceLine/cbc:ID/schemeID/
Obligatorio si el documento es de tipo MANDATO, se deberá reportar el código “0” o “1” en todas las líneas:
0 = B/S Ingreso Propio.
1 = B/S Ingresos Recibidos para Terceros.
3. DocumentNumber (MANDATO)
Invoice.Lines.Item.MandatedAgent.Identification.DocumentNumber
/Invoice/cac:InvoiceLine/cac:Item/cac:InformationContentProviderParty/cac:PowerOfAttorney/cac:AgentParty/cac:PartyIdentification/cbc:ID
NIT del mandante.
Rechazo: Si NIT no se encuentra activo en el RUT.
4. DocumentType (MANDATO)
Invoice.Lines.Item.MandatedAgent.Identification.DocumentType
/Invoice/cac:InvoiceLine/cac:Item/cac:InformationContentProviderParty/cac:PowerOfAttorney/cac:AgentParty/cac:PartyIdentification/cbc:ID/@schemeAgencyName
Identificador del tipo de documento de identidad, el listado de los tipos de DocumentType están disponibles en el método del WEB API de Saphety: DocumentType.
5. CountryCode (MANDATO)
Invoice.Lines.Item.MandatedAgent.Identification.CountryCode
/Invoice/cac:InvoiceLine/cac:Item/cac:InformationContentProviderParty/cac:PowerOfAttorney/cac:AgentParty/cac:PartyIdentification/cbc:ID/@schemeName
Identificador del código de la ciudad del mandante, el listado de los tipos de CountryCode están disponibles en el método del WEB API de Saphety: CountryCode.
6. CheckDigit (MANDATO)
Invoice.Lines.Item.MandatedAgent.Identification.CheckDigit
/Invoice/cac:InvoiceLine/cac:Item/cac:InformationContentProviderParty/cac:PowerOfAttorney/cac:AgentParty/cac:PartyIdentification/cbc:ID/@schemeID
Digito de Verificación del NIT del mandante
DTO MANDATO#
JSON (DTO) - MANDATO
{
"Currency": "COP",
"SeriePrefix": "SETP",
"SerieNumber": "990040006",
"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}}"
}
},
"OperationType": "11", /*Tipo de operación para Mandato*/
"PaymentMeans": [
{
"Code": "20",
"Mean": "1",
"DueDate": "2023-11-27"
}
],
"CustomerParty": {
"LegalType": "Legal",
"Email": "correo@sovos.com",
"TaxScheme": "ZZ",
"ResponsabilityTypes": [
"R-99-PN"
],
"Identification": {
"DocumentNumber": "{{nit}}",
"DocumentType": "NIT",
"CountryCode": "CO",
"CheckDigit": "{{digitoverificacion}}"
},
"Name": "Saphety Transacciones Electrónicas S.A.S",
"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",
"RoundingAmount": "0.00"
}
],
"UnitPrice": "115000.00",
"GrossAmount": "115000.00",
"NetAmount": "115000.00",
"Item": {
"Gtin": "987654321",
"Description": "Descripcion del producto o servicio",
"MandatedAgent": { /*Seccion Mandato*/
"Identification": { /*Seccion Mandato*/
"DocumentNumber": "800700600", /*Campo Mandato*/
"DocumentType": "NIT", /*Campo Mandato*/
"CountryCode": "CO", /*Campo Mandato*/
"CheckDigit": "5" /*Campo Mandato*/
}
},
"IncomePurposeCode": "1" /*Campo Mandato*/
}
}
],
"TaxSubTotals": [
{
"TaxCategory": "01",
"TaxPercentage": "19.00",
"TaxableAmount": "115000.00",
"TaxAmount": "21850.00"
}
],
"TaxTotals": [
{
"TaxCategory": "01",
"TaxAmount": "21850.00",
"RoundingAmount": "0.00"
}
],
"Total": {
"GrossAmount": "115000.00",
"TotalBillableAmount": "136850.00",
"PayableAmount": "136850.00",
"TaxableAmount": "115000.00"
}
}