BaseTender
  1. Invoices
BaseTender
  • Documentazione
  • Auth
    • auth
      POST
  • Vehicles
    • /vehicles/plate/:plate
      GET
    • /vehicles/id/:id
      GET
    • /vehicles/all/:company_id
      GET
    • /vehicles/update/:id
      PUT
  • Companies
    • /companies/create
      POST
  • Users
    • /users/create
      POST
    • /users/createResetOauthPw
      POST
    • /users/resetOauthPw
      POST
    • /users/resetLegacyPw
      POST
  • Trips
    • /trips/all/:company_id/:user_id
      GET
    • /trips/mine/:company_id
      GET
    • /trips/quoted/:company_id
      GET
    • /trips/:id/set/status/:status
      POST
    • /trips/details/:id/:company_id
      GET
    • /trips/all_data/:trip_id
      GET
    • /trips/add
      POST
  • Offers
    • /offers/:id/set/status/:status
      POST
    • /offers/:id/set/offer_business/:offer
      POST
    • offers/:trip_id
      GET
  • Invoices
    • /invoices/mine/:company_id
      GET
    • /invoices/send
      POST
    • /invoices/documents/:trip_id/:type?
      GET
    • /invoices/documents/insert
      POST
    • /invoices/documents/delete/:document_id
      DELETE
  1. Invoices

/invoices/mine/:company_id

GET
/invoices/mine/{company_id}
Questa route serve per recuperare tutte le fatture che deve emettere una determinata company.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200Success
application/json
Body

🟢200DocumentsForInvoices
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://tender.whyb.it:8443/v1/invoices/mine/67b58fd0c79190a4c38936dc' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
[
    {
        "_id": "67b731240037f05237531060",
        "trip_id": "67b60b5b0e641bbe3066caa9",
        "ammount": 230,
        "company_id_fornitore": "67b58fd0c79190a4c38936dc",
        "rif_cliente": "Non specificato",
        "status": "waiting",
        "validation": "waiting",
        "viaggi": [
            {
                "tipo_transazione": "carico",
                "merce_carico": [
                    {
                        "length": 80,
                        "depth": 120,
                        "heigth": 110,
                        "weight": 265,
                        "quantity": 2,
                        "sovrapponibile": "NO",
                        "weight_render": "265 kg",
                        "volume": 3,
                        "volume_render": "3 m<sup>3</sup>",
                        "merce_size": "80 &times; 120 &times; 110 cm",
                        "total_weight": "530 kg"
                    }
                ],
                "tassativita": "pronta_dal",
                "date": "2025-02-20",
                "select_orario": "dalle_alle",
                "hour_from": "09:00",
                "hour_to": "11:00",
                "complete_address": "Via dell' Artigianato, 2, 46031 Bagnolo San Vito, MN, Italia",
                "city": "Bagnolo San Vito",
                "cap": "46031",
                "province": "MN",
                "country_code": "IT",
                "country": "Italia",
                "isZTL": false,
                "hasVincoliDiDimensione": false,
                "vincoli_di_dimensione": "solo_motrice",
                "max_metri": null,
                "tipo_allestimento": "any",
                "copri_scopri": false,
                "temperature": "-25-28",
                "is_adr": false,
                "adr_class": "",
                "capi_appesi": false,
                "nr_stanghe": null,
                "assicurazione_all_risks": false,
                "valore_merce_assicurata": "",
                "scambio_epal": false,
                "sistemi_di_ancoraggio_cinghie": true,
                "antifurto_gps": false,
                "sponda_idraulica": false,
                "transpallet": false,
                "is_sigillabile": false,
                "total_weight": 530,
                "conforme": true,
                "ord": 0,
                "ragione_sociale": "Reflex Italy S.R.L. Di Greghi Giannino E C.",
                "provincia": "MN",
                "referente": "Fercam",
                "note": "",
                "presentarsi_come": "Presentarsi Al Carico Come DACHSER & FERCAM Italia S.R.L.",
                "note_merce": ""
            },
            {
                "tipo_transazione": "scarico",
                "merce_scarico": [
                    {
                        "length": 80,
                        "depth": 120,
                        "heigth": 110,
                        "weight": 265,
                        "quantity": 2,
                        "sovrapponibile": false
                    }
                ],
                "tassativita": "pronta_dal",
                "tipo_viaggio": "24",
                "date": "2025-02-20",
                "select_orario": "giornata",
                "hour_from": "",
                "hour_to": "",
                "complete_address": "Via Giuseppe Verdi, 5, 21020 Bodio Lomnago VA, Italia",
                "city": "Bodio Lomnago",
                "cap": "21020",
                "province": "VA",
                "country_code": "IT",
                "country": "Italia",
                "isZTL": false,
                "hasVincoliDiDimensione": false,
                "vincoli_di_dimensione": "solo_motrice",
                "max_metri": null,
                "conforme": true,
                "ord": 1,
                "ragione_sociale": "CONFEZIONI ANDREA ITALIA SRL",
                "provincia": "VA",
                "referente": "Referente DANIELE LAGONA  0332 261562",
                "note": ""
            }
        ]
    }
    ]
Modified at 2025-05-22 14:39:00
Previous
offers/:trip_id
Next
/invoices/send
Built with