MONEDA DIFERENTE A COP#
Creación de documento con moneda distinta a COP:
Se utiliza cuando es necesario transmitir un documento soporte en una moneda diferente al peso colombiano (COP).
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.
DTO MONEDA DIFERENTE A COP#
JSON (DTO) - MONEDA DIFERENTE A COP
{
"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.*/
},
"SeriePrefix": "SEDS",
"SerieNumber": "984000001",
"IssueDate": "2023-11-27T12:12:12",
"DueDate": "2023-11-27T12:12:12",
"DeliveryDate": "2023-11-27T12:12:12",
"OperationType": "10", /*--> 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"
],
"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": {
"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."
]
}