Una vez realizada la verificación a traves de CheckAddVouchers podremos EMITIR en el sistema.
Recuerde que para poder realizar una emisión se deberá tener como medio de pago la posibilidad de tener "crédito"/"cuenta corriente" en el sistema.
Debes contactarte con tu ejecutivo para lograr un acuerdo y obtener "crédito".
Datos de entradahtmljson
{
"CultureId" : "es-ES"
,"Email": "email@test.com"
,"CurrencyId" : 3
,"ProductId" : 2556
,"PaymentType": "CURRENTACCOUNT"
,"Trip":{
"DateFrom" : "2021-12-01"
,"DateTo" : "2021-12-10"
,"ResidenceId" : 152
,"DestinyId" : 1000
,"TripTypeId" : 1
,"TripTypeAnnualId" : 0
}
,"Travelers":
[{
"ExternalReference" : "j0001"
,"FirstName" : "Juan"
,"LastName" : "Perez"
,"BirthDate" : "1980-03-20"
,"Passport" : "12345678"
,"City" : "Bahia Blanca"
,"State" : "Buenos Aires"
,"Country" : "Argentina"
,"Address" : "Alem 444"
,"Phone" : "555-1234"
,"Email" : "juan.perez@gmail.com"
,"EmergencyFirstName" : "Lucia"
,"EmergencyLastName" : "Pacheco"
,"EmergencyPhone" : "555-9876"
,"EmergencyEmail" : "lucia.pacheco@gmail.com"
}
,{
"ExternalReference" : "g0001"
,"FirstName" : "Guillermina"
,"LastName" : "Perez"
,"BirthDate" : "2015-06-10"
,"Passport" : "50123123"
,"City" : "Bahia Blanca"
,"State" : "Buenos Aires"
,"Country" : "Argentina"
,"Address" : "Alem 444"
,"Phone" : "555-1234"
,"Email" : "juan.perez@gmail.com"
,"EmergencyFirstName" : "Lucia"
,"EmergencyLastName" : "Pacheco"
,"EmergencyPhone" : "555-9876"
,"EmergencyEmail" : "lucia.pacheco@gmail.com"
}]
}
Datos de salida json
{
"EmissionId" : 12345
"EmissionStateId" : 1
"ccgg" : ""
"Vouchers" :[{
"ExternalReference" : ""
,"VoucherId" : "AR200824123"
,"VoucherUrl" : "[URL]/reps/provider/96/vouchers/2020/08/v_xxxxxxxxxxxxxxxxxxxxx.pdf?version=20200824110221012"
,"ProductId" : 3456
,"CCGGUrl" : "[URL]/reps/providers/96/cg_es-ES.pdf"
,"FirstName" : "Juan"
,"LastName" : "Perez"
,"BirthDate" : "1980-03-20"
,"Passport" : "12345678"
}
,{
"ExternalReference" : ""
,"VoucherId" : "AR200824124"
,"VoucherUrl" : "[URL]/reps/provider/96/vouchers/2020/08/v_yyyyyyyyyyyyyyyyyyyy.pdf?version=20200824110221012"
,"ProductId" : 3456
,"CCGGUrl" : "[URL]/reps/providers/96/cg_es-ES.pdf"
,"FirstName" : "Guillermina"
,"LastName" : "Perez"
,"BirthDate" : "2015-06-10"
,"Passport" : "50123123"
}]
,"Error":null
}