---
type: object
properties:
  invoice_id:
    type: integer
    description: Internal identifier for the incoide. Generated on POST
  invoice_number:
    type: string
    description: Invoice number assigned by the vendor
  vendor_id:
    type: integer
    description: Internal identifier for the vendor
  shipping_date:
    type:
      - string
      - "null"
    format: date
    description: Date of shipping
  invoice_date:
    type:
      - string
      - "null"
    format: date
    description: Date of billing
  closed:
    type: boolean
    description: If the invoice is closed
  close_date:
    type: string
    format: date
    description: Invoice close date (only when the invoice is closed)
  shipping_cost:
    type:
      - integer
      - "null"
    description: Shipping cost
  shipping_cost_budget_id:
    type:
      - integer
      - "null"
    description: Shipping cost linking to budget
additionalProperties: false
