Skip to main content

Get details of an Invoice

GET/customers/{customerId}/invoices/{invoiceId}/
v2
GET
deprecated-invoice-detail-of-invoice

This route is deprecated. Use /v2/invoices/{invoiceId} instead.

Request

  • customerIdstring
    required
    Example:"edefeee4-e8e9-4e2d-ab95-9a2eb6104cfb"
  • invoiceIdstring (uuid)
    required
    Example:"154219e9-bf4a-4f41-9c72-0449a98db62f"

Responses

application/json
  • amountPaidnumber
    required
  • cancellationobject
    • cancellationIdstring (uuid)
      required
    • cancelledAtstring (date-time)
      required
    • correctionNumberstring
      required
    • pdfIdstring (uuid)
      required
    • reasonstring
  • cancellationOfstring (uuid)

    The ID of the invoice that this invoice cancels.

  • currencystring
    required
  • customerIdstring
    required
  • datestring (date-time)
    required
  • groupsarray of object
    required
    • Array[
    • *object
      • contractIdstring (uuid)
      • descriptionstring
      • itemsarray of object
        required
        • Array[
        • *object
          • additionalDescriptionstring
          • contractItemIdstring (uuid)
            required
          • descriptionstring
            required
          • itemCancelledOrCorrectedByarray of object
            • Array[
            • *object
              • sourceInvoiceIdstring (uuid)
              • sourceInvoiceItemIdstring (uuid)
            • ]
        • itemIdstring (uuid)
          required
        • priceobject
          required
          • currency"EUR"
            required
          • valueinteger
            required
        • referenceobject
          • sourceInvoiceIdstring (uuid)
            required
          • sourceInvoiceItemIdstring (uuid)
            required
        • serviceDatestring (date-time)
        • servicePeriodobject
          • endstring (date-time)
            required
          • startstring (date-time)
            required
        • vatRatenumber
          required
      • ]
]
  • idstring (uuid)
    required
  • invoiceNumberstring
    required
  • invoiceTypestring (one of: REGULAR, REISSUE, CORRECTION, CANCELLATION)
    required
  • paymentSettingsone of 2 alternatives
  • pdfIdstring (uuid)
    required
  • recipientobject
    required
    • addressobject
      required
      • streetstring
        required
      • houseNumberstring
        required
      • citystring
        required
      • zipstring
        required
      • countryCodestring
        required

        ISO 3166-1 alpha-2 country code

      • addressPrefixstring
    • companystring
    • emailAddressstring (email)
    • firstNamestring
    • lastNamestring
    • phoneNumbersarray of string
      • Array[
      • *string
      • ]
  • salutationstring (one of: mr, ms, other)
    required
  • titlestring
  • useFormalTermboolean
  • statusstring (one of: NEW, CONFIRMED, DENIED, PAID, PARTIALLY_PAID, OVERPAID)
    required
  • totalGrossnumber
    required
  • totalNetnumber
    required
  • vatIdstring
  • Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/customers/string/invoices/f0f86186-0a5a-45b2-aa33-502777496347