Skip to content
Developer

ProjectTimeReport

Billing3 EndpointsBilling / ProjectTimeReport

This method will get a single ProjectTimeReport Object with the given id

GET/api/invoice/projecttimereports/{id}

Path parameters

idrequiredstring

Responses

200Returns a single ProjectTimeReportProjectTimeReport2

Show fields (9)
  • idinteger

    Primary key of the project time report. Internal ID.

  • projectCRMProject12

    Project the time report belongs to.

    Show fields (19)
    • idinteger

      Primary key of the project. Internal ID.

    • namestring

      Name of the project.

    • closedstring (date-time)

      Time the project was closed.

    • billedstring (date-time)

      Time the project was billed.

    • numberstring

      Number of the project.

    • startstring (date-time)

      Start of the project.

    • endstring (date-time)

      End of the project.

    • descriptionstring

      Description of the project.

    • companyCRMCompany

      Company the project belongs to.

    • internal_main_contactUser14

      Internal login user who is the main contact.

    • categoryCRMProjectCategory

      Category of the project.

    • archivedboolean

      The project is archived.

    • visible_for_customerboolean

      The project is visible in the customer app.

    • name_for_customerstring

      Name of the project shown to customers.

    • invoice_emailstring

      E-mail address for invoices of the project.

    • time_report_emailstring

      E-mail address for time reports of the project.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • invoiceInvoice16

    Invoice the time report was billed on.

    Show fields (38)
    • idinteger

      Primary key of the invoice document. Internal ID.

    • tokenstring

      Token that identifies the document for public access.

    • numberinteger

      Running document number.

    • manual_number_prefixstring

      Prefix of a manually entered document number.

    • manual_numberinteger

      Manually entered document number.

    • number_stringstring

      Document number as displayed to users.

    • generation_datestring (date-time)

      Date the document was generated.

    • number_datestring (date-time)

      Date used for the document number.

    • messagestring

      Message printed on the document.

    • currencystring

      Currency of the document.

    • namestring

      Name of the document.

    • due_datestring (date-time)

      Due date of the document.

    • netto_valuenumber (float)

      Net total of the document.

    • brutto_valuenumber (float)

      Gross total of the document.

    • tax_valuenumber (float)

      Total tax amount of the document.

    • taxTaxrequired

      Tax rate applied to the document.

    • linked_number_titlestring

      Title of the linked document number.

    • linked_numberstring

      Number of the linked document.

    • statusstring

      Status of the document.

    • previous_statusstring

      Status before the last change.

    • status_updatedstring (date-time)

      Point in time the status was last changed.

    • archivedboolean

      Whether the document is archived.

    • last_pdf_exportstring (date-time)

      Point in time the PDF was last exported.

    • last_status_exportstring

      Status at the last export.

    • search_stringstring

      Text that the entity can be searched by.

    • accounting_typeAccountingTyperequired

      Accounting type of the invoice.

    • payment_typePaymentType

      Payment type of the invoice.

    • payment_goalPaymentGoal

      Payment term of the invoice.

    • expense_categoryExpenseCategory10

      EÜR-Kategorie für diese Rechnung (Einnahmen-Zuordnung) Wenn nicht gesetzt, wird die Default-Kategorie des AccountingTypes verwendet

    • buyerInvoiceBuyer16

      Buyer of the invoice.

    • payment_datestring (date-time)

      Date the invoice was paid.

    • vat_categorystring

      Der umsatzsteuerliche Sachverhalt. Der Steuersatz sagt nicht, in welche Zeile der Voranmeldung ein Umsatz gehört. Null Prozent stehen an einer innergemeinschaftlichen Lieferung (Kennzahl 41), an einer Ausfuhr (43), an einer Leistung nach § 13b UStG (60) und an einem steuerfreien Umsatz nach § 4 UStG (48) - vier verschiedene Zeilen, derselbe Steuersatz. Hier ist die einzige Stelle, an der jemand das weiss: beim Schreiben der Rechnung ist bekannt, ob der Kunde eine USt-IdNr. hat und wohin die Ware geht. Später ist es nicht mehr rekonstruierbar. Ohne Angabe der Regelfall - alles andere war bisher nicht erfassbar.

    • is_payment_date_from_ext_serviceboolean

      The payment date comes from an external service.

    • direct_debit_exportedboolean

      The invoice was exported for direct debit.

    • cancel_datestring (date-time)

      Date the invoice was canceled.

    • cancel_textstring

      Text of the cancellation.

    • start_datestring (date-time)

      Start of the billed period.

    • end_datestring (date-time)

      End of the billed period.

  • itemsarray<ProjectTimeReportItem2>

    Items of the time report.

    Show fields (7)
    • idinteger

      Primary key of the project time report item. Internal ID.

    • ticketCustomerTicket5

      Ticket the item was created from.

    • project_time_reportProjectTimeReport2

      Project time report the item belongs to.

    • namestring

      Name of the ticket or task.

    • statusstring

      Status of the ticket or task.

    • time_string_billablestring

      Billable time as text.

    • time_string_not_billablestring

      Non-billable time as text.

  • time_billed_on_ticket_closeboolean

    Time is billed when the ticket is closed.

  • startstring (date-time)

    Start of the reported period.

  • endstring (date-time)

    End of the reported period.

  • time_string_billablestring

    Billable time as text.

  • time_string_not_billablestring

    Non-billable time as text.

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/invoice/projecttimereports/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "project": {
    "id": 42,
    "name": "Beispiel",
    "description": "Text",
    "invoice_email": "lena.hartmann@example.org",
    "time_report_email": "lena.hartmann@example.org",
    "closed": "2026-10-15T09:30:00+02:00",
    "billed": "2026-10-15T09:30:00+02:00",
    "number": "string",
    "start": "2026-10-15T09:30:00+02:00",
    "end": "2026-10-15T09:30:00+02:00"
  },
  "invoice": {
    "tax": {
      "name": "Beispiel",
      "id": 42,
      "value": 1.5,
      "deleted": true,
      "global_default": true,
      "datev_tax_key": 1
    },
    "accounting_type": {
      "name": "Beispiel",
      "type": "string",
      "id": 42,
      "cancelled_name": "Beispiel",
      "deleted": true
    },
    "id": 42,
    "currency": "EUR",
    "name": "Beispiel",
    "linked_number_title": "Beispiel",
    "cancel_text": "Text",
    "token": "string",
    "number": 1,
    "manual_number_prefix": "string"
  },
  "items": [
    {
      "id": 42,
      "name": "Beispiel",
      "status": "string",
      "time_string_billable": "string",
      "time_string_not_billable": "string"
    }
  ],
  "time_billed_on_ticket_close": true,
  "start": "2026-10-15T09:30:00+02:00",
  "end": "2026-10-15T09:30:00+02:00",
  "time_string_billable": "string",
  "time_string_not_billable": "string"
}

This method will get all ProjectTimeReport Objects

GET/api/invoice/projecttimereports

Query parameters

idstring
projectstring
invoicestring
timeBilledOnTicketCloseboolean
startstring
endstring
timeStringBillablestring
timeStringNotBillablestring
searchStringstringtext to search for in the list
orderFieldNamestringname of the order field
orderFieldSortstringsorting modeAllowed: DESCASC
pageintegerpage of the list
pageSizeintegernumber of entries for each page
withMaxPageNumberstringreturns the number of pages available as a header if this is set

Responses

200Returns a list of ProjectTimeReport objectsarray<ProjectTimeReport3>

Show fields (8)
  • idinteger

    Primary key of the project time report. Internal ID.

  • projectCRMProject

    Project the time report belongs to.

    Show fields (19)
    • idinteger

      Primary key of the project. Internal ID.

    • namestring

      Name of the project.

    • closedstring (date-time)

      Time the project was closed.

    • billedstring (date-time)

      Time the project was billed.

    • numberstring

      Number of the project.

    • startstring (date-time)

      Start of the project.

    • endstring (date-time)

      End of the project.

    • descriptionstring

      Description of the project.

    • companyCRMCompany

      Company the project belongs to.

    • internal_main_contactUser14

      Internal login user who is the main contact.

    • categoryCRMProjectCategory

      Category of the project.

    • archivedboolean

      The project is archived.

    • visible_for_customerboolean

      The project is visible in the customer app.

    • name_for_customerstring

      Name of the project shown to customers.

    • invoice_emailstring

      E-mail address for invoices of the project.

    • time_report_emailstring

      E-mail address for time reports of the project.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • invoiceInvoice

    Invoice the time report was billed on.

    Show fields (38)
    • idinteger

      Primary key of the invoice document. Internal ID.

    • tokenstring

      Token that identifies the document for public access.

    • numberinteger

      Running document number.

    • manual_number_prefixstring

      Prefix of a manually entered document number.

    • manual_numberinteger

      Manually entered document number.

    • number_stringstring

      Document number as displayed to users.

    • generation_datestring (date-time)

      Date the document was generated.

    • number_datestring (date-time)

      Date used for the document number.

    • messagestring

      Message printed on the document.

    • currencystring

      Currency of the document.

    • namestring

      Name of the document.

    • due_datestring (date-time)

      Due date of the document.

    • netto_valuenumber (float)

      Net total of the document.

    • brutto_valuenumber (float)

      Gross total of the document.

    • tax_valuenumber (float)

      Total tax amount of the document.

    • taxTaxrequired

      Tax rate applied to the document.

    • linked_number_titlestring

      Title of the linked document number.

    • linked_numberstring

      Number of the linked document.

    • statusstring

      Status of the document.

    • previous_statusstring

      Status before the last change.

    • status_updatedstring (date-time)

      Point in time the status was last changed.

    • archivedboolean

      Whether the document is archived.

    • last_pdf_exportstring (date-time)

      Point in time the PDF was last exported.

    • last_status_exportstring

      Status at the last export.

    • search_stringstring

      Text that the entity can be searched by.

    • accounting_typeAccountingTyperequired

      Accounting type of the invoice.

    • payment_typePaymentType

      Payment type of the invoice.

    • payment_goalPaymentGoal

      Payment term of the invoice.

    • expense_categoryExpenseCategory10

      EÜR-Kategorie für diese Rechnung (Einnahmen-Zuordnung) Wenn nicht gesetzt, wird die Default-Kategorie des AccountingTypes verwendet

    • buyerInvoiceBuyer

      Buyer of the invoice.

    • payment_datestring (date-time)

      Date the invoice was paid.

    • vat_categorystring

      Der umsatzsteuerliche Sachverhalt. Der Steuersatz sagt nicht, in welche Zeile der Voranmeldung ein Umsatz gehört. Null Prozent stehen an einer innergemeinschaftlichen Lieferung (Kennzahl 41), an einer Ausfuhr (43), an einer Leistung nach § 13b UStG (60) und an einem steuerfreien Umsatz nach § 4 UStG (48) - vier verschiedene Zeilen, derselbe Steuersatz. Hier ist die einzige Stelle, an der jemand das weiss: beim Schreiben der Rechnung ist bekannt, ob der Kunde eine USt-IdNr. hat und wohin die Ware geht. Später ist es nicht mehr rekonstruierbar. Ohne Angabe der Regelfall - alles andere war bisher nicht erfassbar.

    • is_payment_date_from_ext_serviceboolean

      The payment date comes from an external service.

    • direct_debit_exportedboolean

      The invoice was exported for direct debit.

    • cancel_datestring (date-time)

      Date the invoice was canceled.

    • cancel_textstring

      Text of the cancellation.

    • start_datestring (date-time)

      Start of the billed period.

    • end_datestring (date-time)

      End of the billed period.

  • time_billed_on_ticket_closeboolean

    Time is billed when the ticket is closed.

  • startstring (date-time)

    Start of the reported period.

  • endstring (date-time)

    End of the reported period.

  • time_string_billablestring

    Billable time as text.

  • time_string_not_billablestring

    Non-billable time as text.

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/invoice/projecttimereports \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
[
  {
    "id": 42,
    "project": {
      "id": 42,
      "name": "Beispiel",
      "description": "Text",
      "invoice_email": "lena.hartmann@example.org",
      "time_report_email": "lena.hartmann@example.org",
      "closed": "2026-10-15T09:30:00+02:00",
      "billed": "2026-10-15T09:30:00+02:00",
      "number": "string",
      "start": "2026-10-15T09:30:00+02:00",
      "end": "2026-10-15T09:30:00+02:00"
    },
    "invoice": {
      "id": 42,
      "currency": "EUR",
      "name": "Beispiel",
      "linked_number_title": "Beispiel",
      "cancel_text": "Text",
      "token": "string",
      "number": 1,
      "manual_number_prefix": "string",
      "manual_number": 1,
      "number_string": "string"
    },
    "time_billed_on_ticket_close": true,
    "start": "2026-10-15T09:30:00+02:00",
    "end": "2026-10-15T09:30:00+02:00",
    "time_string_billable": "string",
    "time_string_not_billable": "string"
  }
]

This method will print a ProjectTimeReport as PDF

GET/api/invoice/projecttimereports/{id}/pdf

Path parameters

idrequiredstring

Responses

default

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/invoice/projecttimereports/42/pdf \
  --header 'x-iw-jwt-token: <TOKEN>'