Nota de Ajuste con Diferente Moneda

Nota de Ajuste con Diferente Moneda#

Para crear una nota de ajuste a un Documento Soporte en la que se utilice una moneda diferente a COP y/o se trate de un vendedor no residente en Colombia, se deberá emplear la siguiente estructura:

1. currency (MONEDA DIFERENTE A COP)

currency

/Invoice/cbc:DocumentCurrencyCode

Currency: Divisa del documento soporte en adquisiciones efectuadas a sujetos no obligados a expedir factura o documento equivalente.
Los códigos de moneda están disponibles en el método del WEB API de Saphety: Currency.

2. OriginCurrency (MONEDA DIFERENTE A COP)

PaymentExchangeRate.OriginCurrency

/Invoice/cac:PaymentAlternativeExchangeRate/cbc:SourceCurrencyCode

OriginCurrency: Divisa del documento soporte en adquisiciones efectuadas a sujetos no obligados a expedir factura o documento equivalente.
Los códigos de moneda están disponibles en el método del WEB API de Saphety: Currency.

3. DestinyCurrency (MONEDA DIFERENTE A COP)

PaymentExchangeRate.DestinyCurrency

/Invoice/cac:PaymentAlternativeExchangeRate/cbc:TargetCurrencyCode

DestinyCurrency: Divisa para conversión del documento soporte en adquisiciones efectuadas a sujetos no obligados a expedir factura o documento equivalente.
Los códigos de moneda están disponibles en el método del WEB API de Saphety: Currency.

4. Rate (MONEDA DIFERENTE A COP)

PaymentExchangeRate.Rate

/Invoice/cac:PaymentExchangeRate/cbc:CalculationRate

Rate: se informa el valor de la tasa de cambio entre las Divisas.

5. Date (MONEDA DIFERENTE A COP)

PaymentExchangeRate.Date

/Invoice/cac:PaymentExchangeRate/cbc:Date

Date: Fecha en la que se acordó la tasa de cambio.

Nota de Ajuste con Diferente Moneda#

JSON (DTO) - NOTA AJUSTE DM
{
    "Currency": "USD", /*Campo para otras monedas => https://api-factura-electronica-co-qa.saphety.com/v2/dataelements/currencies */
    "PaymentExchangeRate": {  /*Campo Informar Otra Divisa */
        "OriginCurrency": "USD", /*Campo Informar Otra Divisa => https://api-factura-electronica-co-qa.saphety.com/v2/dataelements/currencies */
        "DestinyCurrency": "COP", /*Campo con Informar Otra Divisa --> Divisa a la cual se hace la conversión. => en este caso COP*/
        "Rate": "3700.00", /*Campo Informar Otra Divisa --> Es el tipo de cambio real aplicado por la empresa para realizar la conversión en esa transacción específica (en este caso, 3,950 COP por USD).*/
        "Date": "2023-11-27" /*Campo Informar Otra Divisa --> Fecha en la que se acordó la tasa de cambio.*/
    },
    "ReasonCredit": "5",
    "SeriePrefix": "NADS",
    "SerieNumber": "2",
    "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": "{{serieexternalkeyNADS}}",
    "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"
    },
    "DocumentReferences": [
        {
            "DocumentReferred": "SETP990013006",
            "IssueDate": "2022-07-15T00:00:00",
            "Type": "InvoiceReference",
            "DocumentReferredCUFE": "053265517bdd990eeac64599fbce7a3dd2c9f2364485a6e94f60a24ed278149a0231273ff0efb448ba199fba7b99bd36"
        }
    ],
    "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."
    ]
}