GET https://fboone-api.fbo1.io/api/v1.0/invoice/abebc956-8224-4564-87cb-bd74de8a54c1
{
  "invoiceHeader": {
    "invoiceNumber": "20220002",
    "invoiceDate": "2022-12-22 00:00",
    "invoiceType": "INV",
    "buyer": {
      "buyerID": "c8d02bb2-3760-4d0f-ad5e-b2fa3553798d",
      "buyerName": "Amsterdam Software",
      "buyerVATNumber": "NONE",
      "buyerAddress1": null,
      "buyerAddress2": null,
      "buyerCity": null,
      "buyerPostCode": null,
      "buyerCountryCode": null,
      "buyerCustomerNumber": null
    },
    "seller": {
      "sellerID": "9bf6dcf7-ac35-46eb-8a5a-f60ec90ff9f3",
      "sellerName": null,
      "sellerVATNumber": null,
      "sellerAddress1": null,
      "sellerAddress2": null,
      "sellerCity": null,
      "sellerPostCode": null,
      "sellerCountryCode": "TBA",
      "sellerFullDetails": null
    },
    "invoiceAmountExclVAT": 440,
    "invoiceVATAmount": 88,
    "invoiceAmountInclVAT": 528,
    "invoicePaidAmount": null,
    "invoiceAmountDue": 0,
    "invoiceCurrency": "EUR",
    "localAmountExclVAT": null,
    "localVATAmount": null,
    "localAmountInclVAT": null,
    "localCurrency": null,
    "purchaseOrder": null,
    "paymentTerm": null,
    "totalInvoiceLines": 2,
    "totalPrePayments": 2,
    "invoiceDetails": [
      {
        "lineNumber": 1,
        "serviceType": "Chargeable service",
        "serviceNumber": 1,
        "productCode": "AP-FEES",
        "productName": "Airport Fees",
        "productReference": "AirportFee",
        "contractRateItem": "N",
        "deliveryStartDate": "2022-09-09 14:00:00",
        "deliveryEndDate": null,
        "quantity": 1,
        "uom": "item",
        "unitPrice": 440,
        "lineAmount": 0,
        "lineVATAmount": 0,
        "lineVATPercentage": 20,
        "lineVATReference": null,
        "orderReference": "FBO-5",
        "creditedSellerOrderReference": null,
        "creditedSellerInvoiceReference": null,
        "serviceLocation": {
          "icaoCode": "EHAM",
          "iataCode": "AMS",
          "name": "AMSTERDAM SCHIPHOL"
        },
        "deliveryReference": "Airport Fees",
        "operatorsHandlingNumber": null,
        "aircraftDetail": {
          "registrationNumber": "NTEST",
          "mtowTonnes": 0,
          "aircraftTypeCode_ICAO": "ZZZZ",
          "aircraftTypeCode_IATA": null,
          "noiseClass": null,
          "emissionsClass": null
        },
        "flightDetail": {
          "flightNumber": null,
          "flightDateTime": "2022-09-09 14:00",
          "flightDirection": "Arrive",
          "routeSource": {
            "icaoCode": "EHAM",
            "iataCode": "AMS",
            "name": "AMSTERDAM SCHIPHOL"
          },
          "routeDestination": {
            "icaoCode": "EHAM",
            "iataCode": "AMS",
            "name": "AMSTERDAM SCHIPHOL"
          },
          "passengerCount": 1
        },
        "ledgerNumber": null,
        "costCenter": null
      },
      {
        "lineNumber": 2,
        "serviceType": "Price component",
        "serviceNumber": 1,
        "productCode": "LANDING FEE 6T TO 50T",
        "productName": "Landing Fee - 6tons to 50tons",
        "productReference": "LandingFee",
        "contractRateItem": "N",
        "deliveryStartDate": "2022-09-09 14:00:00",
        "deliveryEndDate": null,
        "quantity": 44,
        "uom": "Ton",
        "unitPrice": 10,
        "lineAmount": 440,
        "lineVATAmount": 88,
        "lineVATPercentage": 20,
        "lineVATReference": "20%",
        "orderReference": "FBO-5",
        "creditedSellerOrderReference": null,
        "creditedSellerInvoiceReference": null,
        "serviceLocation": {
          "icaoCode": "EHAM",
          "iataCode": "AMS",
          "name": "AMSTERDAM SCHIPHOL"
        },
        "deliveryReference": "Landing Fee - 6tons to 50tons",
        "operatorsHandlingNumber": null,
        "aircraftDetail": {
          "registrationNumber": "NTEST",
          "mtowTonnes": 0,
          "aircraftTypeCode_ICAO": "ZZZZ",
          "aircraftTypeCode_IATA": null,
          "noiseClass": null,
          "emissionsClass": null
        },
        "flightDetail": {
          "flightNumber": null,
          "flightDateTime": "2022-09-09 14:00",
          "flightDirection": "Arrive",
          "routeSource": {
            "icaoCode": "EHAM",
            "iataCode": "AMS",
            "name": "AMSTERDAM SCHIPHOL"
          },
          "routeDestination": {
            "icaoCode": "EHAM",
            "iataCode": "AMS",
            "name": "AMSTERDAM SCHIPHOL"
          },
          "passengerCount": 1
        },
        "ledgerNumber": null,
        "costCenter": null
      }
    ],
    "prepayments": [
      {
        "key": "1-FBO",
        "orderKey": "FBO-5",
        "amountInInvoicedCurrency": 10,
        "amountInPaidCurrency": 10,
        "paidCurrencyCode": "EUR",
        "exchangeRate": 1,
        "remarks": "30 Nov 18:07 1-FBO CASH EUR",
        "formOfPayment": "CASH EUR",
        "authorizationCode": null,
        "cardLastFourDigits": null,
        "paymentProcessor": null,
        "dateTimeUtc": "2022-11-30 17:07",
        "dateTimeLt": "2022-11-30 18:07"
      },
      {
        "key": "2-FBO",
        "orderKey": "FBO-5",
        "amountInInvoicedCurrency": 518,
        "amountInPaidCurrency": 518,
        "paidCurrencyCode": "EUR",
        "exchangeRate": 1,
        "remarks": "21 Dec 22:44 2-FBO CASH EUR",
        "formOfPayment": "CASH EUR",
        "authorizationCode": null,
        "cardLastFourDigits": null,
        "paymentProcessor": null,
        "dateTimeUtc": "2022-12-21 21:44",
        "dateTimeLt": "2022-12-21 22:44"
      }
    ],
    "invoicePDF": null
  },
  "attachments": [],
  "transmissionDate": null
}