def build_purchaser_box
      @pdf.text_box(
        @document.purchaser_name,
        size: 15,
        at: [x(284), y(640) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @labels[:purchaser],
        size: 11,
        at: [x(284), y(660) - @push_down],
        width: x(240)
      )

      if used? @labels[:sublabels][:purchaser]
        @pdf.text_box(
          @labels[:sublabels][:purchaser],
          size: 10,
          at: [10, y(660) - @push_down],
          width: x(520),
          align: :right
        )
      end
      @pdf.text_box(
        "#{@document.purchaser_street}    #{@document.purchaser_street_number}",
        size: 10,
        at: [x(284), y(620) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.purchaser_postcode,
        size: 10,
        at: [x(284), y(605) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.purchaser_city,
        size: 10,
        at: [x(334), y(605) - @push_down],
        width: x(240)
      )
      unless @document.purchaser_city_part.empty?
        @pdf.text_box(
          @document.purchaser_city_part,
          size: 10,
          at: [x(334), y(590) - @push_down],
          width: x(240)
        )
      end
      unless @document.purchaser_extra_address_line.empty?
        @pdf.text_box(
          @document.purchaser_extra_address_line,
          size: 10,
          at: [x(284), y(575) - @push_down],
          width: x(240)
        )
      end
      unless @document.purchaser_tax_id.empty?
        @pdf.text_box(
          "#{@labels[:tax_id]}:    #{@document.purchaser_tax_id}",
          size: 10,
          at: [x(284), y(550) - @push_down],
          width: x(240)
        )
      end
      unless @document.purchaser_tax_id2.empty?
        @pdf.text_box(
          "#{@labels[:tax_id2]}:    #{@document.purchaser_tax_id2}",
          size: 10,
          at: [x(284), y(535) - @push_down],
          width: x(240)
        )
      end
      @pdf.stroke_rounded_rectangle([x(274), y(670) - @push_down], x(266), y(150), 6)
    end
def build_purchaser_box
      @pdf.text_box(
        @document.purchaser_name,
        size: 15,
        at: [x(284), y(640) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @labels[:purchaser],
        size: 11,
        at: [x(284), y(660) - @push_down],
        width: x(240)
      )

      if used? @labels[:sublabels][:purchaser]
        @pdf.text_box(
          @labels[:sublabels][:purchaser],
          size: 10,
          at: [10, y(660) - @push_down],
          width: x(520),
          align: :right
        )
      end
      @pdf.text_box(
        "#{@document.purchaser_street}    #{@document.purchaser_street_number}",
        size: 10,
        at: [x(284), y(620) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.purchaser_postcode,
        size: 10,
        at: [x(284), y(605) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.purchaser_city,
        size: 10,
        at: [x(334), y(605) - @push_down],
        width: x(240)
      )
      unless @document.purchaser_city_part.empty?
        @pdf.text_box(
          @document.purchaser_city_part,
          size: 10,
          at: [x(334), y(590) - @push_down],
          width: x(240)
        )
      end
      unless @document.purchaser_extra_address_line.empty?
        @pdf.text_box(
          @document.purchaser_extra_address_line,
          size: 10,
          at: [x(284), y(575) - @push_down],
          width: x(240)
        )
      end
      unless @document.purchaser_tax_id.empty?
        @pdf.text_box(
          "#{@labels[:tax_id]}:    #{@document.purchaser_tax_id}",
          size: 10,
          at: [x(284), y(550) - @push_down],
          width: x(240)
        )
      end
      unless @document.purchaser_tax_id2.empty?
        @pdf.text_box(
          "#{@labels[:tax_id2]}:    #{@document.purchaser_tax_id2}",
          size: 10,
          at: [x(284), y(535) - @push_down],
          width: x(240)
        )
      end
      @pdf.stroke_rounded_rectangle([x(274), y(670) - @push_down], x(266), y(150), 6)
    end
Build the following purchaser box:

    -------------------------------------------
   | Purchaser      Optinal purchaser sublabel|
   | PURCHASER co.                            |
   | 5th Street                               |
   | 747 27    City                           |
   |           Part of the city               |
   |                                          |
   | Identification number: Number            |
   | Identification number: Number 2          |
    ------------------------------------------