<commit_before># Most of the tax booking functionality is required here.
require 'tax_bookers/tax_booker'

class Invoice < StaticDocument

  # === Associations
  
  belongs_to :user
  has_many :invoice_lines
  belongs_to :order
  
  has_one :replacement, :class_name => 'Invoice', :foreign_key => 'replacement_id'
  
  # === AR Callbacks
  <commit_msg>Removing tax booker reference.<commit_after>class Invoice < StaticDocument

  # === Associations
  
  belongs_to :user
  has_many :invoice_lines
  belongs_to :order
  
  has_one :replacement, :class_name => 'Invoice', :foreign_key => 'replacement_id'
  
  # === AR Callbacks
  
{'fraction_non_alphanumeric': 0.0985691573926868, 'fraction_numerical': 0.0, 'mean_word_length': 4.338983050847458, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2842321', 'n_tokens_mistral': 214, 'n_tokens_neox': 209, 'n_words': 51}