---
updatedAt: 2026-09-29T16:09:14.000Z
agentTools:
  projectIndex: https://docs.falco-app.be/llms.txt
---

# Create an invoice

Required scopes: `invoices:write`


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Falco Billing",
    "version": "1.0.0",
    "description": "`X-Falco-App-Secret` + `X-Falco-Api-Key`. Politique d'erreurs \"safe by default\" (RFC 9457).\n"
  },
  "servers": [
    {
      "url": "https://api.falco-app.be/v1",
      "description": "Production"
    },
    {
      "url": "https://api.sandbox.falco-app.be/v1",
      "description": "Sandbox"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Falco-App-Secret",
        "description": "`X-Falco-App-Secret`: Falco Application Secret associated to your application. Use together with the `X-Falco-Api-Key` header."
      }
    },
    "schemas": {
      "Problem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "instance": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          }
        }
      },
      "InvoiceLinesCreateRequest": {
        "type": "object",
        "properties": {
          "line_type": {
            "type": "string",
            "enum": [
              "article",
              "subtotal",
              "title",
              "comment"
            ]
          },
          "title": {
            "type": "string",
            "description": "Required if line_type is `\"title\"`"
          },
          "comment": {
            "type": "string",
            "description": "Required if line_type is `\"comment\"`"
          },
          "article_id": {
            "type": "string"
          },
          "reference": {
            "description": "Required if line_type is `\"article\"` and `article_id` is null.",
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "Required if line_type is `\"article\"` and `article_id` is null."
          },
          "quantity": {
            "type": "string",
            "format": "number",
            "description": "Required if line_type is `\"article\"`."
          },
          "unit_price": {
            "type": "string",
            "format": "number",
            "description": "Required if line_type is `\"article\"`, `article_id` is null and `use_price_incl_taxes` is false."
          },
          "unit_price_incl_taxes": {
            "type": "string",
            "format": "number",
            "description": "Required if line_type is `\"article\"` and `article_id` is null and `use_price_incl_taxes` is true."
          },
          "currency": {
            "type": "string",
            "default": "EUR",
            "enum": [
              "EUR"
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "description": "Must be part of UBL list (https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/)"
          },
          "tax_rate": {
            "type": "string",
            "description": "Required if line_type is `\"article\"` - Example - `\"21.0\"`"
          },
          "base_amount": {
            "type": "string",
            "description": "Required if line_type is `\"article\"` - Line total amount excluding taxes"
          },
          "total_amount": {
            "type": "string",
            "description": "Required if line_type is `\"article\"` - Line total amount including taxes"
          },
          "discount_rate": {
            "type": "string",
            "description": "Required if line_type is `\"article\"` - Line discount rate excluding taxes"
          },
          "account_number": {
            "type": "string",
            "description": "Account used in accounting software for this article (Horus only)."
          },
          "cost_code": {
            "type": "string"
          },
          "line_indentation": {
            "type": "number",
            "default": 0,
            "description": "Value between 0 and 3."
          }
        },
        "required": [
          "line_type"
        ]
      },
      "InvoiceSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "number": {
            "type": "string"
          },
          "document_type": {
            "type": "string",
            "enum": [
              "sale_invoice",
              "sale_credit_note"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "sent",
              "locked"
            ]
          },
          "document_date": {
            "type": "string",
            "format": "date"
          },
          "due_date": {
            "type": "string",
            "format": "date"
          },
          "language": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "purchase_order_reference": {
            "type": "string"
          },
          "customer": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              },
              "email": {
                "type": "string",
                "format": "email"
              },
              "vat_number": {
                "type": "string"
              },
              "company_number": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "address": {
                "type": "object",
                "properties": {
                  "line1": {
                    "type": "string"
                  },
                  "line2": {
                    "type": "string"
                  },
                  "zip": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "currency": {
            "type": "string"
          },
          "base_amount": {
            "type": "string"
          },
          "total_amount": {
            "type": "string"
          },
          "payment_status": {
            "type": "string",
            "enum": [
              "not_paid",
              "partially",
              "paid"
            ]
          },
          "email_status": {
            "type": "string",
            "enum": [
              "not_sent",
              "sent"
            ]
          },
          "peppol_status": {
            "type": "string",
            "enum": [
              "unknown",
              "irrelevant",
              "submitted",
              "sent",
              "received",
              "rejected",
              "accepted",
              "refused",
              "in_process",
              "under_query",
              "conditionally_accepted",
              "paid",
              "error"
            ]
          },
          "payment_communication": {
            "type": "string"
          },
          "payment_communication_type": {
            "type": "string",
            "enum": [
              "free",
              "structured"
            ]
          },
          "was_seen": {
            "type": "boolean",
            "description": "Value is `true` if `public_url` was visited."
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "InvoiceCreateRequest": {
        "type": "object",
        "properties": {
          "document_type": {
            "type": "string",
            "enum": [
              "sale_invoice",
              "sale_credit_note"
            ]
          },
          "document_date": {
            "type": "string",
            "format": "date"
          },
          "due_date": {
            "type": "string",
            "format": "date"
          },
          "language": {
            "type": "string"
          },
          "purchase_order_reference": {
            "type": "string"
          },
          "use_price_incl_taxes": {
            "type": "boolean",
            "default": false
          },
          "customer_id": {
            "type": "string"
          },
          "profile_id": {
            "type": "string",
            "description": "**BETA** Profile used for the sender details, logos and layout defaults. When set, `ibans` must be IBANs of the profile (see `profiles` in /organization/whoami). The organization defaults are used when omitted."
          },
          "currency": {
            "type": "string",
            "default": "EUR",
            "enum": [
              "EUR"
            ]
          },
          "payment_status": {
            "type": "string",
            "default": "not_paid",
            "enum": [
              "not_paid",
              "paid"
            ]
          },
          "free_payment_communication": {
            "type": "string",
            "description": "If structured communication is used, it will be auto-generated on approval."
          },
          "ibans": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "our_references": {
            "type": "string"
          },
          "personal_note": {
            "type": "string"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceLinesCreateRequest"
            }
          },
          "tax_regime": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "standard",
                  "reduced",
                  "vat_reverse_charge",
                  "intra_community",
                  "export",
                  "other_exoneration",
                  "non_vat_liable_foreign_vat"
                ]
              },
              "legal_exoneration_text": {
                "type": "string",
                "description": "only for `other_exoneration`"
              },
              "reduced_vat_rate_legal_notice_visible": {
                "type": "boolean",
                "description": "Required for `reduced` (must be absent for others)"
              }
            }
          },
          "layout": {
            "type": "object",
            "description": "Inherited from global configuration by default.",
            "properties": {
              "custom_field1_key": {
                "type": "string"
              },
              "custom_field1_value": {
                "type": "string"
              },
              "custom_field2_key": {
                "type": "string"
              },
              "custom_field2_value": {
                "type": "string"
              },
              "custom_field3_key": {
                "type": "string"
              },
              "custom_field3_value": {
                "type": "string"
              },
              "head_comment": {
                "type": "string"
              },
              "middle_comment": {
                "type": "string"
              },
              "footer_comment": {
                "type": "string"
              },
              "footer_frequency": {
                "type": "string",
                "enum": [
                  "never",
                  "first_page",
                  "last_page",
                  "every_page"
                ]
              },
              "show_total_area": {
                "type": "boolean"
              },
              "show_quantities": {
                "type": "boolean"
              },
              "show_payment_info": {
                "type": "boolean"
              },
              "show_footer_logo": {
                "type": "boolean"
              },
              "show_article_prices": {
                "type": "boolean"
              },
              "show_article_references": {
                "type": "boolean"
              },
              "show_customer_phone": {
                "type": "boolean"
              },
              "show_customer_country": {
                "type": "boolean"
              },
              "color": {
                "type": "string",
                "format": "hex color-code"
              }
            }
          }
        },
        "required": [
          "document_type",
          "document_date",
          "due_date",
          "customer_id",
          "lines",
          "tax_regime"
        ]
      }
    }
  },
  "paths": {
    "/invoices": {
      "post": {
        "summary": "Create an invoice",
        "tags": [
          "Invoices"
        ],
        "description": "Required scopes: `invoices:write`\n",
        "parameters": [
          {
            "name": "X-Falco-Api-Key",
            "in": "header",
            "required": true,
            "description": "Falco Api Key (provided by the client - required in addition to X-Falco-App-Secret).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceCreateRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created invoice / credit note",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoiceSummary"
                }
              }
            }
          },
          "default": {
            "description": "Error (RFC 9457)",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    }
  }
}
```