Passa al contenuto principale

PurchasePaginatedListResponse

Successful response with a page of Purchase

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data object[]required

Items of the page: an empty list beyond the last page

  • Array [
  • purchase_idintegerrequired

    ID of purchase

    account objectrequired

    Account information of the user owner of the purchase. NULL if the purchase is not billed to a Reseller.

    anyOf
    account_idintegerrequired
    usernamestring | nullnullablerequired

    Username assigned to the account when it is created, used to log in

    username_aliasstring | nullnullablerequired

    Alternative username chosen for the account, also valid to log in; null when not set

    account_namestring | nullnullablerequired

    Display name of the account: first name and surname of the administrative contact, or its organization, or the username; empty when the account has no administrative contact

    namestring | nullnullablerequired

    First name of the administrative contact

    surnamestring | nullnullablerequired

    Surname of the administrative contact

    emailstring | nullnullablerequired
    phonestring | nullnullablerequired

    Phone of the administrative contact, usually in the form 0039.0123456789: 00 and the international prefix, a dot, the number

    addressstring | nullnullablerequired
    citystring | nullnullablerequired
    statestring | nullnullablerequired

    Province of the administrative contact: the acronym of the Italian province, for example VI, or EE outside Italy

    postal_codestring | nullnullablerequired
    country objectrequired
    iso_code_2stringrequired

    ie. IT

    iso_code_3stringrequired

    ie. ITA

    country_namestringrequired

    Name of the country in Italian; the local name when there is no translation

    local_namestringrequired

    Name of the country in its own language, for example Deutschland

    phone_codestringrequired

    International calling code, without +, for example 39

    continentstringrequired

    Continent, in English, for example Europe or North America

    regionstringrequired

    Area of the country: EU (European Union) or EXTRAEU

    date_createddate-timerequired
    service objectrequired

    Service of the price list, with its category, recurrences, prices and purchase options

    service_idintegerrequired
    service_category objectrequired
    category_codestringrequired

    Code of the category, for example PEC or CLOUD_STORAGE

    category_namestringrequired

    Name of the category, in Italian

    area_codestring | nullnullablerequired

    Code of the area that groups the category, for example HOSTING, DOMAIN or LICENSE

    area_namestringrequired

    Name of the area, in Italian

    service_namestringrequired

    Name of the service, in Italian

    recurrence objectrequired

    Billing recurrence: its frequency and, in days, the timings of renewal, suspension and dismission

    recurrence_idintegerrequired
    frequency objectrequired

    Frequency of a recurrence: a number of years, months or weeks, or a one-off charge

    familystringrequired

    Unit of the frequency: Y (years), M (months), W (weeks) or U (one-off, without renewals)

    valueinteger | nullnullablerequired

    Number of units of the frequency, for example 12 with M; null with U

    days_renewinteger | nullnullablerequired

    Days before the expiry from which the purchase can be renewed and the renewal order is created

    days_autorenewinteger | nullnullablerequired

    Days before the expiry when the automatic renewal is attempted

    days_suspensioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is suspended; null if it is not suspended

    days_restoreinteger | nullnullablerequired

    Days after the expiry from which the restore price is charged in addition to the renewal price

    days_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is dismissed

    days_cancelinteger | nullnullablerequired

    Days after the start of the activation when a purchase never activated is cancelled automatically

    days_renew_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase whose renewal was not completed is dismissed automatically

    days_no_secondaryinteger | nullnullablerequired

    Days before the expiry from which additional services can no longer be bought for the purchase

    days_no_service_changeinteger | nullnullablerequired

    Days before the expiry from which the service of the purchase can no longer be changed

    recurrences_available object[]required

    Recurrences that can be chosen when buying the service (recurrence_id)

  • Array [
  • recurrence_idintegerrequired
    frequency objectrequired

    Frequency of a recurrence: a number of years, months or weeks, or a one-off charge

    familystringrequired

    Unit of the frequency: Y (years), M (months), W (weeks) or U (one-off, without renewals)

    valueinteger | nullnullablerequired

    Number of units of the frequency, for example 12 with M; null with U

    days_renewinteger | nullnullablerequired

    Days before the expiry from which the purchase can be renewed and the renewal order is created

    days_autorenewinteger | nullnullablerequired

    Days before the expiry when the automatic renewal is attempted

    days_suspensioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is suspended; null if it is not suspended

    days_restoreinteger | nullnullablerequired

    Days after the expiry from which the restore price is charged in addition to the renewal price

    days_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is dismissed

    days_cancelinteger | nullnullablerequired

    Days after the start of the activation when a purchase never activated is cancelled automatically

    days_renew_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase whose renewal was not completed is dismissed automatically

    days_no_secondaryinteger | nullnullablerequired

    Days before the expiry from which additional services can no longer be bought for the purchase

    days_no_service_changeinteger | nullnullablerequired

    Days before the expiry from which the service of the purchase can no longer be changed

  • ]
  • tld_idinteger | nullnullablerequired

    Id of the TLD of a domain service (GET /api/v3/tlds/{tld_id}); null for the other services

    service_codestringrequired

    Code of the service, for example CLOUD_STORAGE_100 or BOX_PEC

    service_urlstringrequired

    URL of the cart page of the service

    activation_price objectrequired

    Activation price of the price list; null for sub-accounts

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    renew_price objectrequired

    Renew price of the price list; null when the service has none and for sub-accounts

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    restore_price objectrequired

    Restore price of the price list; null when the service has none and for sub-accounts

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    transfer_price objectrequired

    Transfer price of the price list; null when the service has none and for sub-accounts

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    is_primaryboolean | nullnullablerequired

    Whether the service can be sold as a primary service

    is_secondaryboolean | nullnullablerequired

    Whether the service is an additional service of a primary one

    is_presaleboolean | nullnullablerequired

    Whether the service can be bought as an additional service together with its primary service (presale)

    is_aftersaleboolean | nullnullablerequired

    Whether the service can be bought as an additional service after the activation of its primary service (aftersale)

    is_quantifiableboolean | nullnullablerequired

    Whether the service can be added to the cart more than once; the quantity of one purchase is set by quantity_min and quantity_max

    quantity_mininteger | nullnullablerequired

    Minimum quantity of the service in one purchase

    quantity_maxinteger | nullnullablerequired

    Maximum quantity of the service in one purchase; null when the quantity cannot be chosen

    billing objectrequired

    Billing profile: the holder the documents are made out to, with its tax and electronic invoicing data

    account_billing_idintegerrequired
    legal_entity objectrequired

    Legal form of the holder of a billing profile, with its group

    legal_entity_group objectrequired

    Group of legal forms, such as private individuals or Italian companies

    group_codestringrequired

    Code of the group, currently PRIVATE, ITALIAN_INDIVIDUAL_COMPANY, ITALIAN_LIMITED_COMPANY, ITALIAN_COOPERATIVE_COMPANY, ITALIAN_PUBLIC_ADMINISTRATION, FOREIGN_COMPANY or OTHER

    group_namestringrequired

    Name of the group, in Italian

    tax_regime objectrequired

    Tax regime: how VAT applies to the documents

    regime_codestringrequired

    One of ORDINARY, SPLIT_PAYMENT, EU_VIES, EU_EXPORTER (habitual exporter), EXTRA_EU, VATICAN, SANMARINO or ART_26

    regime_namestringrequired

    Name of the regime, in Italian, for example Ordinario

    code_edocumentstring | nullnullablerequired

    Nature code of the operation on the electronic invoice (Natura) when VAT is not applied, for example N2.1; null for the regimes with VAT

    tax_ratefloatrequired

    VAT rate as a fraction, for example 0.22 for 22%

    entity_codestringrequired

    Code of the legal form: ITA_PVT, NOITA_PVT, ITA_INDIVIDUALE, ITA_CAPITALI, ITA_PERSONE, ITA_ASSNOCOMM, ITA_ASSCOMM, ITA_ALTRO, ITA_PA, EU_ALTRO, NOEU_ALTRO, VATICAN_NOPVT, SANMARINO_NOPVT or FORBIDDEN_NOITA_NOPVT

    entity_namestringrequired

    Name of the legal form, in Italian

    tax_regime objectrequired

    Tax regime: how VAT applies to the documents

    regime_codestringrequired

    One of ORDINARY, SPLIT_PAYMENT, EU_VIES, EU_EXPORTER (habitual exporter), EXTRA_EU, VATICAN, SANMARINO or ART_26

    regime_namestringrequired

    Name of the regime, in Italian, for example Ordinario

    code_edocumentstring | nullnullablerequired

    Nature code of the operation on the electronic invoice (Natura) when VAT is not applied, for example N2.1; null for the regimes with VAT

    tax_ratefloatrequired

    VAT rate as a fraction, for example 0.22 for 22%

    organizationstring | nullnullablerequired
    namestring | nullnullablerequired
    surnamestring | nullnullablerequired
    addressstringrequired
    citystringrequired
    statestringrequired

    Province: the acronym of the Italian province, for example VI, or EE outside Italy

    postal_codestringrequired
    country objectrequired
    iso_code_2stringrequired

    ie. IT

    iso_code_3stringrequired

    ie. ITA

    country_namestringrequired

    Name of the country in Italian; the local name when there is no translation

    local_namestringrequired

    Name of the country in its own language, for example Deutschland

    phone_codestringrequired

    International calling code, without +, for example 39

    continentstringrequired

    Continent, in English, for example Europe or North America

    regionstringrequired

    Area of the country: EU (European Union) or EXTRAEU

    genderstring | nullnullablerequired

    Gender of the holder: M or F; null when not given

    birth_datedatenullablerequired

    Date of birth of the holder; null when not given

    birth_placestring | nullnullablerequired

    Place of birth of the holder; null when not given

    phonestring | nullnullablerequired

    Phone, usually in the form 0039.0123456789: 00 and the international prefix, a dot, the number; null when not given

    vat_numberstring | nullnullablerequired

    VAT number of the holder (partita IVA in Italy); null when it has none

    is_vat_groupbooleanrequired

    Whether the holder belongs to an Italian VAT group (Gruppo IVA), whose members share the VAT number and have each their own tax code

    fiscal_codestringrequired

    Tax code of the holder (codice fiscale in Italy)

    edocument_pecstring | nullnullablerequired

    PEC address (certified email, Posta Elettronica Certificata) to which SDI, the Italian e-invoicing exchange system, delivers the electronic invoices when there is no recipient code; null when not given

    edocument_codestring | nullnullablerequired

    Recipient code (Codice Destinatario) with which SDI, the Italian e-invoicing exchange system, delivers the electronic invoices: 7 characters, 6 for the public administration; null when not given

    exporter_expirydatenullablerequired

    Expiry date of the declaration of intent (dichiarazione d'intento) of a habitual exporter, whose invoices are without VAT; null when not given

    exporter_numberstring | nullnullablerequired

    Protocol number of the declaration of intent of a habitual exporter, written on the electronic invoices; null when not given

    exporter_datedatenullablerequired

    Date of the electronic receipt of the declaration of intent, issued by the Italian Revenue Agency (Agenzia delle Entrate); null when not given

    is_split_paymentbooleanrequired

    Whether split payment (scissione dei pagamenti) applies: the tax regime is SPLIT_PAYMENT, and the customer pays the VAT of the invoices directly to the Italian State

    recurrence objectrequired

    Billing recurrence: its frequency and, in days, the timings of renewal, suspension and dismission

    recurrence_idintegerrequired
    frequency objectrequired

    Frequency of a recurrence: a number of years, months or weeks, or a one-off charge

    familystringrequired

    Unit of the frequency: Y (years), M (months), W (weeks) or U (one-off, without renewals)

    valueinteger | nullnullablerequired

    Number of units of the frequency, for example 12 with M; null with U

    days_renewinteger | nullnullablerequired

    Days before the expiry from which the purchase can be renewed and the renewal order is created

    days_autorenewinteger | nullnullablerequired

    Days before the expiry when the automatic renewal is attempted

    days_suspensioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is suspended; null if it is not suspended

    days_restoreinteger | nullnullablerequired

    Days after the expiry from which the restore price is charged in addition to the renewal price

    days_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is dismissed

    days_cancelinteger | nullnullablerequired

    Days after the start of the activation when a purchase never activated is cancelled automatically

    days_renew_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase whose renewal was not completed is dismissed automatically

    days_no_secondaryinteger | nullnullablerequired

    Days before the expiry from which additional services can no longer be bought for the purchase

    days_no_service_changeinteger | nullnullablerequired

    Days before the expiry from which the service of the purchase can no longer be changed

    recurrence_default objectrequired

    Billing recurrence: its frequency and, in days, the timings of renewal, suspension and dismission

    recurrence_idintegerrequired
    frequency objectrequired

    Frequency of a recurrence: a number of years, months or weeks, or a one-off charge

    familystringrequired

    Unit of the frequency: Y (years), M (months), W (weeks) or U (one-off, without renewals)

    valueinteger | nullnullablerequired

    Number of units of the frequency, for example 12 with M; null with U

    days_renewinteger | nullnullablerequired

    Days before the expiry from which the purchase can be renewed and the renewal order is created

    days_autorenewinteger | nullnullablerequired

    Days before the expiry when the automatic renewal is attempted

    days_suspensioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is suspended; null if it is not suspended

    days_restoreinteger | nullnullablerequired

    Days after the expiry from which the restore price is charged in addition to the renewal price

    days_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase not renewed is dismissed

    days_cancelinteger | nullnullablerequired

    Days after the start of the activation when a purchase never activated is cancelled automatically

    days_renew_dismissioninteger | nullnullablerequired

    Days after the expiry when a purchase whose renewal was not completed is dismissed automatically

    days_no_secondaryinteger | nullnullablerequired

    Days before the expiry from which additional services can no longer be bought for the purchase

    days_no_service_changeinteger | nullnullablerequired

    Days before the expiry from which the service of the purchase can no longer be changed

    purchase_id_primaryinteger | nullnullablerequired

    ID of primary purchase if this is an additional purchase.

    purchase_status objectrequired

    Status of the purchase.

    status_codestringrequired

    Status code: NEW_V2 (just created), ACTIVE_V2 (active), DELIVERED_V2 (active without renewals), DISMISSED_V2 (at the end of its life), CANCELED_V2 (cancelled before the activation) or DELETED_V2 (deleted one-off purchase)

    status_namestringrequired

    Name of the status, in Italian

    purchase_provisioning_status objectrequired

    Current provisioning status of purchase (changes during activation, renews, etc.).

    status_codestringrequired

    Code of the operation in progress: SLEEPY (none), TO_ACTIVATE, TO_RENEW, TO_SUSPEND, TO_RESUME (reactivation), TO_DISMISS or TO_CANCEL

    status_namestringrequired

    Name of the operation in progress, in Italian

    purchase_name objectrequired

    Name of the purchase.

    namestringrequired

    Service name

    full_namestringrequired

    Complete name (Service and object name)

    object_namestring | nullnullablerequired

    Name of the purchase object (ie. domain name, server hostname, etc.)

    activation_quantityintegerrequired

    Quantity (instances) purchased.

    quantityintegerrequired

    Current purchase quantity (instances).

    activation_price objectrequired

    Purchase price; null for sub-accounts.

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    renew_price objectrequired

    Renew price (applied on recurring purchases only); null for sub-accounts.

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    restore_price objectrequired

    Restore/reactivation price (applied on domains only); null for sub-accounts.

    anyOf
    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    date_activationdatenullablerequired

    Purchase date.

    date_activation_startdatenullablerequired

    Date when the activation started.

    date_expirydatenullablerequired

    Purchase expiration date (applied on recurring purchases only).

    date_dismissiondatenullablerequired

    Purchase dismission date.

    do_not_renewbooleanrequired

    Tells if purchase has to be renewed.

    suspendedbooleanrequired

    Tells if purchase is currently suspended.

    commentstring | nullnullablerequired

    User comment (will be included in invoice description).

    billing_data objectrequired

    Italian public administration codes of a document row: CIG, CUP and ODA

    cig_valuestring | nullnullablerequired

    CIG (Codice Identificativo Gara), the Italian code of the public tender; null when not given

    cup_valuestring | nullnullablerequired

    CUP (Codice Unico di Progetto), the Italian code of the public investment project; null when not given

    oda_valuestring | nullnullablerequired

    ODA (Ordine di Acquisto), the code of the purchase order; null when not given

    tasks object[]required

    Tasks currently running on the purchase.

  • Array [
  • task_idintegerrequired
    purchase_idintegerrequired

    Id of the purchase the task works on (GET /api/v3/purchases/{purchase_id})

    task_status objectrequired
    status_codestringrequired

    Status code: TO_EXECUTE (queued), MACHINE (running), WAIT (paused), HUMAN_INTERVENTION (checked by an operator), ASK_USER (waiting for data, POST /api/v3/tasks/{task_id}/data), DONE (completed) or FAIL (failed)

    status_namestringrequired

    Name of the status for the customers, in Italian, as in the control panel (for example In verifica for HUMAN_INTERVENTION)

    executed_instructionsinteger | nullnullablerequired

    Number of the step reached by the task, out of total_instructions: equal to it when the task is done or failed

    total_instructionsinteger | nullnullablerequired

    Total number of steps of the task

    is_startedbooleanrequired

    Whether the execution of the task has started

    ask_user_errorstring | nullnullablerequired

    Error found in the data provided for the task, null when there is none: the corrected data are sent with POST /api/v3/tasks/{task_id}/data

    date_starteddate-timerequired

    Date and time the task was created

  • ]
  • purchase_additionalsinteger[]required

    Collection of IDs of active additional purchases for this purchase.

    domain_idinteger | nullnullablerequired

    ID of the domain associated with this purchase.

    server_idinteger | nullnullablerequired

    ID of the server associated with this purchase.

    ssl_certificate_idinteger | nullnullablerequired

    ID of the SSL certificate associated with this purchase.

    pec_idinteger | nullnullablerequired

    ID of the PEC associated with this purchase.

    pec_domain_idinteger | nullnullablerequired

    ID of the PEC domain associated with this purchase.

    hosting_idinteger | nullnullablerequired

    ID of the web hosting associated with this purchase.

    monitoring_idinteger | nullnullablerequired

    ID of the monitoring service associated with this purchase.

    license_idinteger | nullnullablerequired

    ID of the license associated with this purchase.

    microsoft365_idinteger | nullnullablerequired

    ID of the Microsoft 365 subscription associated with this purchase.

    cloud_storage_idinteger | nullnullablerequired

    ID of the cloud storage associated with this purchase.

    object_storage_idinteger | nullnullablerequired

    ID of the object storage associated with this purchase.

    veeam_baas_idinteger | nullnullablerequired

    ID of the Veeam Backup as a Service associated with this purchase.

    date_createddate-timerequired

    Datetime when the purchase was first created.

  • ]
  • meta objectrequired

    Pagination of the list

    totalintegerrequired

    Number of items in the whole list

    countintegerrequired

    Number of items in this page: 0 beyond the last page

    pagesintegerrequired

    Number of pages of the list

    pageintegerrequired

    Number of this page, starting from 1

    per_pageintegerrequired

    Maximum number of items in a page

    PurchasePaginatedListResponse
    {
    "error": 0,
    "message": "string",
    "data": [
    {
    "purchase_id": 0,
    "account": {
    "account_id": 0,
    "username": "string",
    "username_alias": "string",
    "account_name": "string",
    "name": "string",
    "surname": "string",
    "email": "string",
    "phone": "string",
    "address": "string",
    "city": "string",
    "state": "string",
    "postal_code": "string",
    "country": {
    "iso_code_2": "string",
    "iso_code_3": "string",
    "country_name": "string",
    "local_name": "string",
    "phone_code": "string",
    "continent": "string",
    "region": "string"
    },
    "date_created": "2024-07-29T15:51:28.071Z"
    },
    "service": {
    "service_id": 0,
    "service_category": {
    "category_code": "string",
    "category_name": "string",
    "area_code": "string",
    "area_name": "string"
    },
    "service_name": "string",
    "recurrence": {
    "recurrence_id": 0,
    "frequency": {
    "family": "string",
    "value": 0
    },
    "days_renew": 0,
    "days_autorenew": 0,
    "days_suspension": 0,
    "days_restore": 0,
    "days_dismission": 0,
    "days_cancel": 0,
    "days_renew_dismission": 0,
    "days_no_secondary": 0,
    "days_no_service_change": 0
    },
    "recurrences_available": [
    {
    "recurrence_id": 0,
    "frequency": {
    "family": "string",
    "value": 0
    },
    "days_renew": 0,
    "days_autorenew": 0,
    "days_suspension": 0,
    "days_restore": 0,
    "days_dismission": 0,
    "days_cancel": 0,
    "days_renew_dismission": 0,
    "days_no_secondary": 0,
    "days_no_service_change": 0
    }
    ],
    "tld_id": 0,
    "service_code": "string",
    "service_url": "string",
    "activation_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "renew_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "restore_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "transfer_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "is_primary": true,
    "is_secondary": true,
    "is_presale": true,
    "is_aftersale": true,
    "is_quantifiable": true,
    "quantity_min": 0,
    "quantity_max": 0
    },
    "billing": {
    "account_billing_id": 0,
    "legal_entity": {
    "legal_entity_group": {
    "group_code": "string",
    "group_name": "string"
    },
    "tax_regime": {
    "regime_code": "string",
    "regime_name": "string",
    "code_edocument": "string",
    "tax_rate": 0
    },
    "entity_code": "string",
    "entity_name": "string"
    },
    "tax_regime": {
    "regime_code": "string",
    "regime_name": "string",
    "code_edocument": "string",
    "tax_rate": 0
    },
    "organization": "string",
    "name": "string",
    "surname": "string",
    "address": "string",
    "city": "string",
    "state": "string",
    "postal_code": "string",
    "country": {
    "iso_code_2": "string",
    "iso_code_3": "string",
    "country_name": "string",
    "local_name": "string",
    "phone_code": "string",
    "continent": "string",
    "region": "string"
    },
    "gender": "string",
    "birth_date": "2024-07-29",
    "birth_place": "string",
    "phone": "string",
    "vat_number": "string",
    "is_vat_group": true,
    "fiscal_code": "string",
    "edocument_pec": "string",
    "edocument_code": "string",
    "exporter_expiry": "2024-07-29",
    "exporter_number": "string",
    "exporter_date": "2024-07-29",
    "is_split_payment": true
    },
    "recurrence": {
    "recurrence_id": 0,
    "frequency": {
    "family": "string",
    "value": 0
    },
    "days_renew": 0,
    "days_autorenew": 0,
    "days_suspension": 0,
    "days_restore": 0,
    "days_dismission": 0,
    "days_cancel": 0,
    "days_renew_dismission": 0,
    "days_no_secondary": 0,
    "days_no_service_change": 0
    },
    "recurrence_default": {
    "recurrence_id": 0,
    "frequency": {
    "family": "string",
    "value": 0
    },
    "days_renew": 0,
    "days_autorenew": 0,
    "days_suspension": 0,
    "days_restore": 0,
    "days_dismission": 0,
    "days_cancel": 0,
    "days_renew_dismission": 0,
    "days_no_secondary": 0,
    "days_no_service_change": 0
    },
    "purchase_id_primary": 0,
    "purchase_status": {
    "status_code": "string",
    "status_name": "string"
    },
    "purchase_provisioning_status": {
    "status_code": "string",
    "status_name": "string"
    },
    "purchase_name": {
    "name": "string",
    "full_name": "string",
    "object_name": "string"
    },
    "activation_quantity": 0,
    "quantity": 0,
    "activation_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "renew_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "restore_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "date_activation": "2024-07-29",
    "date_activation_start": "2024-07-29",
    "date_expiry": "2024-07-29",
    "date_dismission": "2024-07-29",
    "do_not_renew": true,
    "suspended": true,
    "comment": "string",
    "billing_data": {
    "cig_value": "string",
    "cup_value": "string",
    "oda_value": "string"
    },
    "tasks": [
    {
    "task_id": 0,
    "purchase_id": 0,
    "task_status": {
    "status_code": "string",
    "status_name": "string"
    },
    "executed_instructions": 0,
    "total_instructions": 0,
    "is_started": true,
    "ask_user_error": "string",
    "date_started": "2024-07-29T15:51:28.071Z"
    }
    ],
    "purchase_additionals": [
    0
    ],
    "domain_id": 0,
    "server_id": 0,
    "ssl_certificate_id": 0,
    "pec_id": 0,
    "pec_domain_id": 0,
    "hosting_id": 0,
    "monitoring_id": 0,
    "license_id": 0,
    "microsoft365_id": 0,
    "cloud_storage_id": 0,
    "object_storage_id": 0,
    "veeam_baas_id": 0,
    "date_created": "2024-07-29T15:51:28.071Z"
    }
    ],
    "meta": {
    "total": 0,
    "count": 0,
    "pages": 0,
    "page": 0,
    "per_page": 0
    }
    }