CoreApiInvoice

snowbee.coreapi.CoreApiInvoice

idrequired
bankoptional
ibanoptional
linesrequired
Show item fields
idrequired
final_net_unit_sales_pricerequired
  • Format: BigDecimal
Example"100.0"
gross_line_amountrequired
  • Format: BigDecimal
Example"100.0"
invoice_line_typerequired
Allowed values"SALES_ORDER_LINE""RETURN_ORDER_LINE""PRODUCT""RESOURCE""SERVICE_ORDER""GIFT_CARD""TEXT"
invoice_quantityrequired
  • Format: BigDecimal
Example"100.0"
item_namerequired
item_numberoptional
line_discount_percentagerequired
  • Format: BigDecimal
Example"100.0"
net_line_amountrequired
  • Format: BigDecimal
Example"100.0"
net_unit_order_discount_amountrequired
  • Format: BigDecimal
Example"100.0"
net_unit_pricerequired
  • Format: BigDecimal
Example"100.0"
source_referencesrequired
Show child fields
gift_card_idoptional
return_order_line_idoptional
sales_order_line_idoptional
service_order_idoptional
service_work_order_line_idoptional
service_work_order_resource_line_idoptional
unit_costoptional
  • Format: BigDecimal
Example"100.0"
unit_cost_currency_iso_codeoptional
unit_of_measureoptional
vat_amountrequired
  • Format: BigDecimal
Example"100.0"
vat_raterequired
  • Format: BigDecimal
Example"100.0"
paidrequired
referenceoptional
swiftoptional
versionrequired
  • Format: int64
bank_accountoptional
company_idrequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
creditor_referenceoptional
creditor_reference_algorithmoptional
creditor_reference_numberoptional
currency_iso_coderequired
customer_idrequired
customer_typerequired
Allowed values"B2B""B2C""COMPANY""RETAIL_STORE""ECOM_STORE"
document_statusrequired
due_daterequired
  • Format: date
Example"2026-01-14"
exchange_raterequired
  • Format: BigDecimal
Example"100.0"
external_notesoptional
invoice_addressrequired
Show child fields
cityrequired
namerequired
streetrequired
country_iso_coderequired
post_coderequired
invoice_daterequired
  • Format: date
Example"2026-01-14"
invoice_email_addressoptional
invoice_numberrequired
invoiced_by_user_idrequired
modified_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
organisational_unit_idrequired
source_typerequired
terms_of_payment_idrequired
total_gross_amountrequired
  • Format: BigDecimal
Example"100.0"
total_net_amountrequired
  • Format: BigDecimal
Example"100.0"
total_vat_amountrequired
  • Format: BigDecimal
Example"100.0"
View raw schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "title": "String"
    },
    "bank": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "iban": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "lines": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/snowbee.coreapi.CoreApiInvoiceLine"
      },
      "title": "List<CoreApiInvoiceLine>"
    },
    "paid": {
      "type": "boolean",
      "title": "Boolean"
    },
    "reference": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "swift": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "version": {
      "type": "integer",
      "format": "int64",
      "title": "Long"
    },
    "bank_account": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "company_id": {
      "type": "string",
      "title": "String"
    },
    "created_at": {
      "type": "string",
      "format": "ISO 8681 timestamp",
      "example": "2025-10-28T12:37:42Z",
      "title": "ISO8681"
    },
    "creditor_reference": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "creditor_reference_algorithm": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "creditor_reference_number": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "currency_iso_code": {
      "type": "string",
      "title": "String"
    },
    "customer_id": {
      "type": "string",
      "title": "String"
    },
    "customer_type": {
      "$ref": "#/components/schemas/snowbee.entities.utils.CustomerType"
    },
    "document_status": {
      "type": "string",
      "title": "String"
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "example": "2026-01-14",
      "title": "LocalDate"
    },
    "exchange_rate": {
      "type": "string",
      "format": "BigDecimal",
      "example": "100.0",
      "title": "BigDecimalAsString"
    },
    "external_notes": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "invoice_address": {
      "$ref": "#/components/schemas/snowbee.coreapi.CoreApiInvoiceAddress"
    },
    "invoice_date": {
      "type": "string",
      "format": "date",
      "example": "2026-01-14",
      "title": "LocalDate"
    },
    "invoice_email_address": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "invoice_number": {
      "type": "string",
      "title": "String"
    },
    "invoiced_by_user_id": {
      "type": "string",
      "title": "String"
    },
    "modified_at": {
      "type": "string",
      "format": "ISO 8681 timestamp",
      "example": "2025-10-28T12:37:42Z",
      "title": "ISO8681"
    },
    "organisational_unit_id": {
      "type": "string",
      "title": "String"
    },
    "source_type": {
      "type": "string",
      "title": "String"
    },
    "terms_of_payment_id": {
      "type": "string",
      "title": "String"
    },
    "total_gross_amount": {
      "type": "string",
      "format": "BigDecimal",
      "example": "100.0",
      "title": "BigDecimalAsString"
    },
    "total_net_amount": {
      "type": "string",
      "format": "BigDecimal",
      "example": "100.0",
      "title": "BigDecimalAsString"
    },
    "total_vat_amount": {
      "type": "string",
      "format": "BigDecimal",
      "example": "100.0",
      "title": "BigDecimalAsString"
    }
  },
  "required": [
    "id",
    "lines",
    "paid",
    "version",
    "company_id",
    "created_at",
    "currency_iso_code",
    "customer_id",
    "customer_type",
    "document_status",
    "due_date",
    "exchange_rate",
    "invoice_address",
    "invoice_date",
    "invoice_number",
    "invoiced_by_user_id",
    "modified_at",
    "organisational_unit_id",
    "source_type",
    "terms_of_payment_id",
    "total_gross_amount",
    "total_net_amount",
    "total_vat_amount"
  ],
  "title": "CoreApiInvoice"
}