# frozen_string_literal: true json.partial! 'api/invoices/invoice', invoice: @invoice