{{baseUrl}}/account/:id/rinnovo

GET {{baseUrl}}/account/:id/rinnovo?anni=<integer>

This method allows you to renew for one or more year the legal invoice account identified by the id

Request Params

KeyDatatypeRequiredDescription
annistringNumber of years for which you want to renew the account. If not passed it is 1 by default

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;cf_piva_titolare&quot;:&quot;12485671007&quot;,&quot;denominazione_titolare&quot;:&quot;openapi srl&quot;,&quot;comune_titolare&quot;:&quot;roma&quot;,&quot;indirizzo_titolare&quot;:&quot;via filippo marinetti 221&quot;,&quot;cap_titolare&quot;:&quot;00143&quot;,&quot;provincia_titolare&quot;:&quot;rm&quot;,&quot;email&quot;:&quot;info@openapi.it&quot;,&quot;nome_richiedente&quot;:&quot;Mario&quot;,&quot;cognome_richiedente&quot;:&quot;Rossi&quot;,&quot;sesso_richiedente&quot;:&quot;M&quot;,&quot;cf_richiedente&quot;:&quot;MRXXXXXXXXXXXF&quot;,&quot;documento_identita&quot;:&quot;d64681184e3637335b606acdfa79b927.pdf&quot;,&quot;modulo_attivazione&quot;:&quot;75a9580aeb9a97d050cd00118bceb7f8.pdf&quot;,&quot;callback&quot;:{&quot;url&quot;:&quot;https://mysite.it/callback.php&quot;,&quot;field&quot;:&quot;data&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;data&quot;:{}},&quot;data_nascita_richiedente&quot;:null,&quot;telefono&quot;:null,&quot;cellulare&quot;:null,&quot;stato&quot;:&quot;attivo&quot;,&quot;tipo_account&quot;:&quot;forfettario&quot;,&quot;username&quot;:&quot;username@url.it&quot;,&quot;password&quot;:&quot;iujedwhn324234&quot;,&quot;fatture&quot;:50,&quot;fatture_extra&quot;:0,&quot;ragioni_sociali_extra&quot;:0,&quot;timestamp_creazione&quot;:1655807719,&quot;timestamp_ultima_modifica&quot;:1655816051,&quot;timestamp_scadenza&quot;:1939728960,&quot;owner&quot;:&quot;gcloud-tests@openapi.it&quot;,&quot;autorinnovo&quot;:false,&quot;id&quot;:&quot;62b19eea2f7b5264ce34ac29&quot;},&quot;success&quot;:true,&quot;message&quot;:&quot;&quot;,&quot;error&quot;:null}