def build_provider_box
      @pdf.text_box(
        @document.provider_name,
        size: 15,
        at: [10, y(640) - @push_down],
        width: x(220)
      )
      @pdf.text_box(
        @labels[:provider],
        size: 11,
        at: [10, y(660) - @push_down],
        width: x(240)
      )
      if used? @labels[:sublabels][:provider]
        @pdf.text_box(
          @labels[:sublabels][:provider],
          size: 10,
          at: [10, y(660) - @push_down],
          width: x(246),
          align: :right
        )
      end
      @pdf.text_box(
        "#{@document.provider_street}    #{@document.provider_street_number}",
        size: 10,
        at: [10, y(620) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.provider_postcode,
        size: 10,
        at: [10, y(605) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.provider_city,
        size: 10,
        at: [60, y(605) - @push_down],
        width: x(240)
      )
      unless @document.provider_city_part.empty?
        @pdf.text_box(
          @document.provider_city_part,
          size: 10,
          at: [60, y(590) - @push_down],
          width: x(240)
        )
      end
      unless @document.provider_extra_address_line.empty?
        @pdf.text_box(
          @document.provider_extra_address_line,
          size: 10,
          at: [10, y(575) - @push_down],
          width: x(240)
        )
      end
      unless @document.provider_tax_id.empty?
        @pdf.text_box(
          "#{@labels[:tax_id]}:    #{@document.provider_tax_id}",
          size: 10,
          at: [10, y(550) - @push_down],
          width: x(240)
        )
      end
      unless @document.provider_tax_id2.empty?
        @pdf.text_box(
          "#{@labels[:tax_id2]}:    #{@document.provider_tax_id2}",
          size: 10,
          at: [10, y(535) - @push_down],
          width: x(240)
        )
      end
      @pdf.stroke_rounded_rectangle([0, y(670) - @push_down], x(266), y(150), 6)
    end
def build_provider_box
      @pdf.text_box(
        @document.provider_name,
        size: 15,
        at: [10, y(640) - @push_down],
        width: x(220)
      )
      @pdf.text_box(
        @labels[:provider],
        size: 11,
        at: [10, y(660) - @push_down],
        width: x(240)
      )
      if used? @labels[:sublabels][:provider]
        @pdf.text_box(
          @labels[:sublabels][:provider],
          size: 10,
          at: [10, y(660) - @push_down],
          width: x(246),
          align: :right
        )
      end
      @pdf.text_box(
        "#{@document.provider_street}    #{@document.provider_street_number}",
        size: 10,
        at: [10, y(620) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.provider_postcode,
        size: 10,
        at: [10, y(605) - @push_down],
        width: x(240)
      )
      @pdf.text_box(
        @document.provider_city,
        size: 10,
        at: [60, y(605) - @push_down],
        width: x(240)
      )
      unless @document.provider_city_part.empty?
        @pdf.text_box(
          @document.provider_city_part,
          size: 10,
          at: [60, y(590) - @push_down],
          width: x(240)
        )
      end
      unless @document.provider_extra_address_line.empty?
        @pdf.text_box(
          @document.provider_extra_address_line,
          size: 10,
          at: [10, y(575) - @push_down],
          width: x(240)
        )
      end
      unless @document.provider_tax_id.empty?
        @pdf.text_box(
          "#{@labels[:tax_id]}:    #{@document.provider_tax_id}",
          size: 10,
          at: [10, y(550) - @push_down],
          width: x(240)
        )
      end
      unless @document.provider_tax_id2.empty?
        @pdf.text_box(
          "#{@labels[:tax_id2]}:    #{@document.provider_tax_id2}",
          size: 10,
          at: [10, y(535) - @push_down],
          width: x(240)
        )
      end
      @pdf.stroke_rounded_rectangle([0, y(670) - @push_down], x(266), y(150), 6)
    end
Build the following provider box:

    ------------------------------------------
   | Provider        Optinal provider sublabel|
   | PROVIDER co.                             |
   | 5th Street                               |
   | 747 27    City                           |
   |           Part of the city               |
   |                                          |
   | Identification number: Number            |
   | Identification number: Number 2          |
    ------------------------------------------