Servicios/Bienes por operacion

Servicios/Bienes por operacion#

Es cuando se trasmite un Documento Soporte cada vez que se adquiere un producto o servicio de un proveedor no obligado a facturar electrónicamente.

1. DescriptionCode (Servicios/Bienes acumulados por un mismo proveedor)

Lines.InvoicePeriod.DescriptionCode

/Invoice/cac:InvoiceLine/cac:InvoicePeriod/cbc:DescriptionCode

InvoicePeriod.DescriptionCode: Corresponde al Código que indica si el bien o servicio adquirido corresponde a una transacción de única operación o acumulada.
Códigos permitidos:

  • 1 – por operación.

  • 2 – acumulado semanal.

2. From (Servicios/Bienes acumulados por un mismo proveedor)

Lines.InvoicePeriod.From

/Invoice/cac:InvoiceLine/cac:InvoicePeriod/cbc:StartDate

InvoicePeriod.From (InvoicePeriod .StartDate): La fecha en la que se realiza la compra del bien o servicio.
Rechazo - Si DescriptionCode = 1 y la fecha del campo From es diferente a la de la fecha de la firma digital del documento (SigningTime).

DTO Servicios/Bienes por operacion#

JSON (DTO) - SERVICIOS POR OPERACIÓN
{
    "Currency": "COP",
    "SeriePrefix": "SEDS",
    "SerieNumber": "984000001",
    "IssueDate": "2023-11-27T12:12:12",
    "DueDate": "2023-11-27T12:12:12",
    "DeliveryDate": "2023-11-27T12:12:12",
    "OperationType": "10",
    "CorrelationDocumentId": "POSTMAN-{{$timestamp}}",
    "SerieExternalKey": "{{serieexternalkeyDS}}",
    "PaymentMeans": [
        {
            "Code": "20",
            "Mean": "1",
            "DueDate": "2023-11-27"
        }
    ],
    "SupplierParty": {
        "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",
            "PostalCode": "000000"
        }
    },
    "Lines": [
        {
            "Number": "1",
            "Quantity": "1",
            "QuantityUnitOfMeasure": "NAR",
            "TaxSubTotals": [
                {
                    "TaxCategory": "01",
                    "TaxPercentage": "19.00",
                    "TaxableAmount": "100000.00",
                    "TaxAmount": "19000.00"
                }
            ],
            "TaxTotals": [
                {
                    "TaxCategory": "01",
                    "TaxAmount": "19000.00",
                    "RoundingAmount": "0.00"
                }
            ],
            "UnitPrice": "100000.00",
            "GrossAmount": "100000.00",
            "NetAmount": "100000.00",
            "Item": {
                "Gtin": "xxxxx",
                "Description": "Servicio 1"
            },
            "InvoicePeriod": { /*--> 1 por operacion (linea) - 2 acumulado (Del mismo proveedor hasta 6 hacia atras)]*/
                "From": "2023-11-27", /*--> 1 por operacion (linea) debe tener la fecha del dia encurso - 2 acumulado (Del mismo proveedor hasta 6 hacia atras) fecha debe ser maximo 6 hacia atras*/
                "DescriptionCode": "1" /*--> 1 por operacion (linea) - 2 acumulado (Del mismo proveedor hasta 6 hacia atras)*/
            }
        }
    ],
    "TaxSubTotals": [
        {
            "TaxCategory": "01",
            "TaxPercentage": "19.00",
            "TaxableAmount": "100000.00",
            "TaxAmount": "19000.00"
        }
    ],
    "TaxTotals": [
        {
            "TaxCategory": "01",
            "TaxAmount": "19000.00",
            "RoundingAmount": "0.00"
        }
    ],
    "Total": {
        "GrossAmount": "100000.00",
        "TotalBillableAmount": "119000.00",
        "PayableAmount": "119000.00",
        "TaxableAmount": "100000.00"
    },
    "Notes": [
        "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
    ]
}