VENDEDOR NO RESIDENTE EN COLOMBIA

VENDEDOR NO RESIDENTE EN COLOMBIA#

Es cuando un vendedor o proveedor residente en otro país diferente a Colombia.

1. OperationType (VENDEDOR NO RESIDENTE EN COLOMBIA)

OperationType

/Invoice/cbc:CustomizationID

OperationType (CustomizationID): identificador de residencia fiscal del vendedor.
Códigos permitidos:

  • 10Residente fiscal en Colombia.

  • 11NO residente fiscal en Colombia.
    Nota: Si no se envía por defecto se coloca 10 – Residente fiscal en Colombia.
    Para este escenario se debe enviar el valor “11”, cuando el proveedor no reside en Colombia.

2. DocumentType (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Identification.DocumentType

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID/@schemeName

DocumentType (@schemeName): Valida el Tipo de identificador fiscal.
Los tipos de identificación están disponibles en el método del WEB API de Saphety: DocumentTypes.
Para residentes en Colombia solo se permite “NIT”.

3. CheckDigit (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Identification.CheckDigit

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID/@schemeID

CheckDigit (@schemeID): DV del NIT del vendedor.
Si el campo DocumentType es diferente a “NIT”, se debe quitar esta etiqueta del Json.

4. CountryCode (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Identification.CountryCode

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:Country/cbc:IdentificationCode

CountryCode: Código del país del vendedor.
Los códigos del país están disponibles en el método del WEB API de Saphety: CountryCode.

5. DepartmentName (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Address.DepartmentName

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:CountrySubentity

DepartmentName: Campo de texto libre para informar el nombre de departamento o estado.

6. CityName (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Address.CityName

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:CityName

CityName: Campo de texto libre para informar el nombre de ciudad.

7. AddressLine (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Address.AddressLine

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:AddressLine/cbc:Line

AddressLine: Campo de texto libre para informar la dirección.

8. AddressLine (VENDEDOR NO RESIDENTE EN COLOMBIA)

SupplierParty.Address.Country

/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:Country/cbc:IdentificationCode

CountryCode: Código del país del vendedor.
Los códigos del país están disponibles en el método del WEB API de Saphety: CountryCode.

DTO VENDEDOR NO RESIDENTE EN COLOMBIA#

JSON (DTO) - NO RESIDENTE
{
    "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": "11", /*--> 10 vendedor es residente en co - 11 vendedor no es residente en co*/
    "CorrelationDocumentId": "POSTMAN-{{$timestamp}}",
    "SerieExternalKey": "{{serieexternalkeyDS}}",
    "PaymentMeans": [
        {
            "Code": "20",
            "Mean": "1",
            "DueDate": "2023-11-27"
        }
    ],
    "CustomerParty": {
        "Identification": {
            "DocumentNumber": "{{nit}}",
            "DocumentType": "NIT",
            "CountryCode": "CO",
            "CheckDigit": "{{digitoverificacion}}"
        }
    },
    "SupplierParty": {
        "LegalType": "Legal",
        "Email": "correo@sovos.com",
        "TaxScheme": "ZZ",
        "ResponsabilityTypes": [
            "R-99-PN"
        ],
        "Name": "Saphety Transacciones Electrónicas S.A.S",
        "Identification": {
            "DocumentNumber": "M90090-P0900",
            "DocumentType": "ForeignerCard", /*--> el vendedor sea residente en co este es NIT - el vendedor no es residente en co cualquier tipo de identificacion correspondientes a tipos de documentos de extranjeria no aplica cedula de ciudadania*/
            "CountryCode": "US" /*--> el vendedor sea residente en co este es CO - el vendedor no es residente en co cualquier tipo de coutry https://api-factura-electronica-co-qa.saphety.com/v2/dataelements/countrycodes*/
            /*"CheckDigit": "0" --> solo es requerido cuando es NIT */
        },
        "Address": {
            "DepartmentName": "Florida", /*--> el vendedor no es residente en co - el vendedor es residente en co no es requerido*/
            "CityName": "Frolida", /*--> el el vendedor no es residente en co - el vendedor es residente en co no es requerido*/
            "AddressLine": "FLORIDA",
            "Country": "US"
        }
    },
    "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": {
                "From": "2023-11-27",
                "DescriptionCode": "1"
            }
        }
    ],
    "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."
    ]
}