academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Invoices → Create invoice

AI-generated

Summary

Create an academyFIVE invoice by sending the configured invoice data to the API. Add one or more invoice positions and provide the required account, currency, document, date, and site details.

Inputs

  • data.type — Optional type value included in the request body.
  • data.attributes.profileId — Profile ID for the invoice.
  • data.attributes.bookingId — Booking ID associated with the invoice.
  • data.attributes.isTriggerMatriculation — Whether to trigger matriculation; defaults to false.
  • data.attributes.isTriggerReRegistration — Whether to trigger re-registration; defaults to false.
  • data.attributes.matriculationDateType — Matriculation date type: 1 for cohort start date or 2 for semester start date.
  • data.attributes.semesterId — Semester ID.
  • data.attributes.companyId — Company ID.
  • data.attributes.addressId (required) — Address ID for the invoice.
  • data.attributes.bankAccountId (required) — Bank account ID for the invoice.
  • data.attributes.currencyCode (required) — Invoice currency code.
  • data.attributes.documentId (required) — Document ID.
  • data.attributes.invoiceDate (required) — Invoice date.
  • data.attributes.invoicePositions (required) — One or more invoice positions. Each requires positionPrice, positionQuantity, and positionTaxId; positionComment, positionProfitCenterId, and positionRevenueAccountId are optional.
  • data.attributes.siteId (required) — Site ID.
  • data.attributes.comment — Optional invoice comment.
  • data.attributes.confirmationOfPaymentDocumentId — Optional confirmation of payment document ID.
  • data.attributes.dueDate — Optional due date.
  • data.attributes.isPaymentPlan — Whether the invoice uses a payment plan; defaults to false.
  • data.attributes.paymentPlanCount — Number of payments in the payment plan.
  • data.attributes.paymentPlanDueDate — Payment plan due date; the field description says it defaults to 30 days if left empty.
  • data.attributes.profitCenterId — Optional profit center ID.
  • data.attributes.showRecipient — Whether to show the recipient; defaults to false.

Output shape

A list of JSON items from the API response, paired with their corresponding input item.

When continue-on-fail is enabled, failed input items produce an item with an error field. The source does not transform the successful response beyond n8n's returnJsonArray handling.

Links

Discussion